[all-commits] [llvm/llvm-project] 77c910: [SPIRV] Fix -Wunused-variable in #224488 (#225897)

Aiden Grossman via All-commits all-commits at lists.llvm.org
Wed Sep 23 12:16:20 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 77c91047fb488f1b8d45678065a9b9a0c8e86189
      https://github.com/llvm/llvm-project/commit/77c91047fb488f1b8d45678065a9b9a0c8e86189
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2026-09-23 (Wed, 23 Sep 2026)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVLegalizeResourceBinding.cpp

  Log Message:
  -----------
  [SPIRV] Fix -Wunused-variable in #224488 (#225897)

Use [[maybe_unused]] as the operations either have side effects where we
can't inline them into the assert or the definitions/variable names
provide additional clarity.



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