HomePhabricator

Make the CXXABIs respect the target's default calling convention.

Authored by erichkeane on Jul 26 2019, 5:36 AM.

Description

Make the CXXABIs respect the target's default calling convention.

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

llvm-svn: 367103