[Mlir-commits] [mlir] 9ee1f15 - [MLIR] Apply clang-tidy fixes for llvm-qualified-auto in MPIToLLVM.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Sun Sep 14 05:38:07 PDT 2025
Author: Mehdi Amini
Date: 2025-09-14T05:37:34-07:00
New Revision: 9ee1f159dccbee1e19ab7584e678af9be1054e2d
URL: https://github.com/llvm/llvm-project/commit/9ee1f159dccbee1e19ab7584e678af9be1054e2d
DIFF: https://github.com/llvm/llvm-project/commit/9ee1f159dccbee1e19ab7584e678af9be1054e2d.diff
LOG: [MLIR] Apply clang-tidy fixes for llvm-qualified-auto in MPIToLLVM.cpp (NFC)
Added:
Modified:
mlir/lib/Conversion/MPIToLLVM/MPIToLLVM.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Conversion/MPIToLLVM/MPIToLLVM.cpp b/mlir/lib/Conversion/MPIToLLVM/MPIToLLVM.cpp
index aa47e398eb684..16ef11a8b14de 100644
--- a/mlir/lib/Conversion/MPIToLLVM/MPIToLLVM.cpp
+++ b/mlir/lib/Conversion/MPIToLLVM/MPIToLLVM.cpp
@@ -272,7 +272,7 @@ class OMPIImplTraits : public MPIImplTraits {
Value getCommWorld(const Location loc,
ConversionPatternRewriter &rewriter) override {
- auto context = rewriter.getContext();
+ auto *context = rewriter.getContext();
// get external opaque struct pointer type
auto commStructT =
LLVM::LLVMStructType::getOpaque("ompi_communicator_t", context);
@@ -324,7 +324,7 @@ class OMPIImplTraits : public MPIImplTraits {
else
assert(false && "unsupported type");
- auto context = rewriter.getContext();
+ auto *context = rewriter.getContext();
// get external opaque struct pointer type
auto typeStructT =
LLVM::LLVMStructType::getOpaque("ompi_predefined_datatype_t", context);
@@ -383,7 +383,7 @@ class OMPIImplTraits : public MPIImplTraits {
op = "ompi_mpi_replace";
break;
}
- auto context = rewriter.getContext();
+ auto *context = rewriter.getContext();
// get external opaque struct pointer type
auto opStructT =
LLVM::LLVMStructType::getOpaque("ompi_predefined_op_t", context);
More information about the Mlir-commits
mailing list