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: unassignedb...@nondot.org
          Reporter: aeuba...@google.com
                CC: alina.sbir...@gmail.com, htmldevelo...@gmail.com,
                    llvm-bugs@lists.llvm.org, v...@apple.com,
                    yuanfang.c...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to