[Mlir-commits] [mlir] [mlir][mpi] Lowering Mpi To LLVM (PR #127053)

Kazu Hirata llvmlistbot at llvm.org
Fri Feb 21 09:32:22 PST 2025


kazutakahirata wrote:

With this PR, I am getting:

```
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/unique_ptr.h:93:2: error: delete called on '(anonymous namespace)::MPIImplTraits' that is abstract but has non-virtual destructor [-Werror,-Wdelete-abstract-non-virtual-dtor]
        delete __ptr;
        ^
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/unique_ptr.h:398:4: note: in instantiation of member function 'std::default_delete<(anonymous namespace)::MPIImplTraits>::operator()' requested here
          get_deleter()(std::move(__ptr));
          ^
mlir/lib/Conversion/MPIToLLVM/MPIToLLVM.cpp:313:22: note: in instantiation of member function 'std::unique_ptr<(anonymous namespace)::MPIImplTraits>::~unique_ptr' requested here
    auto mpiTraits = MPIImplTraits::get(moduleOp);
```

Is there any way you could take a look?  My cmake configuration is `-DLLVM_ENABLE_WERROR=On` with clang being the host compiler.  Thanks in advance!


https://github.com/llvm/llvm-project/pull/127053


More information about the Mlir-commits mailing list