[Mlir-commits] [mlir] [mlir][gpu] GPUToROCDL: Add C++ argument to populate allowedDialects (PR #157402)

Mehdi Amini llvmlistbot at llvm.org
Mon Sep 8 10:43:02 PDT 2025


joker-eph wrote:

> > @pabloantoniom do you have an use case for this? Or is just an improvement? I'm wondering if it's the latter, because I'm thinking on working in removing* these passes and only keep convert-to-llvm.
> > *There would be a transition period where the pass names would be available as pipelines.
> 
> Yes, there is an use case for this. You can check [this downstream user](https://github.com/ROCm/rocMLIR/blob/05e0d74d7409af80e5e4f985973f7128deb82351/mlir/lib/Dialect/Rock/Pipelines/Pipelines.cpp#L256).

I think the question behind the question is: what can you do with this pass that you can't do with convert-to-llvm and what would it take to make it possible to do with convert-to-llvm?

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


More information about the Mlir-commits mailing list