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

Wei Xiao via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 16 06:47:13 PST 2020


wxiao3 added inline comments.


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


================
Comment at: llvm/lib/Target/X86/X86RegisterInfo.cpp:917
+  }
+  for (MCPhysReg PhysReg : Order) {
+    if (!MRI->isReserved(PhysReg))
----------------
Don't need to add PhysReg again if PhysReg is already in Hints.


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