diff options
author | Matthias Braun <matze@braunis.de> | 2017-06-06 00:26:13 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2017-06-06 00:26:13 +0000 |
commit | c7c06f158cb788fa9f299ed6395209516c84e7c2 (patch) | |
tree | a63118c2bfe7d727b2a4093958aeaa115c66b90d /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | d47e64398e626074e8fdb404be0d7f4c9dd5b9ba (diff) | |
download | bcm5719-llvm-c7c06f158cb788fa9f299ed6395209516c84e7c2.tar.gz bcm5719-llvm-c7c06f158cb788fa9f299ed6395209516c84e7c2.zip |
CodeGen/LLVMTargetMachine: Refactor ISel pass construction; NFCI
- Move ISel (and pre-isel) pass construction into TargetPassConfig
- Extract AsmPrinter construction into a helper function
Putting the ISel code into TargetPassConfig seems a lot more natural and
both changes together make make it easier to build custom pipelines
involving .mir in an upcoming commit. This moves MachineModuleInfo to an
earlier place in the pass pipeline which shouldn't have any effect.
llvm-svn: 304754
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions