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

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 16 06:44:25 PDT 2024


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

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

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


More information about the llvm-commits mailing list