[clang] [llvm] [clang][HLSL][SPRI-V] Add convergence intrinsics (PR #80680)
Nathan Gauër via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 12 07:13:17 PDT 2024
================
@@ -5686,6 +5686,10 @@ RValue CodeGenFunction::EmitCall(const CGFunctionInfo &CallInfo,
if (!CI->getType()->isVoidTy())
CI->setName("call");
+ if (getTarget().getTriple().isSPIRVLogical() &&
+ CI->getCalledFunction()->isConvergent())
----------------
Keenuts wrote:
Yes, thanks
https://github.com/llvm/llvm-project/pull/80680
More information about the llvm-commits
mailing list