[clang] [llvm] [HLSL][DXIL][SPIRV] QuadReadLaneAt intrinsic support (PR #205735)

via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 23 03:17:53 PDT 2026


================
@@ -5382,6 +5382,9 @@ bool SPIRVInstructionSelector::selectIntrinsic(Register ResVReg,
     return selectWaveExclusiveScanSum(ResVReg, ResType, I);
   case Intrinsic::spv_wave_prefix_product:
     return selectWaveExclusiveScanProduct(ResVReg, ResType, I);
+  case Intrinsic::spv_quad_read_lane_at:
+    return selectWaveOpInst(ResVReg, ResType, I,
----------------
kcloudy0717 wrote:

I renamed the function selectQuadSwap to selectQuadShuffle and handle SPIRV intrinsic in the function.

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


More information about the cfe-commits mailing list