LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 28323 - [PM] Use new PM in production for Clang, LLD, libLTO, etc. middle-end
Summary: [PM] Use new PM in production for Clang, LLD, libLTO, etc. middle-end
Status: NEW
Alias: None
Product: new-bugs
Classification: Unclassified
Component: new bugs (show other bugs)
Version: unspecified
Hardware: PC Linux
: P normal
Assignee: Unassigned LLVM Bugs
URL:
Keywords:
Depends on:
Blocks: 28322
  Show dependency tree
 
Reported: 2016-06-26 19:17 PDT by Sean Silva
Modified: 2016-06-27 12:12 PDT (History)
4 users (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sean Silva 2016-06-26 19:17:52 PDT
This bug tracks progress towards moving the main middle-end compilation codepath of Clang, LLD, libLTO, etc. to the new PM.

Clang will be the most work for this. Essentially the entirety of PassManagerBuilder in lib/Transforms/IPO/PassManagerBuilder.cpp needs to be ported, including the "extension" point stuff.

The part of PassBuilder (lib/Passes/PassBuilder.cpp) which seems intended to replace PassManagerBuilder is mostly FIXME's at the time of this writing.

Porting the LTO use case seems like a good first step.