[Mlir-commits] [mlir] [MLIR][XeGPU] Add handling for unit-dim expansion in ShapeCast workgroup-to-subgroup distribution (PR #171758)
Charitha Saumya
llvmlistbot at llvm.org
Tue Dec 16 10:11:40 PST 2025
================
@@ -609,10 +609,6 @@ void LayoutInfoPropagation::visitVectorBroadCastOp(
propagateIfChanged(operands[0], operands[0]->meet(LayoutInfo(sliceLayout)));
return;
}
-
- SetVector<int64_t> broadcastUnitDims = broadcast.computeBroadcastedUnitDims();
- resultLayout = cast<xegpu::DistributeLayoutAttr>(resultLayout.get())
- .setUnitDimData(broadcastUnitDims);
----------------
charithaintc wrote:
this feels off, not bcast source directly get the result sg_data. what is the reason for removing this?
what happens if the bcast source has another user that require the correct sg_data?
https://github.com/llvm/llvm-project/pull/171758
More information about the Mlir-commits
mailing list