summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2015-03-04 01:19:17 +0000
committerEric Christopher <echristo@gmail.com>2015-03-04 01:19:17 +0000
commitafc703da525ddd229450f2f0651c84349abb2ea4 (patch)
tree2757f868def5d51f41fc4a953824e7d89a6dd7ad
parent8c36688dd71f1ce275fd0c9690c2b4e3a9bdfccc (diff)
downloadbcm5719-llvm-afc703da525ddd229450f2f0651c84349abb2ea4.tar.gz
bcm5719-llvm-afc703da525ddd229450f2f0651c84349abb2ea4.zip
Weaken the check for a specific movl on the twoaddr-coalesce-3
test - we only care that there are two moves in the loop and not which part is relative to which register anyhow. llvm-svn: 231191
-rw-r--r--llvm/test/CodeGen/X86/twoaddr-coalesce-3.ll3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/twoaddr-coalesce-3.ll b/llvm/test/CodeGen/X86/twoaddr-coalesce-3.ll
index 1a104e58dbd..33c9d46f13c 100644
--- a/llvm/test/CodeGen/X86/twoaddr-coalesce-3.ll
+++ b/llvm/test/CodeGen/X86/twoaddr-coalesce-3.ll
@@ -56,14 +56,13 @@ for.body.lr.ph: ; preds = %entry
; Check that only two mov will be generated in the kernel loop.
; CHECK-LABEL: goo:
-; CHECK: g@GOTPCREL(%rip), [[REG3:%[a-z0-0]+]]
; CHECK: [[LOOP2:^[a-zA-Z0-9_.]+]]: {{#.*}} %for.body
; CHECK-NOT: mov
; CHECK: movl {{.*}}, [[REG2:%[a-z0-9]+]]
; CHECK-NOT: mov
; CHECK: shrl $31, [[REG2]]
; CHECK-NOT: mov
-; CHECK: movl {{.*}}, ([[REG3]])
+; CHECK: movl {{.*}}
; CHECK: jl [[LOOP2]]
for.body: ; preds = %for.body.lr.ph, %for.body
%add5 = phi i32 [ %total.promoted, %for.body.lr.ph ], [ %add, %for.body ]
OpenPOWER on IntegriCloud