[llvm] [CodeGen] Add MachineRegisterClassInfo analysis pass (PR #120690)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 10 05:27:06 PST 2025


================
@@ -594,6 +596,7 @@ void RegisterCoalescer::getAnalysisUsage(AnalysisUsage &AU) const {
   AU.addRequired<MachineLoopInfoWrapperPass>();
   AU.addPreserved<MachineLoopInfoWrapperPass>();
   AU.addPreservedID(MachineDominatorsID);
+  AU.addRequired<MachineRegisterClassInfoWrapperPass>();
----------------
wangpc-pp wrote:

Yeah I missed that, I will check and add the preserved set.

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


More information about the llvm-commits mailing list