Fold select + select where both selects are on the same condition.
authorNick Lewycky <nicholas@mxc.ca>
Fri, 28 Jan 2011 03:28:10 +0000 (03:28 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Fri, 28 Jan 2011 03:28:10 +0000 (03:28 +0000)
commitdf3bfae1515c826804754616b989b18630fc4d93
tree76656409f00a66862e87a7597f2841da00825355
parent1ffb5336999b327384752b0f60ad0c4cb4cb8946
Fold select + select where both selects are on the same condition.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124469 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineSelect.cpp
test/Transforms/InstCombine/select.ll