diff options
author | Dan Gohman <gohman@apple.com> | 2009-08-19 18:18:36 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-08-19 18:18:36 +0000 |
commit | de0e587e63f71afb2ac53c9880c262089fe798bb (patch) | |
tree | 624e0cddf4b8c1f4a1dcbca4d0bcbf3240fa650a /lib/Transforms/IPO/InlineSimple.cpp | |
parent | 6a402dc952ccad3f8fd0d9e272dbdd261f50854e (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79440 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/InlineSimple.cpp')
0 files changed, 0 insertions, 0 deletions