[all-commits] [llvm/llvm-project] 221402: [CodeGen] Fix -Wunused-variable in RegisterCoalesc...

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Mon Oct 2 03:39:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2214026e957397cc6385f778b28d570485a31856
      https://github.com/llvm/llvm-project/commit/2214026e957397cc6385f778b28d570485a31856
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2023-10-02 (Mon, 02 Oct 2023)

  Changed paths:
    M llvm/lib/CodeGen/RegisterCoalescer.cpp

  Log Message:
  -----------
  [CodeGen] Fix -Wunused-variable in RegisterCoalescer.cpp (NFC)

/llvm-project/llvm/lib/CodeGen/RegisterCoalescer.cpp:1320:18: error: unused variable 'DefSubIdx' [-Werror,-Wunused-variable]
  const unsigned DefSubIdx = DefMI->getOperand(0).getSubReg();
                 ^
1 error generated.




More information about the All-commits mailing list