File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
mlir/lib/Conversion/MPIToLLVM Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ class OMPIImplTraits : public MPIImplTraits {
272272
273273 Value getCommWorld (const Location loc,
274274 ConversionPatternRewriter &rewriter) override {
275- auto context = rewriter.getContext ();
275+ auto * context = rewriter.getContext ();
276276 // get external opaque struct pointer type
277277 auto commStructT =
278278 LLVM::LLVMStructType::getOpaque (" ompi_communicator_t" , context);
@@ -324,7 +324,7 @@ class OMPIImplTraits : public MPIImplTraits {
324324 else
325325 assert (false && " unsupported type" );
326326
327- auto context = rewriter.getContext ();
327+ auto * context = rewriter.getContext ();
328328 // get external opaque struct pointer type
329329 auto typeStructT =
330330 LLVM::LLVMStructType::getOpaque (" ompi_predefined_datatype_t" , context);
@@ -383,7 +383,7 @@ class OMPIImplTraits : public MPIImplTraits {
383383 op = " ompi_mpi_replace" ;
384384 break ;
385385 }
386- auto context = rewriter.getContext ();
386+ auto * context = rewriter.getContext ();
387387 // get external opaque struct pointer type
388388 auto opStructT =
389389 LLVM::LLVMStructType::getOpaque (" ompi_predefined_op_t" , context);
You can’t perform that action at this time.
0 commit comments