Reapply r106634, now that the bug it exposed is fixed.
[oota-llvm.git] / test / CodeGen / X86 / shift-folding.ll
index 872817fd4953d1ba1bffd59e771fbf70c12b8456..48ca36ca98136f6c7328d3d6934f3a06ab47ebc3 100644 (file)
@@ -21,3 +21,8 @@ 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
+}