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

Freddy Ye via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 5 02:45:12 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)"
----------------
FreddyLeaf wrote:

[4ce24cc](https://github.com/llvm/llvm-project/pull/98603/commits/4ce24cc7e550e34c28f31c046241f857ce5a03ba)

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


More information about the llvm-commits mailing list