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.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D65294
Make the CXXABIs respect the target's default calling convention. ClosedPublic Authored by erichkeane on Jul 25 2019, 11:25 AM.
Details Summary SPIR targets need to have all functions be SPIR calling convention,
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jul 26 2019, 4:31 AM
Revision Contents
Diff 211796 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
|