[llvm] [X86][RA] Add two address hints for compressible NDD instructions. (PR #98603)

Shengchen Kan via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 15 03:00:23 PDT 2024


================
@@ -1082,6 +1088,42 @@ bool X86RegisterInfo::getRegAllocationHints(Register VirtReg,
       VirtReg, Order, Hints, MF, VRM, Matrix);
 
   unsigned ID = RC.getID();
+
+  if (!VRM || DisableRegAllocHints)
----------------
KanRobert wrote:

Hmm, do not disable hints for other instructions such as AMX in this patch. 

https://github.com/llvm/llvm-project/pull/98603


More information about the llvm-commits mailing list