aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar/LoopStrengthReduce.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-05-05 22:59:55 +0000
committerDan Gohman <gohman@apple.com>2009-05-05 22:59:55 +0000
commit4221ae84ef45c2099cbb7a61625e8260f37df275 (patch)
tree9ae2d1b2259817bbd78a2b33c0f4b798052aa8ab /lib/Transforms/Scalar/LoopStrengthReduce.cpp
parent8f18edd8b6fe00209314f4c56f33d7c3c18bbbff (diff)
downloadexternal_llvm-4221ae84ef45c2099cbb7a61625e8260f37df275.zip
external_llvm-4221ae84ef45c2099cbb7a61625e8260f37df275.tar.gz
external_llvm-4221ae84ef45c2099cbb7a61625e8260f37df275.tar.bz2
Delete a FIXME which is no longer relevant, and add a FIXME that is.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71033 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LoopStrengthReduce.cpp')
-rw-r--r--lib/Transforms/Scalar/LoopStrengthReduce.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index 4365adc..94c9d9b 100644
--- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@ -2464,8 +2464,9 @@ bool LoopStrengthReduce::runOnLoop(Loop *L, LPPassManager &LPM) {
// computation of some other indvar to decide when to terminate the loop.
OptimizeIndvars(L);
- // FIXME: We can widen subreg IV's here for RISC targets. e.g. instead of
- // doing computation in byte values, promote to 32-bit values if safe.
+ // FIXME: We can widen overlarge IV's here. e.g. if the code has
+ // computation in i64 values and the target doesn't support i64, demote
+ // the computation to 32-bit if safe.
// FIXME: Attempt to reuse values across multiple IV's. In particular, we
// could have something like "for(i) { foo(i*8); bar(i*16) }", which should