We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c0f7a5 commit 835c45eCopy full SHA for 835c45e
mlir/lib/Conversion/MPIToLLVM/MPIToLLVM.cpp
@@ -405,7 +405,8 @@ std::unique_ptr<MPIImplTraits> MPIImplTraits::get(ModuleOp &moduleOp) {
405
return std::make_unique<OMPIImplTraits>(moduleOp);
406
if (!strAttr || strAttr.getValue() != "MPICH")
407
moduleOp.emitWarning() << "Unknown \"MPI:Implementation\" value in DLTI ("
408
- << strAttr.getValue() << "), defaulting to MPICH";
+ << (strAttr ? strAttr.getValue() : "<NULL>")
409
+ << "), defaulting to MPICH";
410
return std::make_unique<MPICHImplTraits>(moduleOp);
411
}
412
0 commit comments