[llvm-bugs] [Bug 49727] New: [NewPM] -print-after=<pass-name> not working

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Mar 25 15:16:37 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=49727

            Bug ID: 49727
           Summary: [NewPM]  -print-after=<pass-name> not working
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Core LLVM classes
          Assignee: unassignedbugs at nondot.org
          Reporter: florian_hahn at apple.com
                CC: llvm-bugs at lists.llvm.org

It appears as if -print-after=<passname> does not work properly with the new
pass manager.

Running `opt -print-after=early-cse -early-cse -enable-new-pm=0` produces debug
output with the function dumped after early-use, but with ` -enable-new-pm=1`
no output is produced.

See https://godbolt.org/z/8c633xvd8 (-enable-new-pm=0; produces debug output)
See https://godbolt.org/z/KvxGKrbGY (-enable-new-pm=1; no debug output)

-- 
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/20210325/7dbce788/attachment-0001.html>


More information about the llvm-bugs mailing list