[WinEH] Update exception pointer registers
[oota-llvm.git] / test / CodeGen / WinEH / wineh-exceptionpointer.ll
index 05139ef1bd9ddfab16b81e8b7ec6e43e256a0cba..47ffc35acac0235e653a584e52cf1e860a999730 100644 (file)
@@ -17,7 +17,7 @@ catch.pad:
 catch.body:
   %exn = call i8 addrspace(1)* @llvm.eh.exceptionpointer.p1i8(token %catch)
   %cast_exn = bitcast i8 addrspace(1)* %exn to i32 addrspace(1)*
-  ; CHECK: movq %rax, %rcx
+  ; CHECK: movq %rdx, %rcx
   ; CHECK-NEXT: callq g
   call void @g(i32 addrspace(1)* %cast_exn)
   catchret %catch to label %exit