OSDN Git Service

Fix demanded bits analysis with srem by negative number. Based on a patch
authorNick Lewycky <nicholas@mxc.ca>
Sun, 2 Nov 2008 02:41:50 +0000 (02:41 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sun, 2 Nov 2008 02:41:50 +0000 (02:41 +0000)
commit8e39432ea9751917d5cef1f18f6c32382c384d58
tree9d162738d97b827638c42c0c8d9526395f19726a
parent21440acc06b6451ad5c0678e3f15ee08b1f1d206
Fix demanded bits analysis with srem by negative number. Based on a patch
by Richard Osborne.

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