mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-01 17:31:37 +00:00
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. llvm-svn: 199078