summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/BasicAliasAnalysis.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-03-16 21:53:05 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-03-16 21:53:05 +0000
commit3df447d3546377b85a3011dccd30038cbbfffad0 (patch)
treed46c1f8d529b2daae01784c5e23ad567ba4c9fa3 /llvm/lib/Analysis/BasicAliasAnalysis.cpp
parent20931a798eff32eaefa1e5f7e4062996bc5cd220 (diff)
downloadbcm5719-llvm-3df447d3546377b85a3011dccd30038cbbfffad0.tar.gz
bcm5719-llvm-3df447d3546377b85a3011dccd30038cbbfffad0.zip
For each loop, keep track of all the IV expressions inserted indexed by
stride. For a set of uses of the IV of a stride which is a multiple of another stride, do not insert a new IV expression. Rather, reuse the previous IV and rewrite the uses as uses of IV expression multiplied by the factor. e.g. x = 0 ...; x ++ y = 0 ...; y += 4 then use of y can be rewritten as use of 4*x for x86. llvm-svn: 26803
Diffstat (limited to 'llvm/lib/Analysis/BasicAliasAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud