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: unassignedb...@nondot.org Reporter: chisophu...@gmail.com CC: llvm-bugs@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.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs