aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/LoopStrengthReduce.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-05-18 23:55:57 +0000
committerDan Gohman <gohman@apple.com>2010-05-18 23:55:57 +0000
commit57aaa0b264d9d23d9a14235334b15d4117e32a3b (patch)
treed7e406dbd0ce34791e8c048f6e644623a7bc4791 /lib/Transforms/Scalar/LoopStrengthReduce.cpp
parent360026f07fcf35eee9fcfbf7b9c1afda41d4b148 (diff)
Add a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104089 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LoopStrengthReduce.cpp')
-rw-r--r--lib/Transforms/Scalar/LoopStrengthReduce.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index 921f0b9638..bd7cc45901 100644
--- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@ -2679,6 +2679,7 @@ void LSRInstance::FilterOutUndesirableDedicatedRegisters() {
}
}
+ // Now that we've filtered out some formulae, recompute the Regs set.
if (Any)
LU.RecomputeRegs(LUIdx, RegUses);