aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/Thumb2/bfx.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Thumb2/bfx.ll')
-rw-r--r--test/CodeGen/Thumb2/bfx.ll28
1 files changed, 0 insertions, 28 deletions
diff --git a/test/CodeGen/Thumb2/bfx.ll b/test/CodeGen/Thumb2/bfx.ll
deleted file mode 100644
index 9bd8d70275b9..000000000000
--- a/test/CodeGen/Thumb2/bfx.ll
+++ /dev/null
@@ -1,28 +0,0 @@
-; RUN: llc -mtriple=thumb-eabi -mcpu=arm1156t2-s -mattr=+thumb2 %s -o - | FileCheck %s
-
-define i32 @sbfx1(i32 %a) {
-; CHECK: sbfx1
-; CHECK: sbfx r0, r0, #7, #11
- %t1 = lshr i32 %a, 7
- %t2 = trunc i32 %t1 to i11
- %t3 = sext i11 %t2 to i32
- ret i32 %t3
-}
-
-define i32 @ubfx1(i32 %a) {
-; CHECK: ubfx1
-; CHECK: ubfx r0, r0, #7, #11
- %t1 = lshr i32 %a, 7
- %t2 = trunc i32 %t1 to i11
- %t3 = zext i11 %t2 to i32
- ret i32 %t3
-}
-
-define i32 @ubfx2(i32 %a) {
-; CHECK: ubfx2
-; CHECK: ubfx r0, r0, #7, #11
- %t1 = lshr i32 %a, 7
- %t2 = and i32 %t1, 2047
- ret i32 %t2
-}
-