[llvm] [CodeGen] Add MachineRegisterClassInfo analysis pass (PR #210826)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 22 00:56:07 PDT 2026
================
@@ -71,6 +71,8 @@ class SIPreAllocateWWMRegsLegacy : public MachineFunctionPass {
AU.addRequired<LiveIntervalsWrapperPass>();
AU.addRequired<VirtRegMapWrapperLegacy>();
AU.addRequired<LiveRegMatrixWrapperLegacy>();
+ // TODO: Update RCI with the additional reserved registers the pass sets.
+ AU.addRequired<MachineRegisterClassInfoWrapperPass>();
AU.setPreservesAll();
----------------
arsenm wrote:
We probably should add test coverage trying to break this too. I'm surprised there wasn't any test fallout
https://github.com/llvm/llvm-project/pull/210826
More information about the llvm-commits
mailing list