InstCombine: Clean up weird code that talks about a modulus that's long gone.
authorBenjamin Kramer <benny.kra@googlemail.com>
Wed, 23 Jan 2013 17:16:22 +0000 (17:16 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Wed, 23 Jan 2013 17:16:22 +0000 (17:16 +0000)
commitcd86115d8a94e1a0c1ad93cd60963524fa297c96
tree1ab420fa525c54f74f864e495dcfb74ee636669c
parentf759526983b4f627c389af77bf69fb9d198ed26f
InstCombine: Clean up weird code that talks about a modulus that's long gone.

This does the right thing unless the multiplication overflows, but the old code
didn't handle that case either.

llvm-svn: 173276
llvm/lib/Transforms/InstCombine/InstructionCombining.cpp