[PATCH] D141447: clang/OpenCL: Don't use a Function for the block type
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 30 05:47:38 PST 2023
yaxunl added inline comments.
================
Comment at: clang/lib/CodeGen/TargetInfo.cpp:12477-12480
+ F->setCallingConv(llvm::CallingConv::AMDGPU_KERNEL);
+
+ // FIXME: Apply default attributes
+ F->addFnAttr(llvm::Attribute::NoUnwind);
----------------
need a test
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141447/new/
https://reviews.llvm.org/D141447
More information about the cfe-commits
mailing list