[all-commits] [llvm/llvm-project] d338d1: [X86] Fix -Wunused-variable in X86InstrInfo.cpp (NFC)

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Mon Jan 15 19:58:15 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d338d15243d221198ec35fbe97525ca3b1de1470
      https://github.com/llvm/llvm-project/commit/d338d15243d221198ec35fbe97525ca3b1de1470
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-01-16 (Tue, 16 Jan 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86InstrInfo.cpp

  Log Message:
  -----------
  [X86] Fix -Wunused-variable in X86InstrInfo.cpp (NFC)

llvm-project/llvm/lib/Target/X86/X86InstrInfo.cpp:3467:14:
error: unused variable 'isMemOp' [-Werror,-Wunused-variable]
 3467 |   const auto isMemOp = [](const MCOperandInfo &OpInfo) -> bool {
      |              ^~~~~~~
1 error generated.




More information about the All-commits mailing list