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

zhijian lin via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 16 08:31:59 PDT 2024


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

I do not think so ,  the verifier only run after the passes  which has 

```
#if defined(EXPENSIVE_CHECKS)
  MF.verify();
#endif
```

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


More information about the llvm-commits mailing list