Compile X + ~X to -1. This implements Instcombine/add.ll:test34
authorChris Lattner <sabre@nondot.org>
Fri, 5 Jan 2007 02:17:46 +0000 (02:17 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 5 Jan 2007 02:17:46 +0000 (02:17 +0000)
commite617c9ed5dd374b05c312e411857c74e9b458aa0
tree3c624870799fc47b982ecb385a8ab68872b1654c
parent0a2c88dafc70ec58dba50e419d4f1e15bcc1f097
Compile X + ~X to -1.  This implements Instcombine/add.ll:test34

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