[Mlir-commits] [mlir] [MLIR][XeGPU] Use all ones as the neutral value of an AND reduction (PR #232828)

Md Abdullah Shahneous Bari llvmlistbot at llvm.org
Mon Oct 19 13:50:15 PDT 2026


================

----------------
mshahneo wrote:

Thanks, Jianhui. You are right.
The i8 case was meant to show that the value is all ones at each width. But it takes the same path as i32, so it adds nothing, and I dropped it. In its place there is now a cross-subgroup case. It covers the other place that uses the neutral value: the final reduction after the SLM round trip.

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


More information about the Mlir-commits mailing list