| Issue |
52885
|
| Summary |
MLIR Pass pipeline serialization can't be parsed back
|
| Labels |
mlir:core
|
| Assignees |
River707
|
| Reporter |
joker-eph
|
The inline has a nested pipeline that gets serialized:
`inline{default-pipeline=canonicalize{ max-iterations=10 region-simplify=true top-down=true} max-iterations=4 }`
Unfortunately the string option for `default-pipeline` contains white spaces which are applied to the option for the inline pass, so it seems that this is parsed as:
`default-pipeline` => `canonicalize{`
`max-iterations` => `10`
`region-simplify` => `true`
`top-down` => `true}`
`max-iterations` => `4`
Repro:
```
$ echo | ./build/bin/mlir-opt --pass-pipeline="inline{default-pipeline=canonicalize{ max-iterations=10 region-simplify=true top-down=true} max-iterations=4 }"
<Pass-Options-Parser>: no such option region-simplify
<unknown>:0: error: failed to add `inline` with options `default-pipeline=canonicalize{ max-iterations=10 region-simplify=true top-down=true} max-iterations=4 `
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs