[mlir] Fix ordering of intermixed attribute/type aliases
We properly order dependencies between attribute/type aliases, but we currently always print attribute aliases separately from type aliases. This creates problems if an attribute wants to use a type alias during printing. This commit refactors alias collection such that attribute/type aliases are collected together and printed together. Differential Revision: https://reviews.llvm.org/D138162
Loading
Please sign in to comment