[all-commits] [llvm/llvm-project] c03b6e: [SPIRV] Mark maybe unused extractSubvector variabl...

Greg Roth via All-commits all-commits at lists.llvm.org
Wed Nov 13 16:44:40 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c03b6e89434c11c936dc2fa8b01f1deb95b1923a
      https://github.com/llvm/llvm-project/commit/c03b6e89434c11c936dc2fa8b01f1deb95b1923a
  Author: Greg Roth <grroth at microsoft.com>
  Date:   2024-11-13 (Wed, 13 Nov 2024)

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

  Log Message:
  -----------
  [SPIRV] Mark maybe unused extractSubvector variable (#116117)

Change #115178 introduced a variable that is only used in an assert,
which could result in an unused variable warning in builds without
asserts enabled. This just addes the maybe_unused attribute to silence
the warning.



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