<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/90344>90344</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[mlir] mlir-opt asserts when dumping the pass pipeline
</td>
</tr>
<tr>
<th>Labels</th>
<td>
mlir
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
ggeorgakoudis
</td>
</tr>
</table>
<pre>
Running mlir-opt with these options:
```
mlir-opt --sparsifier="enable-runtime-library=false parallelization-strategy=dense-outer-loop gpu-triple=nvptx64-nvidia-cuda gpu-chip=sm_70" --dump-pass-pipeline
```
asserts with:
```
builtin.module(func.func(linalg-generalize-named-ops),sparsification-and-bufferization,sparse-storage-specifier-to-llvm,func.func(canonicalize{ max-iterations=10 max-num-rewrites=-1 region-simplify=true test-convergence=false top-down=true}),func.func(finalizing-bufferize),sparse-gpu-codegen{enable-runtime-library=true num-threads=1024},gpu.module(strip-debuginfo),gpu.module(convert-scf-to-cf),gpu.module(convert-gpu-to-nvvm{has-redux=false index-bitwidth=0 use-bare-ptr-memre
f-call-conv=false}),func.func(convert-linalg-to-loops),func.func(convert-vector-to-scf{full-unroll=false lower-tensors=false target-rank=1}),func.func(expand-realloc{emit-deallocs=true}),func.func(convert-scf-to-cf),expand-strided-metadata,lower-affine,convert-vector-to-llvm{enable-amx=false enable-arm-neon=false enable-arm-sve=false enable-x86vector=false force-32bit-vector-indices=true reassociate-fp-reductions=false},finalize-memref-to-llvm{index-bitwidth=0 use-aligned-all
oc=false use-generic-functions=false},func.func(convert-complex-to-standard),func.func(arith-expand{include-bf16=false}),func.func(convert-math-to-llvm{approximate-log1p=true}),convert-math-to-libm,convert-complex-to-libm,convert-vector-to-llvm{enable-amx=false enable-arm-neon=false enable-arm-sve=false enable-x86vecto
r=false force-32bit-vector-indices=true reassociate-fp-reductions=false},convert-complex-to-llvm,convert-vector-to-llvm{enable-amx=false enable-arm-neon=false enable-arm-sve=false enable-x86vector=false force-32bit-vector-indices=true reassociate-fp-reductions=false},convert-func-to-llvm{index-bitwidth=0 use-bare-ptr-m
emref-call-conv=false},nvvm-attach-target{O=2 chip=sm_70 fast=false features= ftz=false module= triple=nvptx64-nvidia-cuda},gpu-to-llvm{gpu-binary-annotation=gpu.binary use-bare-pointers-for-host=false use-bare-pointers-for-kernels=false},gpu-module-to-binary{format=fatbin handler=unknown data value for option
UNREACHABLE executed at /usr/workspace/ggeorgak/projects/mfem/llvm-project/mlir/include/mlir/Pass/PassOptions.h:136!
```
Some option of `gpu-module-to-binary` does not parse.
git describe: `llvmorg-19-init-8111-ga27ab3f54377`
Reproduction: https://godbolt.org/z/zaajfonEv
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzUV8tu47gS_Rp6Q5RhUX4uvEjsNu7i4vZFD2Y9KJEliR2KFPhw3Pn6ASW_JnF6ZtOLARIbKpGsc04dlcoYgm4s0ZYtntliP8EUW-e3TUPON_jiktJhUjn1Y_stWattwzujPbg-8lcdWx5bCsRdH7WzgZVPbLZnsye2nJ3_hsvrFoDQow-61uRZuWdCkMXKEPhko-4IjK48-h-s3NdoAvEePRpDRr9hzgAheozU5AWKbCBwKZIH41zPmz5B9Lo3xMq9PfbxtJyDPWqlEWRSOCyQre5ZuQ_dH6sZE4IDqNT10GMI0OuejLb0kAOGQD6GgfVnPKukTdR22jmVDDGxrpOV0_zBxNpoi6aBhix5NPqNwGJHClwfmNgwsbtII0eqaBVUqa7Jn8lflhCE6Dw2BKEnOWgJ0YExx46J3X1KidZZLYdsbPXMOzyBjuTxXK19MRtiNnXg6dXrSDkKBffUDHLrrje6znJHn4hHChGks0fyDVlJ1zpF14Nyr_a8kK32I6d7NHUWQL9p21x50R1zgqE-TlFDlq2eP3XGgCRDjq0nVCMPMR9y7po-3eQP2Q6gqEqNtrUbk_1lxcglQpB11lDWP1kz-MuBPR47tnpuMYAnlU5XDbRVdIJKx1etskf2M54CQYWeoI8eOur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