aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/fast-isel-shifter.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/PowerPC/fast-isel-shifter.ll')
-rw-r--r--test/CodeGen/PowerPC/fast-isel-shifter.ll50
1 files changed, 0 insertions, 50 deletions
diff --git a/test/CodeGen/PowerPC/fast-isel-shifter.ll b/test/CodeGen/PowerPC/fast-isel-shifter.ll
deleted file mode 100644
index 04cb41920605..000000000000
--- a/test/CodeGen/PowerPC/fast-isel-shifter.ll
+++ /dev/null
@@ -1,50 +0,0 @@
-; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort=1 -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 | FileCheck %s --check-prefix=ELF64
-
-define i32 @shl() nounwind {
-entry:
-; ELF64: shl
-; ELF64: slw
- %shl = shl i32 -1, 2
- ret i32 %shl
-}
-
-define i32 @shl_reg(i32 %src1, i32 %src2) nounwind {
-entry:
-; ELF64: shl_reg
-; ELF64: slw
- %shl = shl i32 %src1, %src2
- ret i32 %shl
-}
-
-define i32 @lshr() nounwind {
-entry:
-; ELF64: lshr
-; ELF64: srw
- %lshr = lshr i32 -1, 2
- ret i32 %lshr
-}
-
-define i32 @lshr_reg(i32 %src1, i32 %src2) nounwind {
-entry:
-; ELF64: lshr_reg
-; ELF64: srw
- %lshr = lshr i32 %src1, %src2
- ret i32 %lshr
-}
-
-define i32 @ashr() nounwind {
-entry:
-; ELF64: ashr
-; ELF64: srawi
- %ashr = ashr i32 -1, 2
- ret i32 %ashr
-}
-
-define i32 @ashr_reg(i32 %src1, i32 %src2) nounwind {
-entry:
-; ELF64: ashr_reg
-; ELF64: sraw
- %ashr = ashr i32 %src1, %src2
- ret i32 %ashr
-}
-