From: Eric Christopher Date: Wed, 4 Mar 2015 01:19:17 +0000 (+0000) Subject: Weaken the check for a specific movl on the twoaddr-coalesce-3 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=1df6d33c5eb998cc38707bb9a97f3fa6cbf0ca53;p=oota-llvm.git 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231191 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/X86/twoaddr-coalesce-3.ll b/test/CodeGen/X86/twoaddr-coalesce-3.ll index 1a104e58dbd..33c9d46f13c 100644 --- a/test/CodeGen/X86/twoaddr-coalesce-3.ll +++ b/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 ]