OSDN Git Service

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)
commit9381dd1ac9ac8a4020cd0dd03323a26f1ae5587f
treec6abcc29d5a62af28608e2d5b7c7dbecb8294a99
parente807d1ea1e05fea895ba90dd4da8c91026ba1f29
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.

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