diff --git a/test/CodeGen/X86/dec-eflags-lower.ll b/test/CodeGen/X86/dec-eflags-lower.ll index 0e031e269d0..458160a4bfc 100644 --- a/test/CodeGen/X86/dec-eflags-lower.ll +++ b/test/CodeGen/X86/dec-eflags-lower.ll @@ -4,7 +4,7 @@ define void @_Z7releaseP3obj(%struct.obj* nocapture %o) nounwind uwtable ssp { entry: -; CHECK: decq (%rdi) +; CHECK: decq (%{{rdi|rcx}}) ; CHECK-NEXT: je %refcnt = getelementptr inbounds %struct.obj* %o, i64 0, i32 0 %0 = load i64* %refcnt, align 8, !tbaa !0