Issue 155544
Summary [mlir-reduce] inconsistent command line behavior
Labels new issue
Assignees
Reporter vfdff
    * When I try mlir-reduce to reduce my mlir file, it failed as unregistered-dialect. and the tool suggests me use option **-allow-unregistered-dialect** to work aound.
```
mlir-reduce test.mlir -reduction-tree='traversal-mode=0 test=test.sh'
loc("test.mlir":22:45): error: #"hacc"<"aicore_kind<Ascend310P>"> : 'none' attribute created with unregistered dialect. If this is intended, please call allowUnregisteredDialects() on the MLIRContext, or use -allow-unregistered-dialect with the MLIR opt tool used
```

* Then I try to add the above option -allow-unregistered-dialect, it failed with Unknown command line argument '-allow-unregistered-dialect'
```
mlir-reduce: Unknown command line argument '-allow-unregistered-dialect'.  Try: 'mlir-reduce --help'
mlir-reduce: Did you mean '--allocate-arm-sme-tiles'?
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to