[clang] [llvm] [HLSL] Implement WaveActiveAnyTrue intrinsic (PR #115902)

Ashley Coleman via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 20 09:49:37 PST 2024


================
@@ -2826,6 +2843,8 @@ bool SPIRVInstructionSelector::selectIntrinsic(Register ResVReg,
     return selectExtInst(ResVReg, ResType, I, CL::s_clamp, GL::SClamp);
   case Intrinsic::spv_wave_active_countbits:
     return selectWaveActiveCountBits(ResVReg, ResType, I);
+  case Intrinsic::spv_wave_any:
+    return selectWaveActiveAnyTrue(ResVReg, ResType, I);
----------------
V-FEXrt wrote:

no reason. Its just left over from previous commits. Give me a sec

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


More information about the llvm-commits mailing list