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

Sietze Riemersma via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 29 13:44:45 PDT 2025


================
@@ -1069,6 +1073,24 @@ def WaveActiveOp : DXILOp<119, waveActiveOp> {
   let attributes = [Attributes<DXIL1_0, []>];
 }
 
+def WaveActiveBit : DXILOp<120, waveActiveBit> {
+  let Doc = "returns the result of the operation across waves";
+  let intrinsics = [
+    IntrinSelect<int_dx_wave_reduce_or,
+                 [
+                   IntrinArgIndex<0>, IntrinArgI8<WaveBitOpKind_Or>,
+                 ]>,
----------------
KungFuDonkey wrote:

Its the same as DXILOp<119>, so what is wrong?

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


More information about the cfe-commits mailing list