[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 14:15:07 PDT 2025
================
@@ -54,6 +54,7 @@ bool DirectXTTIImpl::isTargetIntrinsicTriviallyScalarizable(
case Intrinsic::dx_saturate:
case Intrinsic::dx_splitdouble:
case Intrinsic::dx_wave_readlane:
+ case Intrinsic::dx_wave_reduce_or:
----------------
KungFuDonkey wrote:
That happens in WaveActiveBitOr.ll? I am unsure what I would have to add to make a test 'scalar', as the result of the dx or spriv is always a scalar value as it is the same value across the wave.
https://github.com/llvm/llvm-project/pull/165156
More information about the cfe-commits
mailing list