ConstantFold: Properly fold GEP indices wider than i64
authorDavid Majnemer <david.majnemer@gmail.com>
Mon, 16 Feb 2015 19:10:02 +0000 (19:10 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Mon, 16 Feb 2015 19:10:02 +0000 (19:10 +0000)
commite6e5eaa50d128f11a8174bc8a89d880f0fbe70f4
treeefc7f1a32227866cde281cbe375cf4ac5ff0e2e4
parent25a35b5639d9a0de64d1a60f8fb3453112f04a76
ConstantFold: Properly fold GEP indices wider than i64

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229420 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/ConstantFold.cpp
test/Assembler/getelementptr.ll