[PATCH] D125075: [X86][AMX] Multiple configure for AMX register.

Xiang Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 20 19:43:07 PDT 2022


xiangzhangllvm added inline comments.


================
Comment at: llvm/lib/Target/X86/X86FastPreTileConfig.cpp:355
+      Shape.getRow()->setIsKill(false);
+      Shape.getCol()->setIsKill(false);
+      RowPHI.addReg(Shape.getRow()->getReg()).addMBB(InMBB);
----------------
The most important change for "kill/dead" , I think, is not here. It should be the "old" last use (if it before current PHI)


================
Comment at: llvm/lib/Target/X86/X86FastPreTileConfig.cpp:356-357
+      Shape.getCol()->setIsKill(false);
+      RowPHI.addReg(Shape.getRow()->getReg()).addMBB(InMBB);
+      ColPHI.addReg(Shape.getCol()->getReg()).addMBB(InMBB);
+
----------------
It is possible to extend the row/col reg kill to here.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125075



More information about the llvm-commits mailing list