[llvm] r357331 - [LoopPredication] Remove stale TODO
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 29 16:10:01 PDT 2019
Author: reames
Date: Fri Mar 29 16:10:01 2019
New Revision: 357331
URL: http://llvm.org/viewvc/llvm-project?rev=357331&view=rev
Log:
[LoopPredication] Remove stale TODO
Modified:
llvm/trunk/lib/Transforms/Scalar/LoopPredication.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/LoopPredication.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopPredication.cpp?rev=357331&r1=357330&r2=357331&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopPredication.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopPredication.cpp Fri Mar 29 16:10:01 2019
@@ -390,8 +390,6 @@ Value *LoopPredication::expandCheck(SCEV
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?");
More information about the llvm-commits
mailing list