[PATCH] D65294: Make the CXXABIs respect the target's default calling convention.
Erich Keane via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 25 11:28:40 PDT 2019
erichkeane created this revision.
erichkeane added a reviewer: Anastasia.
SPIR targets need to have all functions be SPIR calling convention,
however the CXXABIs were just returning CC_C in all non-'this-CC' cases.
https://reviews.llvm.org/D65294
Files:
clang/lib/AST/ItaniumCXXABI.cpp
clang/lib/AST/MicrosoftCXXABI.cpp
clang/test/CodeGenOpenCLCXX/addrspace-derived-base.cl
clang/test/CodeGenOpenCLCXX/addrspace-of-this.cl
clang/test/CodeGenOpenCLCXX/addrspace-operators.cl
clang/test/CodeGenOpenCLCXX/addrspace-with-class.cl
clang/test/CodeGenOpenCLCXX/method-overload-address-space.cl
clang/test/CodeGenOpenCLCXX/template-address-spaces.cl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65294.211796.patch
Type: text/x-patch
Size: 22666 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190725/3c208d07/attachment-0001.bin>
More information about the cfe-commits
mailing list