[llvm] [CodeGen][NewPM] Extract MachineFunctionProperties modification part to an RAII class (PR #94854)
    via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Jun 17 18:18:46 PDT 2024
    
    
  
================
@@ -245,24 +245,27 @@ class PassManager : public PassInfoMixin<
     return PA;
   }
 
-  // FIXME: Revert to enable_if style when gcc >= 11.1
----------------
paperchalice wrote:
This was introduced in https://github.com/llvm/llvm-project/commit/b361b5369ed4bb186f2a11459b1bc1d54d73a33e to distinguish machine function passes and ir passes. `MachinePassModel` is removed now, so we can revert to `enable_if` form.
https://github.com/llvm/llvm-project/pull/94854
    
    
More information about the llvm-commits
mailing list