Add the select optimization recently added to instcombine to constant folding.
authorNick Lewycky <nicholas@mxc.ca>
Sat, 29 Jan 2011 20:35:06 +0000 (20:35 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 29 Jan 2011 20:35:06 +0000 (20:35 +0000)
commit175e7aec1347be3469b0838e5380d424228aa48f
treecc708cb1dead7db7ceeefa74140fabb5091bbc4a
parent337c0811381a48b75aec204d96090779fec6606e
Add the select optimization recently added to instcombine to constant folding.
This is the one where one of the branches of the select is another select on
the same condition.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124547 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/ConstantFold.cpp
test/Transforms/ConstProp/constant-expr.ll