[PATCH] D153468: [clang][LTO] Add flag to run verifier after every pass
Arthur Eubanks via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 22 08:32:49 PDT 2023
aeubanks added inline comments.
================
Comment at: clang/test/CodeGen/verify-each.c:5
+// RUN: %clang_cc1 -O2 -o /dev/null -triple x86_64-unknown-linux-gnu -emit-llvm-bc %s -fdebug-pass-manager 2>&1 | FileCheck %s --check-prefix=NO
+// NO-NOT: Verifying
+
----------------
tejohnson wrote:
> Huh, really surprised we are never normally running the verifier through clang! How did we hit the verification error you used this to narrow down in the first place?
there is one, but that's a manual run of the verifier pass that doesn't output anything, as opposed to the verifier being run directly by pass instrumentation which does output something when debug logging is on
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153468/new/
https://reviews.llvm.org/D153468
More information about the cfe-commits
mailing list