[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 Aug 5 02:35:44 PDT 2024


================
@@ -1739,6 +1741,20 @@ void RegisterInfoEmitter::runTargetDesc(raw_ostream &OS, CodeGenTarget &Target,
   OS << "      false;\n";
   OS << "}\n\n";
 
+  OS << "bool " << ClassName << "::\n"
+     << "isGeneralPurposeRegister(const TargetRegisterClass *RC)"
----------------
KanRobert wrote:

isGeneralPurposeRegisterClass

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


More information about the llvm-commits mailing list