[PATCH] D33639: [OpenCL] Use SPIR_CC by default for kernels
Pekka Jääskeläinen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 1 00:19:27 PDT 2017
pekka.jaaskelainen closed this revision.
pekka.jaaskelainen marked 4 inline comments as done.
pekka.jaaskelainen added a comment.
Committed in r304389.
================
Comment at: lib/CodeGen/TargetInfo.cpp:400
unsigned TargetCodeGenInfo::getOpenCLKernelCallingConv() const {
+ // OpenCL kernels are called via an explicit runtime API with arguments
----------------
Anastasia wrote:
> The lines above are missing... is this for default target?
Yes.
https://reviews.llvm.org/D33639
More information about the cfe-commits
mailing list