[all-commits] [llvm/llvm-project] 1227b1: [SelectionDAG] Fix -Wunused-variable (#201932)

Aiden Grossman via All-commits all-commits at lists.llvm.org
Fri Jun 5 13:25:20 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1227b19800524b542df685282096a2fe07a0aa5d
      https://github.com/llvm/llvm-project/commit/1227b19800524b542df685282096a2fe07a0aa5d
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2026-06-05 (Fri, 05 Jun 2026)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

  Log Message:
  -----------
  [SelectionDAG] Fix -Wunused-variable (#201932)

NumDstElts is only used in assertions so mark it [[maybe_unused]] to
prevent any issues with non-asserts builds and -Wunused-variable.



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