r308209 - Update use of llvm::CallingConv:X86_64_Win64 after LLVM commit r308208
Martin Storsjo via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 17 13:05:56 PDT 2017
Author: mstorsjo
Date: Mon Jul 17 13:05:56 2017
New Revision: 308209
URL: http://llvm.org/viewvc/llvm-project?rev=308209&view=rev
Log:
Update use of llvm::CallingConv:X86_64_Win64 after LLVM commit r308208
Modified:
cfe/trunk/lib/CodeGen/CGCall.cpp
cfe/trunk/test/CodeGen/ms_abi.c
cfe/trunk/test/CodeGenObjC/attr-callconv.m
Modified: cfe/trunk/lib/CodeGen/CGCall.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGCall.cpp?rev=308209&r1=308208&r2=308209&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGCall.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGCall.cpp Mon Jul 17 13:05:56 2017
@@ -50,7 +50,7 @@ unsigned CodeGenTypes::ClangCallConvToLL
case CC_X86FastCall: return llvm::CallingConv::X86_FastCall;
case CC_X86RegCall: return llvm::CallingConv::X86_RegCall;
case CC_X86ThisCall: return llvm::CallingConv::X86_ThisCall;
- case CC_X86_64Win64: return llvm::CallingConv::X86_64_Win64;
+ case CC_X86_64Win64: return llvm::CallingConv::Win64;
case CC_X86_64SysV: return llvm::CallingConv::X86_64_SysV;
case CC_AAPCS: return llvm::CallingConv::ARM_AAPCS;
case CC_AAPCS_VFP: return llvm::CallingConv::ARM_AAPCS_VFP;
Modified: cfe/trunk/test/CodeGen/ms_abi.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/ms_abi.c?rev=308209&r1=308208&r2=308209&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/ms_abi.c (original)
+++ cfe/trunk/test/CodeGen/ms_abi.c Mon Jul 17 13:05:56 2017
@@ -15,20 +15,20 @@ void f3(void) {
// FREEBSD-LABEL: define void @f3()
// WIN64-LABEL: define void @f3()
f1();
- // FREEBSD: call x86_64_win64cc void @f1()
+ // FREEBSD: call win64cc void @f1()
// WIN64: call void @f1()
f2();
// FREEBSD: call void @f2()
// WIN64: call x86_64_sysvcc void @f2()
}
-// FREEBSD: declare x86_64_win64cc void @f1()
+// FREEBSD: declare win64cc void @f1()
// FREEBSD: declare void @f2()
// WIN64: declare void @f1()
// WIN64: declare x86_64_sysvcc void @f2()
// Win64 ABI varargs
void __attribute__((ms_abi)) f4(int a, ...) {
- // FREEBSD-LABEL: define x86_64_win64cc void @f4
+ // FREEBSD-LABEL: define win64cc void @f4
// WIN64-LABEL: define void @f4
__builtin_ms_va_list ap;
__builtin_ms_va_start(ap, a);
Modified: cfe/trunk/test/CodeGenObjC/attr-callconv.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/attr-callconv.m?rev=308209&r1=308208&r2=308209&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/attr-callconv.m (original)
+++ cfe/trunk/test/CodeGenObjC/attr-callconv.m Mon Jul 17 13:05:56 2017
@@ -9,5 +9,5 @@
// CHECK: define{{.*}}x86_stdcallcc{{.*}}Test test
- (void)test2 __attribute__((ms_abi)) {}
- // CHECK: define{{.*}}x86_64_win64cc{{.*}}Test test2
+ // CHECK: define{{.*}}win64cc{{.*}}Test test2
@end
More information about the cfe-commits
mailing list