[llvm] [WIP][RFC] Teach MCA constant registers do not create dependencies (PR #89387)
Rin Dobrescu via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 23 03:40:05 PDT 2024
================
@@ -962,7 +962,7 @@ void RegisterInfoEmitter::runMCDesc(raw_ostream &OS, CodeGenTarget &Target,
OS << "extern const MCRegisterDesc " << TargetName
<< "RegDesc[] = { // Descriptors\n";
- OS << " { " << RegStrings.get("") << ", 0, 0, 0, 0, 0 },\n";
+ OS << " { " << RegStrings.get("") << ", 0, 0, 0, 0, 0, 0 },\n";
----------------
Rin18 wrote:
I'm not entirely sure what the purpose of this line is. Since it's printed before register descriptors are emitted, my assumption is that it's displaying the general layout of the MCRegisterDesc struct. As I am changing MCRegisterDesc to hold 7 instead of 6 elements, this change seemed relevant in order to keep the structure consistent.
https://github.com/llvm/llvm-project/pull/89387
More information about the llvm-commits
mailing list