Go to file
Pekka Jaaskelainen fc2629a65a [OpenCL] Makes kernels use the SPIR_KERNEL CC by default.
Rationale: OpenCL kernels are called via an explicit runtime API
with arguments set with clSetKernelArg(), not as normal sub-functions.
Return SPIR_KERNEL by default as the kernel calling convention to ensure
the fingerprint is fixed such way that each OpenCL argument gets one
matching argument in the produced kernel function argument list to enable
feasible implementation of clSetKernelArg() with aggregates etc. In case
we would use the default C calling conv here, clSetKernelArg() might
break depending on the target-specific conventions; different targets
might split structs passed as values to multiple function arguments etc.

https://reviews.llvm.org/D33639

llvm-svn: 304389
2017-06-01 07:18:49 +00:00
clang [OpenCL] Makes kernels use the SPIR_KERNEL CC by default. 2017-06-01 07:18:49 +00:00
clang-tools-extra [clangd] Mark results of clangd requests with a tag provided by the FileSystemProvider. 2017-05-30 15:11:02 +00:00
compiler-rt [sanitizer-coverage] remove stale code (old coverage); compiler-rt part 2017-05-31 18:26:32 +00:00
debuginfo-tests Add a test for PR33166. 2017-05-25 19:33:16 +00:00
libclc math: Implement sinh function 2017-02-25 02:46:53 +00:00
libcxx Fix name used in -verify diagnostic to match trunk 2017-06-01 02:31:01 +00:00
libcxxabi [libcxxabi] Rework CMakeLists.txt into modules 2017-06-01 00:09:20 +00:00
libunwind [libunwind] Fix executable stack directive on Linux. 2017-05-16 20:18:57 +00:00
lld Move name lookup to script parsing time. 2017-06-01 01:16:50 +00:00
lldb Forgot to mention rewriting CommandObject::DoExecute 2017-06-01 01:05:30 +00:00
llgo benchcomp: Add a mode for analyzing file sizes. 2017-04-03 19:13:12 +00:00
llvm [TableGen] Remove RecordVal constructor that takes a StringRef and Record::setName(StringRef). Leave just the versions that take an Init. 2017-06-01 06:56:16 +00:00
openmp Fix for KMP_AFFINITY=disabled and KMP_TOPOLOGY_METHOD=hwloc 2017-05-31 20:35:22 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [BlockGenerator] Translate buildContainsCondition to idiomatic isl C++ 2017-05-31 21:49:51 +00:00