[all-commits] [llvm/llvm-project] ac798e: [mlir] Fix -Wunused-variable in ROCDL/Target.cpp (...

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Fri Nov 3 17:15:57 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ac798eaa96c0cce3ddd37894d38b09ef5820443d
      https://github.com/llvm/llvm-project/commit/ac798eaa96c0cce3ddd37894d38b09ef5820443d
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2023-11-04 (Sat, 04 Nov 2023)

  Changed paths:
    M mlir/lib/Target/LLVM/ROCDL/Target.cpp

  Log Message:
  -----------
  [mlir] Fix -Wunused-variable in ROCDL/Target.cpp (NFC)

/llvm-project/mlir/lib/Target/LLVM/ROCDL/Target.cpp:181:40: error: unused variable 'targetMachine' [-Werror,-Wunused-variable]
  std::optional<llvm::TargetMachine *> targetMachine =
                                       ^
1 error generated.




More information about the All-commits mailing list