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

            Bug ID: 44573
           Summary: [NewPM] InstCombine always run with ExpensiveCombines
                    enabled
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedb...@nondot.org
          Reporter: nikita....@gmail.com
                CC: llvm-bugs@lists.llvm.org

NewPM always adds InstCombine in default configuration, which means that
ExpensiveCombines is enabled:
https://github.com/llvm/llvm-project/blob/53b68e676faf208b4a8f817e9bd4ddd522cc6006/llvm/lib/Passes/PassBuilder.cpp#L436

Legacy PM only enabled ExpensiveCombines at O3:
https://github.com/llvm/llvm-project/blob/53b68e676faf208b4a8f817e9bd4ddd522cc6006/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp#L247-L251

I'm assuming that this discrepancy is not intentional. Originally mentioned on
https://reviews.llvm.org/D72861.

-- 
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