[clang] [llvm] [clang][HLSL][SPRI-V] Add convergence intrinsics (PR #80680)

Nathan Gauër via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 25 02:57:53 PDT 2024


================
@@ -1295,11 +1295,13 @@ double4 trunc(double4);
 /// true, across all active lanes in the current wave.
 _HLSL_AVAILABILITY(shadermodel, 6.0)
 _HLSL_BUILTIN_ALIAS(__builtin_hlsl_wave_active_count_bits)
+__attribute__((convergent))
----------------
Keenuts wrote:

Right, so in that case, I'll add the convergent attribute again, and later down the road, once we have the noconvergent-default in place, we'll be able to flip this back.
Thanks all for the context and explanations!

https://github.com/llvm/llvm-project/pull/80680


More information about the cfe-commits mailing list