[PATCH] D141449: clang/OpenCL: Fix not setting convergent on block invoke kernels

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 11 04:42:37 PST 2023


Anastasia added inline comments.


================
Comment at: clang/lib/CodeGen/TargetInfo.cpp:12426
 
   // FIXME: Apply default attributes
   F->addFnAttr(llvm::Attribute::NoUnwind);
----------------
If `ConstructDefaultFnAttrList` was used it would get convergent correctly... Should we be using the helper function here instead?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141449/new/

https://reviews.llvm.org/D141449



More information about the cfe-commits mailing list