diff options
author | Dan Gohman <gohman@apple.com> | 2010-05-20 19:16:03 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-05-20 19:16:03 +0000 |
commit | 96eab79c4324f78faeb5c27349f94bf9b5eac38f (patch) | |
tree | a49da6c191e1c9e99ee96b20dd0922a86bdd6ac8 /lib | |
parent | cd182e19d1886d837407e6811187db30e88aa118 (diff) | |
download | external_llvm-96eab79c4324f78faeb5c27349f94bf9b5eac38f.zip external_llvm-96eab79c4324f78faeb5c27349f94bf9b5eac38f.tar.gz external_llvm-96eab79c4324f78faeb5c27349f94bf9b5eac38f.tar.bz2 |
Set Changed to true when canonicalizing ICmp operand order; even though
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Transforms/Scalar/LoopStrengthReduce.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp index 15751aa..f5e9d9f 100644 --- 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 |