projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
264ac87
)
Reapply r130340: Fix for PR9730.
author
Andrew Trick
<atrick@apple.com>
Thu, 28 Apr 2011 17:30:04 +0000
(17:30 +0000)
committer
Andrew Trick
<atrick@apple.com>
Thu, 28 Apr 2011 17:30:04 +0000
(17:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130408
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/IndVarSimplify.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/IndVarSimplify.cpp
b/lib/Transforms/Scalar/IndVarSimplify.cpp
index eebcc695907ce8387da4a0e45800de9702a9c5ae..09d569a097dddfb6f5e339183e62c0e7d8c4dbde 100644
(file)
--- a/
lib/Transforms/Scalar/IndVarSimplify.cpp
+++ b/
lib/Transforms/Scalar/IndVarSimplify.cpp
@@
-275,7
+275,7
@@
ICmpInst *IndVarSimplify::LinearFunctionTestReplace(Loop *L,
// update the branch to use the new comparison; in the common case this
// will make old comparison dead.
BI->setCondition(Cond);
-
RecursivelyDeleteTriviallyDeadInstructions
(OrigCond);
+
DeadInsts.push_back
(OrigCond);
++NumLFTR;
Changed = true;