summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/CodeGen/X86/shrink-compare.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/shrink-compare.ll b/test/CodeGen/X86/shrink-compare.ll
index 7eaf9411c1..8d4b07f9d9 100644
--- a/test/CodeGen/X86/shrink-compare.ll
+++ b/test/CodeGen/X86/shrink-compare.ll
@@ -16,7 +16,7 @@ if.then:
if.end:
ret void
; CHECK: test1:
-; CHECK: cmpb $47, (%rdi)
+; CHECK: cmpb $47, (%{{rdi|rcx}})
}
define void @test2(i32 %X) nounwind {
@@ -32,5 +32,5 @@ if.then:
if.end:
ret void
; CHECK: test2:
-; CHECK: cmpb $47, %dil
+; CHECK: cmpb $47, %{{dil|cl}}
}