aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/pr32063.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/PowerPC/pr32063.ll')
-rw-r--r--test/CodeGen/PowerPC/pr32063.ll16
1 files changed, 0 insertions, 16 deletions
diff --git a/test/CodeGen/PowerPC/pr32063.ll b/test/CodeGen/PowerPC/pr32063.ll
deleted file mode 100644
index f031ec83c55e..000000000000
--- a/test/CodeGen/PowerPC/pr32063.ll
+++ /dev/null
@@ -1,16 +0,0 @@
-; RUN: llc -O2 < %s | FileCheck %s
-target triple = "powerpc64le-linux-gnu"
-
-define void @foo(i32 %v, i16* %p) {
- %1 = and i32 %v, -65536
- %2 = tail call i32 @llvm.bswap.i32(i32 %1)
- %conv = trunc i32 %2 to i16
- store i16 %conv, i16* %p
- ret void
-
-; CHECK: srwi
-; CHECK: sthbrx
-; CHECK-NOT: stwbrx
-}
-
-declare i32 @llvm.bswap.i32(i32)