[PATCH] Add frontend support for __vectorcall

Richard Smith richard at metafoo.co.uk
Wed Oct 15 16:32:28 PDT 2014


================
Comment at: lib/CodeGen/CGCall.cpp:50-51
@@ -49,2 +49,4 @@
   case CC_IntelOclBicc: return llvm::CallingConv::Intel_OCL_BI;
   // TODO: add support for CC_X86Pascal to llvm
+  // TODO: Add support for __vectorcall to LLVM.
+  case CC_X86VectorCall: return llvm::CallingConv::C;
----------------
Ouch. Please make these comments consistent.

http://reviews.llvm.org/D5808






More information about the cfe-commits mailing list