[clang] [llvm] [HLSL][DXIL][SPIRV] Added WaveActiveBitOr HLSL intrinsic (PR #165156)

Farzon Lotfi via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 29 11:22:49 PDT 2025


================
@@ -113,6 +113,7 @@ class CGHLSLRuntime {
   GENERATE_HLSL_INTRINSIC_FUNCTION(Dot4AddU8Packed, dot4add_u8packed)
   GENERATE_HLSL_INTRINSIC_FUNCTION(WaveActiveAllTrue, wave_all)
   GENERATE_HLSL_INTRINSIC_FUNCTION(WaveActiveAnyTrue, wave_any)
+  GENERATE_HLSL_INTRINSIC_FUNCTION(WaveActiveBitOr, wave_reduce_or)
----------------
farzonl wrote:

This name seems odd to me`WaveActiveBitOr` is a `bitwise OR` reduce makes me thinking of the functional reduce lambda expression which isn't what this is for.

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


More information about the llvm-commits mailing list