[clang] [llvm] [HLSL][DXIL][SPIRV] Added WaveActiveBitOr HLSL intrinsic (PR #165156)
Farzon Lotfi via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 2 06:15:43 PST 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>,
+ ]>,
----------------
farzonl wrote:
Ah good point maybe we should do that in a follow up.
https://github.com/llvm/llvm-project/pull/165156
More information about the cfe-commits
mailing list