summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM
diff options
context:
space:
mode:
authorGeoff Berry <gberry@codeaurora.org>2017-08-17 04:04:11 +0000
committerGeoff Berry <gberry@codeaurora.org>2017-08-17 04:04:11 +0000
commit4e38e02e6f7e65da163cba1118fa580d9078d17a (patch)
tree9928967acf9e20b21fc0cbcac18b46ca6f10c206 /llvm/test/CodeGen/ARM
parentdd8c16b58e44807b1adade487df5843a6db7baa2 (diff)
downloadbcm5719-llvm-4e38e02e6f7e65da163cba1118fa580d9078d17a.tar.gz
bcm5719-llvm-4e38e02e6f7e65da163cba1118fa580d9078d17a.zip
Revert "[MachineCopyPropagation] Extend pass to do COPY source forwarding"
This reverts commit r311038. Several buildbots are breaking, and at least one appears to be due to the forwarding of physical regs enabled by this change. Reverting while I investigate further. llvm-svn: 311062
Diffstat (limited to 'llvm/test/CodeGen/ARM')
-rw-r--r--llvm/test/CodeGen/ARM/atomic-op.ll6
-rw-r--r--llvm/test/CodeGen/ARM/swifterror.ll2
2 files changed, 3 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/ARM/atomic-op.ll b/llvm/test/CodeGen/ARM/atomic-op.ll
index 2337e835480..644a7fbf8d9 100644
--- a/llvm/test/CodeGen/ARM/atomic-op.ll
+++ b/llvm/test/CodeGen/ARM/atomic-op.ll
@@ -287,8 +287,7 @@ define i32 @test_cmpxchg_fail_order(i32 *%addr, i32 %desired, i32 %new) {
%pair = cmpxchg i32* %addr, i32 %desired, i32 %new seq_cst monotonic
%oldval = extractvalue { i32, i1 } %pair, 0
-; CHECK-ARMV7: mov r[[ADDR:[0-9]+]], r0
-; CHECK-ARMV7: ldrex [[OLDVAL:r[0-9]+]], [r0]
+; CHECK-ARMV7: ldrex [[OLDVAL:r[0-9]+]], [r[[ADDR:[0-9]+]]]
; CHECK-ARMV7: cmp [[OLDVAL]], r1
; CHECK-ARMV7: bne [[FAIL_BB:\.?LBB[0-9]+_[0-9]+]]
; CHECK-ARMV7: dmb ish
@@ -306,8 +305,7 @@ define i32 @test_cmpxchg_fail_order(i32 *%addr, i32 %desired, i32 %new) {
; CHECK-ARMV7: dmb ish
; CHECK-ARMV7: bx lr
-; CHECK-T2: mov r[[ADDR:[0-9]+]], r0
-; CHECK-T2: ldrex [[OLDVAL:r[0-9]+]], [r0]
+; CHECK-T2: ldrex [[OLDVAL:r[0-9]+]], [r[[ADDR:[0-9]+]]]
; CHECK-T2: cmp [[OLDVAL]], r1
; CHECK-T2: bne [[FAIL_BB:\.?LBB.*]]
; CHECK-T2: dmb ish
diff --git a/llvm/test/CodeGen/ARM/swifterror.ll b/llvm/test/CodeGen/ARM/swifterror.ll
index 15a831a3785..b02adf7912b 100644
--- a/llvm/test/CodeGen/ARM/swifterror.ll
+++ b/llvm/test/CodeGen/ARM/swifterror.ll
@@ -181,7 +181,7 @@ define float @foo_loop(%swift_error** swifterror %error_ptr_ref, i32 %cc, float
; CHECK-APPLE: beq
; CHECK-APPLE: mov r0, #16
; CHECK-APPLE: malloc
-; CHECK-APPLE: strb r{{.*}}, [r0, #8]
+; CHECK-APPLE: strb r{{.*}}, [{{.*}}[[ID]], #8]
; CHECK-APPLE: ble
; CHECK-APPLE: mov r8, [[ID]]
OpenPOWER on IntegriCloud