[PATCH] D87981: [X86] AMX programming model prototype.

LuoYuanke via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 17 21:07:56 PST 2020


LuoYuanke added inline comments.


================
Comment at: llvm/include/llvm/CodeGen/LiveRegMatrix.h:44
   VirtRegMap *VRM;
+  MachineRegisterInfo *MRI;
 
----------------
wxiao3 wrote:
> what's the purpose of this member?
It is useless. Thanks.


================
Comment at: llvm/lib/Target/X86/X86RegisterInfo.cpp:917
+  }
+  for (MCPhysReg PhysReg : Order) {
+    if (!MRI->isReserved(PhysReg))
----------------
wxiao3 wrote:
> Don't need to add PhysReg again if PhysReg is already in Hints.
You are right. I will revise the code.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87981



More information about the cfe-commits mailing list