summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/shift-folding.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/shift-folding.ll')
-rw-r--r--llvm/test/CodeGen/X86/shift-folding.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/shift-folding.ll b/llvm/test/CodeGen/X86/shift-folding.ll
index 872817fd495..48ca36ca981 100644
--- a/llvm/test/CodeGen/X86/shift-folding.ll
+++ b/llvm/test/CodeGen/X86/shift-folding.ll
@@ -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
+}
OpenPOWER on IntegriCloud