WebAssembly is the only target now using the (poorly named) TargetLowering::shouldExpandPartialReductionIntrinsic
hook. Once it moves to the PARTIAL_REDUCE_*
ISD nodes, the hook can be removed.
The WebAssembly target implements some patterns that match the intrinsics (via INTRINSIC_WO_CHAIN
) that need to be ported to using the PARTIAL_REDUCE_*
opcodes.