[clang] [llvm] [HLSL] Implement `WaveReadLaneAt` intrinsic (PR #111010)

Finn Plummer via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 7 08:43:19 PDT 2024


================
@@ -82,5 +82,6 @@ let TargetPrefix = "spv" in {
     [llvm_anyint_ty, LLVMScalarOrSameVectorWidth<0, LLVMVectorElementType<0>>],
     [IntrNoMem, Commutative] >;
   def int_spv_wave_is_first_lane : DefaultAttrsIntrinsic<[llvm_i1_ty], [], [IntrConvergent]>;
+  def int_spv_wave_read_lane_at : DefaultAttrsIntrinsic<[llvm_any_ty], [LLVMMatchType<0>, llvm_i32_ty], [IntrConvergent]>;
----------------
inbelic wrote:

Added a commit to change the name to `waveReadLaneAt` as described in below comment.

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


More information about the cfe-commits mailing list