[llvm-bugs] [Bug 28322] New: [PM] Remove use of old PM in the middle-end.
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Jun 26 17:02:24 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=28322
Bug ID: 28322
Summary: [PM] Remove use of old PM in the middle-end.
Product: new-bugs
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: chisophugis at gmail.com
CC: llvm-bugs at lists.llvm.org
Blocks: 28315
Classification: Unclassified
Right now, each pass/analysis we port has to keep a legacy shim which is
actually a nontrivial amount of code (although it varies from pass to pass).
Perhaps most importantly it forces awkward patterns for the core pass logic,
essentially requiring there to be 3 interfaces to be implemented:
1. the old PM interface
2. the new PM interface
3. a weird (and inconsistent across passes) meta-interface that both 1. and 2.
can be implemented in terms of.
Often, 3. takes the form of passing in the analysis objects explicitly or
passing a callback that lazily constructs them.
--
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/20160627/c993c1fd/attachment.html>
More information about the llvm-bugs
mailing list