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

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 10 20:35:45 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:

I'm assuming that error is from running the opt invocation with the textual representation of the pass pipeline from `-print-pipeline-passes`? What is your invocation to get the Bitcode Writer in the printed pass pipeline? That doesn't occur (for me) with ToT opt with something like `opt -passes='default<O3>' -print-pipeline-passes test.ll` for example.

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


More information about the llvm-commits mailing list