[Mlir-commits] [mlir] [MLIR][XeGPU] Add uArch limitation to scatter load store (PR #172845)

Jianhui Li llvmlistbot at llvm.org
Wed Jan 14 22:30:09 PST 2026


================
@@ -1056,19 +1093,21 @@ void LayoutInfoPropagation::visitStoreScatterOp(
       return;
     }
 
-    auto uArch = getUArch(getChipStr(storeScatter).value_or(""));
-    const int subgroupSize = uArch->getSubgroupSize();
-
     if (layoutKind == LayoutKind::InstData) {
+      const auto *uArchInstruction =
+          dyn_cast<xegpu::uArch::LoadGatherInstruction>(
+              uArch->getInstruction(xegpu::uArch::InstructionKind::LoadGather));
----------------
Jianhui-Li wrote:

LoadGather -> StoreScatter? 

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


More information about the Mlir-commits mailing list