summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ScalarEvolution.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-08-19 18:18:36 +0000
committerDan Gohman <gohman@apple.com>2009-08-19 18:18:36 +0000
commit81ce842ecf7fcf59c4791c21c6f7a5124b5fd206 (patch)
tree65bb0a5c48301efe0cb3a5b5f159ccb3aa749da5 /llvm/lib/Analysis/ScalarEvolution.cpp
parentac33a9061dd842f6dc3f80ad69c0d97de86dd5ff (diff)
downloadbcm5719-llvm-81ce842ecf7fcf59c4791c21c6f7a5124b5fd206.tar.gz
bcm5719-llvm-81ce842ecf7fcf59c4791c21c6f7a5124b5fd206.zip
Canonicalize indices in a constantexpr GEP. If Indices exceed the
static extents of the static array type, it causes GlobalOpt and other passes to be more conservative. This canonicalization also allows the constant folder to add "inbounds" to GEPs. llvm-svn: 79440
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolution.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud