diff --git a/test/CodeGen/X86/shrink-compare.ll b/test/CodeGen/X86/shrink-compare.ll index 7eaf9411c1b..8d4b07f9d9b 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}} }