summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/shift-folding.ll
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-06-23 17:09:26 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-06-23 17:09:26 +0000
commitcbe762b5d165c565feb98b745e93b71d208a1e36 (patch)
tree0f6f0b75c5f50a24a09c41e4224b54fc1c4c0123 /test/CodeGen/X86/shift-folding.ll
parentf1ab49e83abccd9f7b885e74172419249bd5fd8a (diff)
downloadllvm-cbe762b5d165c565feb98b745e93b71d208a1e36.tar.gz
llvm-cbe762b5d165c565feb98b745e93b71d208a1e36.tar.bz2
llvm-cbe762b5d165c565feb98b745e93b71d208a1e36.tar.xz
Revert r106263, "Fold the ShrinkDemandedOps pass into the regular DAGCombiner pass,"... it was causing both 'file' (with clang) and 176.gcc (with llvm-gcc) to be miscompiled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106634 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/shift-folding.ll')
-rw-r--r--test/CodeGen/X86/shift-folding.ll5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/CodeGen/X86/shift-folding.ll b/test/CodeGen/X86/shift-folding.ll
index 48ca36ca98..872817fd49 100644
--- a/test/CodeGen/X86/shift-folding.ll
+++ b/test/CodeGen/X86/shift-folding.ll
@@ -21,8 +21,3 @@ define i32* @test3(i32* %P, i32 %X) {
ret i32* %P2
}
-define fastcc i32 @test4(i32* %d) nounwind {
- %tmp4 = load i32* %d
- %tmp512 = lshr i32 %tmp4, 24
- ret i32 %tmp512
-}