summaryrefslogtreecommitdiff
path: root/test/CodeGen/AArch64/literal_pools.ll
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2013-10-09 07:53:57 +0000
committerTim Northover <tnorthover@apple.com>2013-10-09 07:53:57 +0000
commitd29bae8bc9b393a24c7f3a1812b88763505eda11 (patch)
tree4e93eb9cb787689b90f38bbe511d0fa51aedf890 /test/CodeGen/AArch64/literal_pools.ll
parentccb06ae8f3ef0135d4bddf4f0f61f619c3ce3f1e (diff)
downloadllvm-d29bae8bc9b393a24c7f3a1812b88763505eda11.tar.gz
llvm-d29bae8bc9b393a24c7f3a1812b88763505eda11.tar.bz2
llvm-d29bae8bc9b393a24c7f3a1812b88763505eda11.tar.xz
AArch64: enable MISched by default.
Substantial SelectionDAG scheduling is going away soon, and is interfering with Hao's attempts to implement LDn/STn instructions, so I say we make the leap first. There were a few reorderings (inevitably) which broke some tests. I tried to replace them with CHECK-DAG variants mostly, but some too complex for that to be useful and I just reordered them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192282 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/AArch64/literal_pools.ll')
-rw-r--r--test/CodeGen/AArch64/literal_pools.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/AArch64/literal_pools.ll b/test/CodeGen/AArch64/literal_pools.ll
index b82f29046d..fb45416ead 100644
--- a/test/CodeGen/AArch64/literal_pools.ll
+++ b/test/CodeGen/AArch64/literal_pools.ll
@@ -65,8 +65,7 @@ define void @floating_lits() {
%floatval = load float* @varfloat
%newfloat = fadd float %floatval, 128.0
; CHECK: adrp x[[LITBASE:[0-9]+]], [[CURLIT:.LCPI1_[0-9]+]]
-; CHECK: ldr {{s[0-9]+}}, [x[[LITBASE]], #:lo12:[[CURLIT]]]
-; CHECK: fadd
+; CHECK: ldr [[LIT128:s[0-9]+]], [x[[LITBASE]], #:lo12:[[CURLIT]]]
; CHECK-LARGE: movz x[[LITADDR:[0-9]+]], #:abs_g3:[[CURLIT:.LCPI1_[0-9]+]]
; CHECK-LARGE: movk x[[LITADDR]], #:abs_g2_nc:[[CURLIT]]
@@ -80,8 +79,9 @@ define void @floating_lits() {
%doubleval = load double* @vardouble
%newdouble = fadd double %doubleval, 129.0
; CHECK: adrp x[[LITBASE:[0-9]+]], [[CURLIT:.LCPI1_[0-9]+]]
-; CHECK: ldr {{d[0-9]+}}, [x[[LITBASE]], #:lo12:[[CURLIT]]]
-; CHECK: fadd
+; CHECK: ldr [[LIT129:d[0-9]+]], [x[[LITBASE]], #:lo12:[[CURLIT]]]
+; CHECK: fadd {{s[0-9]+}}, {{s[0-9]+}}, [[LIT128]]
+; CHECK: fadd {{d[0-9]+}}, {{d[0-9]+}}, [[LIT129]]
; CHECK-LARGE: movz x[[LITADDR:[0-9]+]], #:abs_g3:[[CURLIT:.LCPI1_[0-9]+]]
; CHECK-LARGE: movk x[[LITADDR]], #:abs_g2_nc:[[CURLIT]]