commit | 9fff2187a21f765ed87a25c48552a6942450f3e2 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Tue Jan 05 16:31:45 2010 +0000 |
committer | Dan Gohman <gohman@apple.com> | Tue Jan 05 16:31:45 2010 +0000 |
tree | 5185768d65b223ff043ef1c1f298769df0dd976f | |
parent | 321a813c536e2f1f2f05bbe78a7fbf64046f0557 [diff] [blame] |
Set Changed properly after calling DeleteDeadPHIs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92735 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp index 85f7368..fa820ed 100644 --- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@ -2723,7 +2723,7 @@ // At this point, it is worth checking to see if any recurrence PHIs are also // dead, so that we can remove them as well. - DeleteDeadPHIs(L->getHeader()); + Changed |= DeleteDeadPHIs(L->getHeader()); return Changed; }