aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Scalar/LoopPredication.cpp
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2019-03-29 23:10:01 +0000
committerPhilip Reames <listmail@philipreames.com>2019-03-29 23:10:01 +0000
commitb55637b5d76c6f7aa5aea4bfbd2bc832f9e68ec8 (patch)
tree3f17810de1c755425703d6f80c75de1127fb1ea9 /llvm/lib/Transforms/Scalar/LoopPredication.cpp
parent3d4e1082375801739b6798923b82a63dc1581314 (diff)
downloadllvm-b55637b5d76c6f7aa5aea4bfbd2bc832f9e68ec8.zip
llvm-b55637b5d76c6f7aa5aea4bfbd2bc832f9e68ec8.tar.gz
llvm-b55637b5d76c6f7aa5aea4bfbd2bc832f9e68ec8.tar.bz2
[LoopPredication] Remove stale TODO
llvm-svn: 357331
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopPredication.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/LoopPredication.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopPredication.cpp b/llvm/lib/Transforms/Scalar/LoopPredication.cpp
index 250f6e2..7695889 100644
--- a/llvm/lib/Transforms/Scalar/LoopPredication.cpp
+++ b/llvm/lib/Transforms/Scalar/LoopPredication.cpp
@@ -390,8 +390,6 @@ Value *LoopPredication::expandCheck(SCEVExpander &Expander,
IRBuilder<> &Builder,
ICmpInst::Predicate Pred, const SCEV *LHS,
const SCEV *RHS) {
- // TODO: we can check isLoopEntryGuardedByCond before emitting the check
-
Type *Ty = LHS->getType();
assert(Ty == RHS->getType() && "expandCheck operands have different types?");