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

via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 13 04:03:20 PDT 2024


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

If possible, I would prefer verify machine function properties in instrumentation (e.g. by adding RequiredProperties in MachineFunction), modify properties in pass, e.g. by a Scope-Bound Resource Management object, but still need to insert boilerplate code 😕.

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


More information about the llvm-commits mailing list