[clang] [llvm] [HLSL][DXIL][SPIRV] WavePrefixProduct intrinsic support (PR #179423)

via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 11 21:12:43 PST 2026


================
@@ -376,6 +376,24 @@ static Intrinsic::ID getWavePrefixSumIntrinsic(llvm::Triple::ArchType Arch,
   }
 }
 
+// Return wave prefix product that corresponds to the QT scalar type
+static Intrinsic::ID getWavePrefixProductIntrinsic(llvm::Triple::ArchType Arch,
+                                                   CGHLSLRuntime &RT,
----------------
kcloudy0717 wrote:

Good catch! I also removed the runtime param for `getWavePrefixSumIntrinsic` as well.

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


More information about the cfe-commits mailing list