-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Closed as not planned
Labels
mlirquestionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!
Description
- 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'?
Metadata
Metadata
Assignees
Labels
mlirquestionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!