fix logical-select to invoke filecheck right, and fix hte instcombine
authorChris Lattner <sabre@nondot.org>
Fri, 5 Feb 2010 19:53:02 +0000 (19:53 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 5 Feb 2010 19:53:02 +0000 (19:53 +0000)
commit74529826a70546d71c6558e9a3917244a87acfe9
tree40781a35873a4b901835fb705b958b974fc8c6f9
parent82ed17eb472102cb6711b832183ee4816ad9a656
fix logical-select to invoke filecheck right, and fix hte instcombine
xform it is checking to actually pass.  There is no need to match
m_SelectCst<0, -1> since instcombine canonicalizes that into not(sext).

Add matches for sext(not(x)) in addition to not(sext(x)).

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