[PM] Wire up support for writing bitcode with new PM.

Press ? to show keyboard shortcuts.
Committed
chandlercJan 12 2014, 11:38 PM
Parents
rL199077: llvm/test/ExecutionEngine/MCJIT/load-object-a.ll: Put together rm(1) and mkdir…
Branches
Unknown
Tags
Unknown
Subscribers
None
Description

[PM] Wire up support for writing bitcode with new PM.

This moves the old pass creation functionality to its own header and
updates the callers of that routine. Then it adds a new PM supporting
bitcode writer to the header file, and wires that up in the opt tool.
A test is added that round-trips code into bitcode and back out using
the new pass manager.

rL199078

llvm/trunk/include/llvm/Bitcode/BitcodeWriterPass.h

Loading...

llvm/trunk/include/llvm/Bitcode/ReaderWriter.h

Loading...

llvm/trunk/lib/Bitcode/Writer/BitcodeWriterPass.cpp

Loading...

llvm/trunk/test/Other/new-pass-manager.ll

Loading...

llvm/trunk/tools/llvm-extract/llvm-extract.cpp

Loading...

llvm/trunk/tools/opt/NewPMDriver.cpp

Loading...

llvm/trunk/tools/opt/opt.cpp

Loading...

Add Comment