PR9346: Prevent SimplifyDemandedBits from incorrectly introducing
authorEli Friedman <eli.friedman@gmail.com>
Wed, 9 Mar 2011 01:28:35 +0000 (01:28 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Wed, 9 Mar 2011 01:28:35 +0000 (01:28 +0000)
commitc6b018b7379f4e1bcc4166a07b17d08180ed776d
tree83069a23e90ca116b1631b7fd8c57d2af1e7cfd4
parentd7f3e7d046ab0d4caad5237c9e49d22e5b0faf34
PR9346: Prevent SimplifyDemandedBits from incorrectly introducing
INT_MIN % -1.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127306 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
test/Transforms/InstCombine/2011-03-08-SRemMinusOneBadOpt.ll [new file with mode: 0644]