[llvm] delete MF.verify from PPCMIPeephole pass (PR #108075)

Chen Zheng via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 13 16:23:08 PDT 2024


================
@@ -177,11 +177,6 @@ struct PPCMIPeephole : public MachineFunctionPass {
     if (skipFunction(MF.getFunction()))
       return false;
     bool Changed = simplifyCode();
-#ifndef NDEBUG
----------------
chenzheng1030 wrote:

Totally removing this sounds not good to save compile time, functionality issue will be hidden. We have run machine verifier many times, why the one here matters?

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


More information about the llvm-commits mailing list