[Mlir-commits] [mlir] [mlir][xegpu] Add support for `vector.multi_reduction` and `vector.shape_cast` SIMT distribution. (PR #157560)

Jianhui Li llvmlistbot at llvm.org
Wed Sep 10 16:51:50 PDT 2025


================
@@ -484,3 +484,24 @@ xegpu::addWithRightAligned(OpBuilder &builder, Location loc,
   results.append(addElementwise(builder, loc, a, b));
   return results;
 }
+
+SmallVector<int64_t>
+xegpu::computeEffectiveLaneLayout(const xegpu::DistributeLayoutAttr layout) {
----------------
Jianhui-Li wrote:

consider using getSgLayoutAsInt

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


More information about the Mlir-commits mailing list