summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2017-07-20 11:36:03 +0000
committerDiana Picus <diana.picus@linaro.org>2017-07-20 11:36:03 +0000
commit7534b2829136088074001451302f0365228a7ee5 (patch)
treece48b1d7b4d85dad91e3f96a4bad10d14bedc8b1 /llvm/test/CodeGen
parent2911296f10c9bd6fb1a5419ea021c06cd4bb448d (diff)
downloadbcm5719-llvm-7534b2829136088074001451302f0365228a7ee5.tar.gz
bcm5719-llvm-7534b2829136088074001451302f0365228a7ee5.zip
Revert "GlobalISel: select G_EXTRACT and G_INSERT instructions on AArch64."
This reverts commit 36c6a2ea9669bc3bb695928529a85d12d1d3e3f9 because it broke the test-suite on the GlobalISel bot. llvm-svn: 308603
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/AArch64/GlobalISel/select-insert-extract.mir54
1 files changed, 0 insertions, 54 deletions
diff --git a/llvm/test/CodeGen/AArch64/GlobalISel/select-insert-extract.mir b/llvm/test/CodeGen/AArch64/GlobalISel/select-insert-extract.mir
deleted file mode 100644
index e88e151bd24..00000000000
--- a/llvm/test/CodeGen/AArch64/GlobalISel/select-insert-extract.mir
+++ /dev/null
@@ -1,54 +0,0 @@
-# RUN: llc -mtriple=aarch64-- -run-pass=instruction-select -verify-machineinstrs -global-isel %s -o - | FileCheck %s
-
----
-# CHECK-LABEL: name: insert_gprs
-name: insert_gprs
-legalized: true
-regBankSelected: true
-
-body: |
- bb.0:
- liveins: %x0
-
- %0:gpr(s32) = COPY %w0
-
- %1:gpr(s64) = G_IMPLICIT_DEF
-
- ; CHECK: body:
- ; CHECK: [[TMP:%[0-9]+]] = SUBREG_TO_REG 0, %0, 15
- ; CHECK: %2 = BFMXri %1, [[TMP]], 0, 31
- %2:gpr(s64) = G_INSERT %1, %0, 0
-
- ; CHECK: [[TMP:%[0-9]+]] = SUBREG_TO_REG 0, %0, 15
- ; CHECK: %3 = BFMXri %1, [[TMP]], 51, 31
- %3:gpr(s64) = G_INSERT %1, %0, 13
-
- %x0 = COPY %2
- %x1 = COPY %3
-...
-
-
----
-# CHECK-LABEL: name: extract_gprs
-name: extract_gprs
-legalized: true
-regBankSelected: true
-
-body: |
- bb.0:
- liveins: %x0
-
- %0:gpr(s64) = COPY %x0
-
- ; CHECK: body:
- ; CHECK: [[TMP:%[0-9]+]] = UBFMXri %0, 0, 31
- ; CHECK: %1 = COPY [[TMP]].sub_32
- %1:gpr(s32) = G_EXTRACT %0, 0
-
- ; CHECK: [[TMP:%[0-9]+]] = UBFMXri %0, 13, 44
- ; CHECK: %2 = COPY [[TMP]].sub_32
- %2:gpr(s32) = G_EXTRACT %0, 13
-
- %w0 = COPY %1
- %w1 = COPY %2
-...
OpenPOWER on IntegriCloud