Allow unknown types to pass through without being marked as illegal.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/Arith/Transforms/EmulateWideInt.cpp | ||
---|---|---|
643 | Should we actually add addConversion([](Type type) -> Optional<Type> { return type; }); at L629 to let all other types pass through? There can exist dialect types we don't know about at all. |
mlir/lib/Dialect/Arith/Transforms/EmulateWideInt.cpp | ||
---|---|---|
643 | Originally, I thought that out-of-tree passes would be able to add custom conversions to this type converter to support whatever types they need. Thanks for the suggestion! |
Should we actually add addConversion([](Type type) -> Optional<Type> { return type; }); at L629 to let all other types pass through? There can exist dialect types we don't know about at all.