Make all the vector elements positive in an srem of constant vector.
authorNick Lewycky <nicholas@mxc.ca>
Thu, 18 Dec 2008 06:31:11 +0000 (06:31 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Thu, 18 Dec 2008 06:31:11 +0000 (06:31 +0000)
commit2a8f6597a3814e82e7b202e557541410c9282c33
tree6ab8d7898b866eb46cb52b52a9d3196597762514
parent31535f1f04853974ec53dfc61d90e8dc4a09b456
Make all the vector elements positive in an srem of constant vector.

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