[Mlir-commits] [mlir] 867678d - Apply clang-tidy fixes for llvm-qualified-auto in Target.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Thu Feb 15 16:03:24 PST 2024
Author: Mehdi Amini
Date: 2024-02-15T16:02:41-08:00
New Revision: 867678dd81031edc36e1acc7a7f7cda01e2e0514
URL: https://github.com/llvm/llvm-project/commit/867678dd81031edc36e1acc7a7f7cda01e2e0514
DIFF: https://github.com/llvm/llvm-project/commit/867678dd81031edc36e1acc7a7f7cda01e2e0514.diff
LOG: Apply clang-tidy fixes for llvm-qualified-auto in Target.cpp (NFC)
Added:
Modified:
mlir/lib/Target/LLVM/NVVM/Target.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Target/LLVM/NVVM/Target.cpp b/mlir/lib/Target/LLVM/NVVM/Target.cpp
index eaf94147e2a6f1..68cd0e22d8e9e6 100644
--- a/mlir/lib/Target/LLVM/NVVM/Target.cpp
+++ b/mlir/lib/Target/LLVM/NVVM/Target.cpp
@@ -328,7 +328,7 @@ NVPTXSerializer::compileToBinary(const std::string &ptxCode) {
"--opt-level", optLevel});
bool useFatbin32 = false;
- for (auto cArg : cmdOpts.second) {
+ for (const auto *cArg : cmdOpts.second) {
// All `cmdOpts` are for `ptxas` except `-32` which passes `-32` to
// `fatbinary`, indicating a 32-bit target. By default a 64-bit target is
// assumed.
More information about the Mlir-commits
mailing list