[llvm] [CodeGen][NewPM] Port SpillPlacement analysis to NPM (PR #116618)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 22 10:09:48 PST 2024


================
@@ -154,17 +157,51 @@ class SpillPlacement : public MachineFunctionPass {
     return BlockFrequencies[Number];
   }
 
+  bool invalidate(MachineFunction &MF, const PreservedAnalyses &PA,
+                  MachineFunctionAnalysisManager::Invalidator &Inv);
+
+  // Out of line definitions so unique_ptr<Node[]> doesn't need to be complete.
----------------
arsenm wrote:

Don't really need to comment this 

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


More information about the llvm-commits mailing list