[clang] [llvm] [HLSL] Implement `WaveReadLaneAt` intrinsic (PR #111010)
Finn Plummer via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 8 17:20:16 PDT 2024
================
@@ -87,6 +87,7 @@ class CGHLSLRuntime {
GENERATE_HLSL_INTRINSIC_FUNCTION(SDot, sdot)
GENERATE_HLSL_INTRINSIC_FUNCTION(UDot, udot)
GENERATE_HLSL_INTRINSIC_FUNCTION(WaveIsFirstLane, wave_is_first_lane)
+ GENERATE_HLSL_INTRINSIC_FUNCTION(WaveReadLaneAt, waveReadLaneAt)
----------------
inbelic wrote:
If we use `_` separated then the generated names will use `.` to separate them. So eg `wave_read_lane_at` becomes `llvm.dx.wave.read.lane.at`. Which we decided was quite confusing due to the confusion with a namespace. I will clean up the other intrinsic to cohere to this in a follow up pr.
https://github.com/llvm/llvm-project/pull/111010
More information about the cfe-commits
mailing list