Implement instcombine optimizations:
authorChris Lattner <sabre@nondot.org>
Wed, 13 Aug 2003 20:16:26 +0000 (20:16 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 13 Aug 2003 20:16:26 +0000 (20:16 +0000)
commitaa9c1f13a173abd8afc56b95afa9c9058a4ddc59
tree6e2c11d34b7a382bd006bdbcee6932f2365daf79
parentb5dbd9a798e4880b1649e6b5566c92473282c8df
Implement instcombine optimizations:
   (A <setcc1> B) logicalop (A <setcc2> B)  -> (A <setcc3> B) or true or false

Where setcc[123] is one of the 6 setcc instructions, and logicalop is one of: And, Or, Xor

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