summaryrefslogtreecommitdiff
path: root/test/CodeGen/SPARC
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
commita6a5be21dfa2020a133919d7bc96391a620ea5a7 (patch)
tree03409c150d47e784cfc33ef6a390d7c3b199560b /test/CodeGen/SPARC
parente042428b3e1d69205ff422e0c328e28f67b3e465 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311062 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/SPARC')
-rw-r--r--test/CodeGen/SPARC/32abi.ll4
-rw-r--r--test/CodeGen/SPARC/atomics.ll5
2 files changed, 4 insertions, 5 deletions
diff --git a/test/CodeGen/SPARC/32abi.ll b/test/CodeGen/SPARC/32abi.ll
index 985e77b86fd..3807f84d4e9 100644
--- a/test/CodeGen/SPARC/32abi.ll
+++ b/test/CodeGen/SPARC/32abi.ll
@@ -156,9 +156,9 @@ define double @floatarg(double %a0, ; %i0,%i1
; HARD-NEXT: std %o0, [%sp+96]
; HARD-NEXT: st %o1, [%sp+92]
; HARD-NEXT: mov %i0, %o2
-; HARD-NEXT: mov %i1, %o3
+; HARD-NEXT: mov %o0, %o3
; HARD-NEXT: mov %o1, %o4
-; HARD-NEXT: mov %i1, %o5
+; HARD-NEXT: mov %o0, %o5
; HARD-NEXT: call floatarg
; HARD: std %f0, [%i4]
; SOFT: st %i0, [%sp+104]
diff --git a/test/CodeGen/SPARC/atomics.ll b/test/CodeGen/SPARC/atomics.ll
index ac095e60fa0..5e608e728c3 100644
--- a/test/CodeGen/SPARC/atomics.ll
+++ b/test/CodeGen/SPARC/atomics.ll
@@ -235,9 +235,8 @@ entry:
; CHECK-LABEL: test_load_add_i32
; CHECK: membar
-; CHECK: mov [[U:%[gilo][0-7]]], [[V:%[gilo][0-7]]]
-; CHECK: add [[U:%[gilo][0-7]]], %o1, [[V2:%[gilo][0-7]]]
-; CHECK: cas [%o0], [[V]], [[V2]]
+; CHECK: add [[V:%[gilo][0-7]]], %o1, [[U:%[gilo][0-7]]]
+; CHECK: cas [%o0], [[V]], [[U]]
; CHECK: membar
define zeroext i32 @test_load_add_i32(i32* %p, i32 zeroext %v) {
entry: