Implement the following xforms:
authorChris Lattner <sabre@nondot.org>
Thu, 7 Apr 2005 17:14:51 +0000 (17:14 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 7 Apr 2005 17:14:51 +0000 (17:14 +0000)
commit7edc8c223e7a783ed837f0f6fd6033c41fd3e7a3
tree3d1975a6c8e58c85fef1c04087354809b1d5ff98
parent7c5270220197f8dcda2f872c7b0191b743bd5cf3
Implement the following xforms:
(X-Y)-X --> -Y
A + (B - A) --> B
(B - A) + A --> B

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