When checking that the necessary bits are zero in
authorDale Johannesen <dalej@apple.com>
Wed, 10 Nov 2010 01:30:56 +0000 (01:30 +0000)
committerDale Johannesen <dalej@apple.com>
Wed, 10 Nov 2010 01:30:56 +0000 (01:30 +0000)
commit201ab3acff18c0470950d43495419185e8a7afd3
tree9c9266ad515f515b87c8797bf62c43cb0fbb0fb1
parent8ea974039a8811ff83ad2c45ec1037ac78e5afab
When checking that the necessary bits are zero in
order to reduce ((x<<30)>>24) to x<<6, check the
correct bits.  PR 8547.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118665 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineShifts.cpp
test/Transforms/InstCombine/pr8547.ll [new file with mode: 0644]