[llvm] [Instrumentation] Support verifying machine function (PR #90931)

via llvm-commits llvm-commits at lists.llvm.org
Thu May 2 19:17:09 PDT 2024


================
@@ -115,7 +115,7 @@ int llvm::compileModuleWithNewPM(
   MachineModuleInfo MMI(&LLVMTM);
 
   PassInstrumentationCallbacks PIC;
-  StandardInstrumentations SI(Context, Opt.DebugPM);
+  StandardInstrumentations SI(Context, Opt.DebugPM, !NoVerify);
----------------
paperchalice wrote:

Command line option `verify-machineinstrs` is overlapped with `--disable-verify` when we use new pass manager.

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


More information about the llvm-commits mailing list