(A & sext(C)) | (B & ~sext(C) -> C ? A : B
authorDan Gohman <gohman@apple.com>
Tue, 28 Oct 2008 22:38:57 +0000 (22:38 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 28 Oct 2008 22:38:57 +0000 (22:38 +0000)
commitb493b2774c23dfb83fa0279718083f686b7c9e5e
tree0fe8d5040bab494f2413bde5afb40080a830fb75
parent2275105edbee89df8f5a68655ee75c9a5f169dbb
(A & sext(C)) | (B & ~sext(C)  ->  C ? A : B

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58351 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/logical-select.ll [new file with mode: 0644]