Fix for PR3225: disable a broken optimization in
authorEli Friedman <eli.friedman@gmail.com>
Wed, 17 Dec 2008 03:35:17 +0000 (03:35 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Wed, 17 Dec 2008 03:35:17 +0000 (03:35 +0000)
commit28dc98f7521933872b93156e3ebf5c9f8327b2b3
tree13fc73e52fccdbe7506aeda590b5ebec9a32bd88
parent2d0484c02cc99e30f320dec376b102ad7a961904
Fix for PR3225: disable a broken optimization in
DAGTypeLegalizer::ExpandShiftWithKnownAmountBit.

In terms of restoring the optimization, the best fix here isn't
obvious... any ideas?

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61119 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
test/CodeGen/X86/2008-12-16-BadShift.ll [new file with mode: 0644]