Add more i1 optimizations. add, sub, mul, s/udiv on i1 are now simplified away.
authorNick Lewycky <nicholas@mxc.ca>
Sat, 31 May 2008 17:59:52 +0000 (17:59 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 31 May 2008 17:59:52 +0000 (17:59 +0000)
commit9419ddb2898e2ae7a0c22da63cd1a38783200d17
tree69806c667a2c562856cee19442abf72faf1793f9
parentfd12a0b20b12b0199011fb3903aa1f8ca4b387f5
Add more i1 optimizations. add, sub, mul, s/udiv on i1 are now simplified away.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51817 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/2008-05-31-Bools.ll [new file with mode: 0644]