Transform X-(X+Y) == -Y and X-(Y+X) == -Y
authorChris Lattner <sabre@nondot.org>
Thu, 7 Apr 2005 16:15:25 +0000 (16:15 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 7 Apr 2005 16:15:25 +0000 (16:15 +0000)
commit43d84d6b71cc8ed5b08c22e54f5d1fc263919380
tree986256925a7384c6db1ff4635daee5ec42bc50ac
parent273a1f956f5bb58955515601d90279bf4c031fc6
Transform X-(X+Y) == -Y and X-(Y+X) == -Y

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