[llvm] [PassManager] Support MachineFunctionProperties (PR #83668)

via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 7 22:01:12 PST 2024


================
@@ -64,6 +64,8 @@ extern llvm::cl::opt<bool> UseNewDbgInfoFormat;
 
 namespace llvm {
 
+class MachineFunction;
----------------
paperchalice wrote:

We already have some implementations in `llvm/CodeGen/MachinePassManager.h`. Declare `MachineFunction` here to make `PassManager<MachineFunction>` contains correct pass concept, i.e. `MachinePassConcept`.

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


More information about the llvm-commits mailing list