[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:06:50 PDT 2024
================
@@ -977,7 +977,8 @@ void RegisterInfoEmitter::runMCDesc(raw_ostream &OS, CodeGenTarget &Target,
<< DiffSeqs.get(SubRegLists[i]) << ", " << DiffSeqs.get(SuperRegLists[i])
<< ", " << SubRegIdxSeqs.get(SubRegIdxLists[i]) << ", "
<< (Offset << RegUnitBits | FirstRU) << ", "
- << LaneMaskSeqs.get(RegUnitLaneMasks[i]) << " },\n";
+ << LaneMaskSeqs.get(RegUnitLaneMasks[i]) << ", " << Reg.Constant
----------------
Rin18 wrote:
Thanks for pointing this out. I took a look at the TableGen tests relating to `RegisterInfoEmitter.cpp`. The tests I found were only related to register cost values, so this change shouldn't affect them.
https://github.com/llvm/llvm-project/pull/89387
More information about the llvm-commits
mailing list