[all-commits] [llvm/llvm-project] 5f0f26: [MemRef] Fix -Wunused-function (#194366)

Aiden Grossman via All-commits all-commits at lists.llvm.org
Mon Apr 27 06:25:06 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f0f269d5f835a07d74a2428e7e372c60b4c048f
      https://github.com/llvm/llvm-project/commit/5f0f269d5f835a07d74a2428e7e372c60b4c048f
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2026-04-27 (Mon, 27 Apr 2026)

  Changed paths:
    M mlir/lib/Dialect/MemRef/Transforms/ElideReinterpretCast.cpp

  Log Message:
  -----------
  [MemRef] Fix -Wunused-function (#194366)

areIndicesInBounds is only used within an assert statement, so mark it
[[maybe_unused]] so that the compiler does not otherwise warn in
non-assertion builds.



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