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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to