[all-commits] [llvm/llvm-project] ea4f44: [RISCV] Remove unused variable 'ST' in RISCVTarget...

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Tue Feb 6 23:45:13 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea4f44e85f7ca884d42b9b12bd13bab47c3e5d3c
      https://github.com/llvm/llvm-project/commit/ea4f44e85f7ca884d42b9b12bd13bab47c3e5d3c
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-02-07 (Wed, 07 Feb 2024)

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

  Log Message:
  -----------
  [RISCV] Remove unused variable 'ST' in RISCVTargetMachine.cpp (NFC)

llvm-project/llvm/lib/Target/RISCV/RISCVTargetMachine.cpp:358:27:
error: unused variable 'ST' [-Werror,-Wunused-variable]
    const RISCVSubtarget &ST = C->MF->getSubtarget<RISCVSubtarget>();
                          ^
1 error generated.




More information about the All-commits mailing list