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

via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 16 11:21:21 PDT 2024


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

> Isn't the verifier run after every pass anyway if EXPENSIVE_CHECKS are enabled?

Tried and can confirm that this is the case.

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


More information about the llvm-commits mailing list