[PATCH] D99966: [X86][AMX] Refactor for PostRA ldtilecfg pass.

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


xiangzhangllvm added inline comments.


================
Comment at: llvm/lib/Target/X86/X86TileConfig.cpp:153
+      int Offset = IsRow ? 48 + I : 16 + I * 2;
+      for (auto &DefMI : MRI.def_instructions(R)) {
+        int ImmCount = 0;
----------------
The problem is the DefMI may comes from a reload, at its live range may not include the "shape_config_write" instructions which you want generated.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99966



More information about the llvm-commits mailing list