Revert r155136 "Defer some shl transforms to DAGCombine."
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 20 Apr 2012 00:38:45 +0000 (00:38 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 20 Apr 2012 00:38:45 +0000 (00:38 +0000)
commiteece9dc81cedf0cda5c356c180f60d91c99920fc
tree9e8581cf7f5da30f274c65bbcb4f0f94c3f9dd44
parent181b14797518e714e1b6112db849ca53192b8f23
Revert r155136 "Defer some shl transforms to DAGCombine."

While the patch was perfect and defect free, it exposed a really nasty
bug in X86 SelectionDAG that caused an llc crash when compiling lencod.

I'll put the patch back in after fixing the SelectionDAG problem.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155181 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineShifts.cpp
test/Transforms/InstCombine/2010-11-01-lshr-mask.ll
test/Transforms/InstCombine/apint-shift.ll
test/Transforms/InstCombine/cast.ll
test/Transforms/InstCombine/shift.ll
test/Transforms/PhaseOrdering/basic.ll
test/Transforms/PhaseOrdering/scev.ll [deleted file]