[llvm] [NFC][CodeGen] Adopt MachineFunctionProperties convenience accessors (PR #141101)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu May 22 14:07:41 PDT 2025


================
@@ -239,6 +239,12 @@ class MachineFunctionProperties {
     return *this;
   }
 
+  // Set all the properties.
+  MachineFunctionProperties &set() {
+    Properties.set();
+    return *this;
+  }
----------------
arsenm wrote:

This seems not useful and a hazard. No pass is going to change all of the properties 

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


More information about the llvm-commits mailing list