Implement new transforms:
authorChris Lattner <sabre@nondot.org>
Mon, 23 Jun 2003 21:59:52 +0000 (21:59 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 23 Jun 2003 21:59:52 +0000 (21:59 +0000)
commit79d35b3f8bacb785378feeb81a489c96bfc31f6c
tree3a5d19f7f60c54f1099a4cc870c814924ba2e960
parent8c1ab94bae7512f87807c7e8553332d1aa9d5a4a
Implement new transforms:
  Replace (cast (sub A, B) to bool) -> (setne A, B)
  Replace (cast (add A, B) to bool) -> (setne A, -B)

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