summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopStrengthReduce
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-04-07 22:27:08 +0000
committerDan Gohman <gohman@apple.com>2010-04-07 22:27:08 +0000
commitd006ab90dd86ff3bb0a6a20dcf399b3cc7082289 (patch)
treeeeee1a8a9d4cf4811bf2d00e7fcf4ca8d6e96ebc /llvm/test/Transforms/LoopStrengthReduce
parent85ce9f4f3010c22253a5a0114e36b78a2142d016 (diff)
downloadbcm5719-llvm-d006ab90dd86ff3bb0a6a20dcf399b3cc7082289.tar.gz
bcm5719-llvm-d006ab90dd86ff3bb0a6a20dcf399b3cc7082289.zip
Generalize IVUsers to track arbitrary expressions rather than expressions
explicitly split into stride-and-offset pairs. Also, add the ability to track multiple post-increment loops on the same expression. This refines the concept of "normalizing" SCEV expressions used for to post-increment uses, and introduces a dedicated utility routine for normalizing and denormalizing expressions. This fixes the expansion of expressions which are post-increment users of more than one loop at a time. More broadly, this takes LSR another step closer to being able to reason about more than one loop at a time. llvm-svn: 100699
Diffstat (limited to 'llvm/test/Transforms/LoopStrengthReduce')
-rw-r--r--llvm/test/Transforms/LoopStrengthReduce/quadradic-exit-value.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/LoopStrengthReduce/quadradic-exit-value.ll b/llvm/test/Transforms/LoopStrengthReduce/quadradic-exit-value.ll
index 8959c177409..59f14fcd1ce 100644
--- a/llvm/test/Transforms/LoopStrengthReduce/quadradic-exit-value.ll
+++ b/llvm/test/Transforms/LoopStrengthReduce/quadradic-exit-value.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -analyze -iv-users | grep {\{1,+,3,+,2\}<%loop> (post-inc)}
+; RUN: opt < %s -analyze -iv-users | grep {\{1,+,3,+,2\}<%loop> (post-inc with loop %loop)}
; The value of %r is dependent on a polynomial iteration expression.
OpenPOWER on IntegriCloud