[llvm] [Pass] Add some missing passes (PR #77600)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 10 20:27:06 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))
----------------
paperchalice wrote:
Yes, but when using `opt -print-pipeline-passes foo.ll` will report:
```sh
Could not parse dumped pass pipeline: unknown module pass 'BitcodeWriterPass'
```
https://github.com/llvm/llvm-project/pull/77600
More information about the llvm-commits
mailing list