[clang] [llvm] [HLSL] Implement WaveActiveAnyTrue intrinsic (PR #115902)
Ashley Coleman via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 20 11:54:53 PST 2024
================
@@ -2848,7 +2819,7 @@ bool SPIRVInstructionSelector::selectIntrinsic(Register ResVReg,
case Intrinsic::spv_wave_active_countbits:
return selectWaveActiveCountBits(ResVReg, ResType, I);
case Intrinsic::spv_wave_any:
- return selectWaveActiveAnyTrue(ResVReg, ResType, I);
+ return selectWaveNOpInst(ResVReg, ResType, I, SPIRV::OpGroupNonUniformAny);
case Intrinsic::spv_wave_is_first_lane: {
SPIRVType *IntTy = GR.getOrCreateSPIRVIntegerType(32, I, TII);
----------------
V-FEXrt wrote:
https://github.com/llvm/llvm-project/pull/115902/commits/ee787874ed394763a7028182df4f1bfeb8cb37cb
https://github.com/llvm/llvm-project/pull/115902
More information about the cfe-commits
mailing list