[all-commits] [llvm/llvm-project] 71a197: [IR] Remove unused and mark debug-only verifier te...

Aditya Medhane via All-commits all-commits at lists.llvm.org
Wed Jun 10 08:02:31 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 71a19716198adcd11c67d6a433e37b2d87afe4f1
      https://github.com/llvm/llvm-project/commit/71a19716198adcd11c67d6a433e37b2d87afe4f1
  Author: Aditya Medhane <sherlockedaditya at gmail.com>
  Date:   2026-06-10 (Wed, 10 Jun 2026)

  Changed paths:
    M llvm/lib/IR/SafepointIRVerifier.cpp
    M llvm/lib/IR/Verifier.cpp

  Log Message:
  -----------
  [IR] Remove unused and mark debug-only verifier templates (NFC) (#202975)

Two verifier templates trip `-Wunused-template`.

In `Verifier.cpp`, `isValidMetadataArray` is a leftover declaration with
no definition and no callers, so it's removed. In
`SafepointIRVerifier.cpp`, `PrintValueSet` is only used inside
`LLVM_DEBUG`, so it gets compiled out in release builds and never
instantiates; it's marked `[[maybe_unused]]`.

NFC.

Part of #202945.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list