[PATCH] D141449: clang/OpenCL: Fix not setting convergent on block invoke kernels
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 10 19:35:54 PST 2023
yaxunl added inline comments.
================
Comment at: clang/lib/CodeGen/TargetInfo.cpp:12428
F->addFnAttr(llvm::Attribute::NoUnwind);
+ F->addFnAttr(llvm::Attribute::Convergent);
----------------
How about using CGF.CGM.addDefaultFunctionDefinitionAttributes? same as below
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141449/new/
https://reviews.llvm.org/D141449
More information about the cfe-commits
mailing list