matthias-springer wrote: > I figure it would be a good first place to start. It's a good start. But I think using the walk-pattern driver instead of a dialect conversion for this pass would be even better here. https://github.com/llvm/llvm-project/pull/154075