[all-commits] [llvm/llvm-project] 90b3e6: [RISCV] Fix a warning

Kazu Hirata via All-commits all-commits at lists.llvm.org
Mon Nov 27 10:32:31 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 90b3e6711e0a03520fb617994178cdbe083ff20c
      https://github.com/llvm/llvm-project/commit/90b3e6711e0a03520fb617994178cdbe083ff20c
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-11-27 (Mon, 27 Nov 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVFoldMasks.cpp

  Log Message:
  -----------
  [RISCV] Fix a warning

This patch fixes:

  llvm/lib/Target/RISCV/RISCVFoldMasks.cpp:151:14: error: unused
  variable 'HasPolicyOp' [-Werror,-Wunused-variable]




More information about the All-commits mailing list