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 {
272
272
273
273
Value getCommWorld (const Location loc,
274
274
ConversionPatternRewriter &rewriter) override {
275
- auto context = rewriter.getContext ();
275
+ auto * context = rewriter.getContext ();
276
276
// get external opaque struct pointer type
277
277
auto commStructT =
278
278
LLVM::LLVMStructType::getOpaque (" ompi_communicator_t" , context);
@@ -324,7 +324,7 @@ class OMPIImplTraits : public MPIImplTraits {
324
324
else
325
325
assert (false && " unsupported type" );
326
326
327
- auto context = rewriter.getContext ();
327
+ auto * context = rewriter.getContext ();
328
328
// get external opaque struct pointer type
329
329
auto typeStructT =
330
330
LLVM::LLVMStructType::getOpaque (" ompi_predefined_datatype_t" , context);
@@ -383,7 +383,7 @@ class OMPIImplTraits : public MPIImplTraits {
383
383
op = " ompi_mpi_replace" ;
384
384
break ;
385
385
}
386
- auto context = rewriter.getContext ();
386
+ auto * context = rewriter.getContext ();
387
387
// get external opaque struct pointer type
388
388
auto opStructT =
389
389
LLVM::LLVMStructType::getOpaque (" ompi_predefined_op_t" , context);
You can’t perform that action at this time.
0 commit comments