[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 10:21:33 PDT 2024


================
@@ -4554,6 +4554,13 @@ def HLSLWaveActiveCountBits : LangBuiltin<"HLSL_LANG"> {
   let Prototype = "unsigned int(bool)";
 }
 
+// HLSL
+def HLSLWaveGetLaneIndex : LangBuiltin<"HLSL_LANG"> {
+  let Spellings = ["__builtin_hlsl_wave_get_lane_index"];
+  let Attributes = [NoThrow, Const];
----------------
Keenuts wrote:

Yes, but this implies touching to the mangling pattern..

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


More information about the llvm-commits mailing list