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:
63b8845
)
Set Changed to true when canonicalizing ICmp operand order; even though
author
Dan Gohman
<gohman@apple.com>
Thu, 20 May 2010 19:16:03 +0000
(19:16 +0000)
committer
Dan Gohman
<gohman@apple.com>
Thu, 20 May 2010 19:16:03 +0000
(19:16 +0000)
it isn't a very interesting change, it's a change nonetheless.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104260
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/LoopStrengthReduce.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/LoopStrengthReduce.cpp
b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index 15751aaa7149f7085176402a6920ef8ba1904764..f5e9d9fb33efc020d748d62944d5c801c892a8f7 100644
(file)
--- a/
lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/
lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@
-1997,6
+1997,7
@@
void LSRInstance::CollectFixupsAndInitialFormulae() {
if (NV == LF.OperandValToReplace) {
CI->setOperand(1, CI->getOperand(0));
CI->setOperand(0, NV);
+ Changed = true;
}
// x == y --> x - y == 0