OSDN Git Service

[InstSimplify] Fold gep (gep V, C), (sub 0, V) to C
authorDavid Majnemer <david.majnemer@gmail.com>
Sun, 7 Aug 2016 07:58:12 +0000 (07:58 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Sun, 7 Aug 2016 07:58:12 +0000 (07:58 +0000)
commit7428509ec4543372e28af90af1ed8e628c469745
tree077b325d636f855955b6f641177355ca92166e08
parent2a07d9fdb365a8c1f692142982b8707fa602b0a6
[InstSimplify] Fold gep (gep V, C), (sub 0, V) to C

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@277952 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/InstructionSimplify.cpp
test/Transforms/InstSimplify/compare.ll