aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/SystemZ/04-RetShifts.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2011-10-24 23:48:32 +0000
committerStephen Hines <srhines@google.com>2011-11-14 09:11:10 -0800
commit062c27f15f8129d783ae8f2fe9b86c2f2ee71a4b (patch)
tree48e1d19c027fd38c0a7be64dc53d7e361006034a /test/CodeGen/SystemZ/04-RetShifts.ll
parent6612871ef6b50ff9aec353d155d0fb17627a4806 (diff)
downloadexternal_llvm-062c27f15f8129d783ae8f2fe9b86c2f2ee71a4b.zip
external_llvm-062c27f15f8129d783ae8f2fe9b86c2f2ee71a4b.tar.gz
external_llvm-062c27f15f8129d783ae8f2fe9b86c2f2ee71a4b.tar.bz2
Remove the SystemZ backend.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142878 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/SystemZ/04-RetShifts.ll')
-rw-r--r--test/CodeGen/SystemZ/04-RetShifts.ll121
1 files changed, 0 insertions, 121 deletions
diff --git a/test/CodeGen/SystemZ/04-RetShifts.ll b/test/CodeGen/SystemZ/04-RetShifts.ll
deleted file mode 100644
index cccdc47..0000000
--- a/test/CodeGen/SystemZ/04-RetShifts.ll
+++ /dev/null
@@ -1,121 +0,0 @@
-; RUN: llc < %s -march=systemz | grep sra | count 6
-; RUN: llc < %s -march=systemz | grep srag | count 3
-; RUN: llc < %s -march=systemz | grep srl | count 6
-; RUN: llc < %s -march=systemz | grep srlg | count 3
-; RUN: llc < %s -march=systemz | grep sll | count 6
-; RUN: llc < %s -march=systemz | grep sllg | count 3
-
-define signext i32 @foo1(i32 %a, i32 %idx) nounwind readnone {
-entry:
- %add = add i32 %idx, 1 ; <i32> [#uses=1]
- %shr = ashr i32 %a, %add ; <i32> [#uses=1]
- ret i32 %shr
-}
-
-define signext i32 @foo2(i32 %a, i32 %idx) nounwind readnone {
-entry:
- %add = add i32 %idx, 1 ; <i32> [#uses=1]
- %shr = shl i32 %a, %add ; <i32> [#uses=1]
- ret i32 %shr
-}
-
-define signext i32 @foo3(i32 %a, i32 %idx) nounwind readnone {
-entry:
- %add = add i32 %idx, 1 ; <i32> [#uses=1]
- %shr = lshr i32 %a, %add ; <i32> [#uses=1]
- ret i32 %shr
-}
-
-define signext i64 @foo4(i64 %a, i64 %idx) nounwind readnone {
-entry:
- %add = add i64 %idx, 1 ; <i64> [#uses=1]
- %shr = ashr i64 %a, %add ; <i64> [#uses=1]
- ret i64 %shr
-}
-
-define signext i64 @foo5(i64 %a, i64 %idx) nounwind readnone {
-entry:
- %add = add i64 %idx, 1 ; <i64> [#uses=1]
- %shr = shl i64 %a, %add ; <i64> [#uses=1]
- ret i64 %shr
-}
-
-define signext i64 @foo6(i64 %a, i64 %idx) nounwind readnone {
-entry:
- %add = add i64 %idx, 1 ; <i64> [#uses=1]
- %shr = lshr i64 %a, %add ; <i64> [#uses=1]
- ret i64 %shr
-}
-
-define signext i32 @foo7(i32 %a, i32 %idx) nounwind readnone {
-entry:
- %shr = ashr i32 %a, 1
- ret i32 %shr
-}
-
-define signext i32 @foo8(i32 %a, i32 %idx) nounwind readnone {
-entry:
- %shr = shl i32 %a, 1
- ret i32 %shr
-}
-
-define signext i32 @foo9(i32 %a, i32 %idx) nounwind readnone {
-entry:
- %shr = lshr i32 %a, 1
- ret i32 %shr
-}
-
-define signext i32 @foo10(i32 %a, i32 %idx) nounwind readnone {
-entry:
- %shr = ashr i32 %a, %idx
- ret i32 %shr
-}
-
-define signext i32 @foo11(i32 %a, i32 %idx) nounwind readnone {
-entry:
- %shr = shl i32 %a, %idx
- ret i32 %shr
-}
-
-define signext i32 @foo12(i32 %a, i32 %idx) nounwind readnone {
-entry:
- %shr = lshr i32 %a, %idx
- ret i32 %shr
-}
-
-define signext i64 @foo13(i64 %a, i64 %idx) nounwind readnone {
-entry:
- %shr = ashr i64 %a, 1
- ret i64 %shr
-}
-
-define signext i64 @foo14(i64 %a, i64 %idx) nounwind readnone {
-entry:
- %shr = shl i64 %a, 1
- ret i64 %shr
-}
-
-define signext i64 @foo15(i64 %a, i64 %idx) nounwind readnone {
-entry:
- %shr = lshr i64 %a, 1
- ret i64 %shr
-}
-
-define signext i64 @foo16(i64 %a, i64 %idx) nounwind readnone {
-entry:
- %shr = ashr i64 %a, %idx
- ret i64 %shr
-}
-
-define signext i64 @foo17(i64 %a, i64 %idx) nounwind readnone {
-entry:
- %shr = shl i64 %a, %idx
- ret i64 %shr
-}
-
-define signext i64 @foo18(i64 %a, i64 %idx) nounwind readnone {
-entry:
- %shr = lshr i64 %a, %idx
- ret i64 %shr
-}
-