[all-commits] [llvm/llvm-project] 45c305: [AArch64] Fix unused-variable warning for non-dbg ...

Chenguang Wang via All-commits all-commits at lists.llvm.org
Fri Jun 6 10:35:38 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 45c3053ae0abfb570ec41994c96c754b4daa7efa
      https://github.com/llvm/llvm-project/commit/45c3053ae0abfb570ec41994c96c754b4daa7efa
  Author: Chenguang Wang <w3cing at gmail.com>
  Date:   2025-06-06 (Fri, 06 Jun 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp

  Log Message:
  -----------
  [AArch64] Fix unused-variable warning for non-dbg builds. (#143175)

AArch64ISelLowering.cpp currently fails -Wunused-variable because SrcVT
is only used in assert(), so it is an unused variable if not using debug
builds. This behavior was introduced in 2c0a2261.



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