OSDN Git Service

[InstSimplify] Constant fold the new GEP in SimplifyGEPInst.
authorJoey Gouly <joey.gouly@gmail.com>
Tue, 6 Jun 2017 10:17:14 +0000 (10:17 +0000)
committerJoey Gouly <joey.gouly@gmail.com>
Tue, 6 Jun 2017 10:17:14 +0000 (10:17 +0000)
commit4d04e9b25ec79e49241beeca3acbc6cbca0e37a4
tree7438aa260fa5a1fc449fca90344671c3e2bfd324
parentbac91bf18cabe70b62f098e7bee0bac0701eb0df
[InstSimplify] Constant fold the new GEP in SimplifyGEPInst.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304784 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/InstructionSimplify.cpp
test/Analysis/ConstantFolding/gep-constanfolding-error.ll
test/Transforms/InstSimplify/compare.ll
test/Transforms/InstSimplify/simplify-nested-bitcast.ll [new file with mode: 0644]
test/Transforms/InstSimplify/vector_gep.ll
test/Transforms/NewGVN/completeness.ll
test/Transforms/NewGVN/loadforward.ll