[PATCH] D156219: [WIP] __builtin_amdgcn_read_exec_* should be implemented with llvm.amdgcn.ballot

Rana Pratap Reddy Nimmakayala via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 25 11:14:37 PDT 2023


ranapratap55 added inline comments.


================
Comment at: clang/lib/CodeGen/CGBuiltin.cpp:17496-17497
+    CallInst *CI =
+        cast<CallInst>(EmitAMDGCNBallotForExec(*this, E, Int64Ty, Int64Ty));
     CI->setConvergent();
     return CI;
----------------
arsenm wrote:
> Don't need the cast or setConvergent anymore
removed cast & setConvergent.


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

https://reviews.llvm.org/D156219



More information about the cfe-commits mailing list