summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-02-23 16:35:41 +0000
committerDan Gohman <gohman@apple.com>2010-02-23 16:35:41 +0000
commit8a0eb36d2386222e9b33aff3094e80ab8981c609 (patch)
treeed1ad5e2d8219d777c12c86dbf7d50d1ddf0653e /llvm/lib/Transforms
parent26a18ca97fff86b0139ce765150d2db3862bbca4 (diff)
downloadbcm5719-llvm-8a0eb36d2386222e9b33aff3094e80ab8981c609.tar.gz
bcm5719-llvm-8a0eb36d2386222e9b33aff3094e80ab8981c609.zip
Remove the code which constant-folded ptrtoint(inttoptr(x)+c) to
getelementptr. Despite only doing so in the case where x is a known array object and c can be converted to an index within range, this could still be invalid if c is actually the address of an object allocated outside of LLVM. Also, SCEVExpander, the original motivation for this code, has since been improved to avoid inttoptr+ptroint in more cases. llvm-svn: 96950
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud