Add a couple of missed optimizations on integer vectors. Multiply and divide
authorNick Lewycky <nicholas@mxc.ca>
Thu, 27 Nov 2008 20:21:08 +0000 (20:21 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Thu, 27 Nov 2008 20:21:08 +0000 (20:21 +0000)
commit895f085385ab94876a6ebe34909a3f6ecad384aa
treed47c5b46a98115bb044c024808c25db2bb79e1ef
parent9918fb5631974f2201a640384b7ebe672c749e43
Add a couple of missed optimizations on integer vectors. Multiply and divide
by 1, as well as multiply by -1.

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