[llvm] [llc] Provide `opt` like verifier options (PR #106665)

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 30 10:23:02 PDT 2024


================
@@ -147,6 +150,8 @@ int llvm::compileModuleWithNewPM(
     ExitOnErr(PB.parsePassPipeline(MPM, PassPipeline));
     MPM.addPass(PrintMIRPreparePass(*OS));
     MachineFunctionPassManager MFPM;
+    if (VK == VerifierKind::VerifyOut)
----------------
aeubanks wrote:

don't we need this for `LLVMTM.buildCodeGenPipeline` as well?

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


More information about the llvm-commits mailing list