Make constant folding for GEPs a bit more aggressive.
authorEli Friedman <eli.friedman@gmail.com>
Thu, 15 Dec 2011 04:33:48 +0000 (04:33 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Thu, 15 Dec 2011 04:33:48 +0000 (04:33 +0000)
commitadeb0a6e64c5a63e891e016226645f9595d00959
tree81da09ffb7b6ca34fa001aac96be0147e42058cd
parentca072a39778933df4264ae393bd0ca797db59df6
Make constant folding for GEPs a bit more aggressive.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146639 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/ConstantFold.cpp
test/Other/constant-fold-gep.ll