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 | f0a014bbb70ec96d21975e4a0bba1e52d420e802 (patch) | |
tree | e12ca62c033a2ca9db9331354ef56d7cbe378a9f /clang/test/Sema/callingconv.c | |
parent | ad24c58e1623db4bd8743c33b633b27b5f209b37 (diff) | |
download | bcm5719-llvm-f0a014bbb70ec96d21975e4a0bba1e52d420e802.tar.gz bcm5719-llvm-f0a014bbb70ec96d21975e4a0bba1e52d420e802.zip |
Add intel_ocl_bicc calling convention as a function attribute to clang. The calling convention is already implemented in LLVM.
llvm-svn: 171056
Diffstat (limited to 'clang/test/Sema/callingconv.c')
-rw-r--r-- | clang/test/Sema/callingconv.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/Sema/callingconv.c b/clang/test/Sema/callingconv.c index 266242d4a3a..4c0d4b1bb1c 100644 --- a/clang/test/Sema/callingconv.c +++ b/clang/test/Sema/callingconv.c @@ -54,3 +54,5 @@ typedef __attribute__((stdcall)) void (*PROC)(); PROC __attribute__((cdecl)) ctest4(const char *x) {} void __attribute__((pnaclcall)) pnaclfunc(float *a) {} // expected-warning {{calling convention 'pnaclcall' ignored for this target}} + +void __attribute__((intel_ocl_bicc)) inteloclbifunc(float *a) {} |