OSDN Git Service

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)
commitb63001c6d6b1c538154128346e0b5dbf0ab9dfb8
tree9c9266ad515f515b87c8797bf62c43cb0fbb0fb1
parentd4c610f4dd6945d2e718fdf21e8259e49fe700fd
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]