projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Lift the speculation visitor above all the helpers that are targeted at
[oota-llvm.git]
/
lib
/
Transforms
/
Scalar
/
LoopInstSimplify.cpp
diff --git
a/lib/Transforms/Scalar/LoopInstSimplify.cpp
b/lib/Transforms/Scalar/LoopInstSimplify.cpp
index 982400c5a3873adb4f99478f4819375ed0e068c7..f5daa7b44eb497fd0d73ac77b5756be15261a850 100644
(file)
--- a/
lib/Transforms/Scalar/LoopInstSimplify.cpp
+++ b/
lib/Transforms/Scalar/LoopInstSimplify.cpp
@@
-120,7
+120,7
@@
bool LoopInstSimplify::runOnLoop(Loop *L, LPPassManager &LPM) {
++NumSimplified;
}
}
- LocalChanged |= RecursivelyDeleteTriviallyDeadInstructions(I);
+ LocalChanged |= RecursivelyDeleteTriviallyDeadInstructions(I
, TLI
);
if (IsSubloopHeader && !isa<PHINode>(I))
break;