Reapply 132424 with fixes. This fixes PR10068.
[oota-llvm.git] / lib / Target / X86 / X86CallingConv.td
index ad71d8fd225cac520b173f5e452acd8669edc797..56351756e8ddfce3170e0e6708877e5de5cad516 100644 (file)
@@ -218,7 +218,7 @@ def CC_X86_Win64_C : CallingConv<[
   
   // Do not pass the sret argument in RCX, the Win64 thiscall calling
   // convention requires "this" to be passed in RCX.                                        
-  CCIfCC<"CallingConv::Win64_ThisCall", 
+  CCIfCC<"CallingConv::X86_ThisCall", 
     CCIfSRet<CCIfType<[i64], CCAssignToRegWithShadow<[RDX , R8  , R9  ],
                                                      [XMM1, XMM2, XMM3]>>>>,