[clang] [llvm] [HLSL] Add WaveGetLaneCount() intrinsic to FE (PR #143127)
Nathan Gauër via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 6 09:13:37 PDT 2025
================
@@ -4909,6 +4909,12 @@ def HLSLWaveReadLaneAt : LangBuiltin<"HLSL_LANG"> {
let Prototype = "void(...)";
}
+def HLSLWaveGetLaneCount : LangBuiltin<"HLSL_LANG"> {
+ let Spellings = ["__builtin_hlsl_wave_get_lane_count"];
+ let Attributes = [NoThrow, Const];
+ let Prototype = "unsigned int()";
----------------
Keenuts wrote:
Mistake was on the other file, changed!
https://github.com/llvm/llvm-project/pull/143127
More information about the llvm-commits
mailing list