- InstCombine (cast (xor A, B) to bool) ==> (setne A, B)
authorChris Lattner <sabre@nondot.org>
Tue, 22 Jul 2003 21:46:59 +0000 (21:46 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 22 Jul 2003 21:46:59 +0000 (21:46 +0000)
commit1ba5bcd1ae23805b41e28d3cf62a11b18b465348
tree3118f243b8a65d7369909632aab71ce87a6a7098
parenta73fede7143911085186458d8b28d52cfb26396c
  - InstCombine (cast (xor A, B) to bool) ==> (setne A, B)
  - InstCombine (cast (and X, (1 << size(X)-1)) to bool) ==> x < 0

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7241 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp