[llvm-bugs] [Bug 44573] New: [NewPM] InstCombine always run with ExpensiveCombines enabled
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Jan 16 12:55:32 PST 2020
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: unassignedbugs at nondot.org
Reporter: nikita.ppv at gmail.com
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200116/cb835283/attachment.html>
More information about the llvm-bugs
mailing list