OSDN Git Service

Revert "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:52:29 +0000 (17:52 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Wed, 23 Jan 2013 17:52:29 +0000 (17:52 +0000)
commit028dba376ae90c82b44d72ddb3ed97849484aab4
tree246dadac34a931c70c8df74e41171d9f5aeff88f
parent9381dd1ac9ac8a4020cd0dd03323a26f1ae5587f
Revert "InstCombine: Clean up weird code that talks about a modulus that's long gone."

This causes crashes during the build of compiler-rt during selfhost. Add a
testcase for coverage.

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