[llvm] [NewPM][CodeGen] Add `FunctionToMachineFunctionAnalysis` (PR #88610)

via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 18 21:13:37 PDT 2024


================
@@ -327,12 +327,20 @@ class LLVMContext {
   // Module needs access to the add/removeModule methods.
   friend class Module;
 
+  // Each MachineFunction need a unique number.
+  // See FunctionNumber in MachineFunction.
+  friend class FunctionToMachineFunctionAnalysis;
----------------
paperchalice wrote:

 Move to public now.

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


More information about the llvm-commits mailing list