MLIR support coexistence of multiple dialects.
suppose that DialectA is the beginning dialect, DialectD is the ending dialect
DialectA will be partially lowered into DialectB and DialectC
my question is , how to convert DialectB & DialectC to DialectD?
one approach is to define a pass (DialectBAndDialectC2DialectD)
another approach is to define two passes seperately (DialectB2DialectD and DialectC2DialectD)
or is there other approach ?
how to handle this problem gracefully ?
thanks to your help