Teach ConstantFoldInstruction() how to fold insertvalue and extractvalue.
authorFrits van Bommel <fvbommel@gmail.com>
Mon, 29 Nov 2010 20:36:52 +0000 (20:36 +0000)
committerFrits van Bommel <fvbommel@gmail.com>
Mon, 29 Nov 2010 20:36:52 +0000 (20:36 +0000)
commit3ee0af35842999c1781052fe74fdcb19997de950
treef12d8cc7508c40d9fbd707d252b451b97ace43c6
parent53ca1f3190680f3e86aebe0f72f7918d63f71e0d
Teach ConstantFoldInstruction() how to fold insertvalue and extractvalue.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120316 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ConstantFolding.cpp
test/Transforms/ConstProp/extractvalue.ll [new file with mode: 0644]
test/Transforms/ConstProp/insertvalue.ll [new file with mode: 0644]