[PATCH] D99010: [X86][AMX] Hoist ldtilecfg

Xiang Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 11 18:23:53 PDT 2021


xiangzhangllvm added inline comments.


================
Comment at: llvm/lib/Target/X86/X86PreTileConfig.cpp:184
+    MachineBasicBlock *DefMBB = DefMI->getParent();
+    if (!DefMI || DefMI->isMoveImmediate() || !DefVisited.insert(DefMI).second)
+      continue;
----------------
This should be calculated in ShapeNum, for AMX always use reg as its shape after PHI.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99010/new/

https://reviews.llvm.org/D99010



More information about the llvm-commits mailing list