summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
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
commit96b18ccdd30a529cc52a7bd6e21e5d9b6317cae9 (patch)
tree9ed8aa28e40a38b9aac04afa735c42de790bea4a /llvm/lib/Transforms
parentcfdbfccd911ee1f94397e78406ba54db8f437558 (diff)
downloadbcm5719-llvm-96b18ccdd30a529cc52a7bd6e21e5d9b6317cae9.tar.gz
bcm5719-llvm-96b18ccdd30a529cc52a7bd6e21e5d9b6317cae9.zip
Delete a FIXME which is no longer relevant, and add a FIXME that is.
llvm-svn: 71033
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index 4365adc629f..94c9d9b4594 100644
--- a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud