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:
7d221c5
)
Disable a previous patch that was causing indvars to loop infinitely :(
author
Chris Lattner
<sabre@nondot.org>
Thu, 22 Apr 2004 15:12:36 +0000
(15:12 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 22 Apr 2004 15:12:36 +0000
(15:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13108
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 6ffe80a74f74159b80149943b8f188907b721ef9..d452ca1e1805179e55b1582049002f6b9c89d218 100644
(file)
--- a/
lib/Transforms/Scalar/IndVarSimplify.cpp
+++ b/
lib/Transforms/Scalar/IndVarSimplify.cpp
@@
-454,6
+454,7
@@
void IndVarSimplify::runOnLoop(Loop *L) {
Changed = true;
}
+#if 0
// Now replace all derived expressions in the loop body with simpler
// expressions.
for (unsigned i = 0, e = L->getBlocks().size(); i != e; ++i)
@@
-478,6
+479,7
@@
void IndVarSimplify::runOnLoop(Loop *L) {
}
}
}
+#endif
DeleteTriviallyDeadInstructions(DeadInsts);
}