diff options
author | Guy Benyei <guy.benyei@intel.com> | 2012-12-25 08:53:55 +0000 |
---|---|---|
committer | Guy Benyei <guy.benyei@intel.com> | 2012-12-25 08:53:55 +0000 |
commit | 38980086c0f791e8c23cc882574f18e5b4a87db6 (patch) | |
tree | f025495547b91f2cc076617f872e53c111a7dd6a /lib/Basic | |
parent | 140aadf5b927ae294388c680a7db44e5de39578a (diff) |
Add intel_ocl_bicc calling convention as a function attribute to clang. The calling convention is already implemented in LLVM.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171056 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic')
-rw-r--r-- | lib/Basic/Targets.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 5f7f75d440..ea19b15848 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -1803,7 +1803,8 @@ public: CC == CC_X86FastCall || CC == CC_X86StdCall || CC == CC_C || - CC == CC_X86Pascal) ? CCCR_OK : CCCR_Warning; + CC == CC_X86Pascal || + CC == CC_IntelOclBicc) ? CCCR_OK : CCCR_Warning; } virtual CallingConv getDefaultCallingConv(CallingConvMethodType MT) const { |