[llvm] [Pass] Add some missing passes (PR #77600)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 10 20:25:29 PST 2024


================
@@ -142,6 +143,7 @@ MODULE_PASS("tsan-module", ModuleThreadSanitizerPass())
 MODULE_PASS("verify", VerifierPass())
 MODULE_PASS("view-callgraph", CallGraphViewerPass())
 MODULE_PASS("wholeprogramdevirt", WholeProgramDevirtPass())
+MODULE_PASS("write-bitcode", BitcodeWriterPass(nulls(), true))
----------------
boomanaiden154 wrote:

What's the point of including this here? The canonical way to use the bitcode writer pass seems to be to add it manually to the pipeline so whatever is using the pipeline can set it's own output stream (which is just set to null here, seeming to make the pass not really useful?).

https://github.com/llvm/llvm-project/pull/77600


More information about the llvm-commits mailing list