[all-commits] [llvm/llvm-project] d98f75: [JITLink][ORC] Clean up unused and assert-only fun...

Aditya Medhane via All-commits all-commits at lists.llvm.org
Mon Jun 29 01:46:18 PDT 2026


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

  Changed paths:
    M llvm/lib/ExecutionEngine/JITLink/aarch32.cpp
    M llvm/lib/ExecutionEngine/Orc/OrcABISupport.cpp

  Log Message:
  -----------
  [JITLink][ORC] Clean up unused and assert-only function templates (NFC) (#202973)

These function templates trip `-Wunused-template`.

In `aarch32.cpp`, `writeRegister` has no callers, so it's removed.
`checkRegister` is only used inside `assert`, so it gets compiled out in
release builds (`-DNDEBUG`) and never instantiates; it's marked
`[[maybe_unused]]`. Same story for `stubAndPointerRangesOk` in
`OrcABISupport.cpp`, which is only used in asserts.

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