[llvm-bugs] [Bug 47633] New: -debugify-each/-debugify-export don't work under new pass manager
    via llvm-bugs 
    llvm-bugs at lists.llvm.org
       
    Wed Sep 23 18:41:35 PDT 2020
    
    
  
https://bugs.llvm.org/show_bug.cgi?id=47633
            Bug ID: 47633
           Summary: -debugify-each/-debugify-export don't work under new
                    pass manager
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: aeubanks at google.com
                CC: alina.sbirlea at gmail.com, htmldeveloper at gmail.com,
                    llvm-bugs at lists.llvm.org, vsk at apple.com,
                    yuanfang.chen at sony.com
            Blocks: 46649
https://reviews.llvm.org/D46525 added support for -debugify-each, which adds a
pass before and after other passes are added. It is fairly hacky, involving
subclassing legacy::PassManager and overriding the add() method.
With the new PM's more template metaprogramming/concept-based polymorphism
approach, there doesn't seem to be a good way of dynamically inserting passes
when passes are added.
Is -debugify-each/export really needed? Or is manually adding
debugify/check-debugify passes good enough?
Referenced Bugs:
https://bugs.llvm.org/show_bug.cgi?id=46649
[Bug 46649] Change default pass manager to new pass manager
-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200924/810a34f8/attachment.html>
    
    
More information about the llvm-bugs
mailing list