[mlir] (NFC) Clean up bazel and CMake target namesAll dialect targets in bazel have been named *Dialect and all dialecttargets in CMake have been named MLIR*Dialect.
[mlir] Refactor DialectRegistry delayed interface support into a general DialectExtension mechanismThe current dialect registry allows for attaching delayed interfaces, that are added to attrs/dial
[mlir] Refactor DialectRegistry delayed interface support into a general DialectExtension mechanismThe current dialect registry allows for attaching delayed interfaces, that are added to attrs/dialects/ops/etc.when the owning dialect gets loaded. This is clunky for quite a few reasons, e.g. each interface type has aseparate tracking structure, and is also quite limiting. This commit refactors this delayed mutation ofdialect constructs into a more general DialectExtension mechanism. This mechanism is essentially a registrationcallback that is invoked when a set of dialects have been loaded. This allows for attaching interfaces directlyon the loaded constructs, and also allows for loading new dependent dialects. The latter of which isextremely useful as it will now enable dependent dialects to only apply in the contexts in which theyare necessary. For example, a dialect dependency can now be conditional on if a user actually needs theinterface that relies on it.Differential Revision: https://reviews.llvm.org/D120367
show more ...
Adjust "end namespace" comment in MLIR to match new agree'd coding styleSee D115115 and this mailing list discussion:https://lists.llvm.org/pipermail/llvm-dev/2021-December/154199.htmlDifferenti
Adjust "end namespace" comment in MLIR to match new agree'd coding styleSee D115115 and this mailing list discussion:https://lists.llvm.org/pipermail/llvm-dev/2021-December/154199.htmlDifferential Revision: https://reviews.llvm.org/D115309
[mlir] Rename AVX512 dialect to X86VectorWe will soon be adding non-AVX512 operations to MLIR, such as AVX's rsqrt. In https://reviews.llvm.org/D99818 several possibilities were discussed, namely t
[mlir] Rename AVX512 dialect to X86VectorWe will soon be adding non-AVX512 operations to MLIR, such as AVX's rsqrt. In https://reviews.llvm.org/D99818 several possibilities were discussed, namely to (1) add non-AVX512 ops to the AVX512 dialect, (2) add more dialects (e.g. AVX dialect for AVX rsqrt), and (3) expand the scope of the AVX512 to include these SIMD x86 ops, thereby renaming the dialect to something more accurate such as X86Vector.Consensus was reached on option (3), which this patch implements.Reviewed By: aartbik, ftynse, nicolasvasilacheDifferential Revision: https://reviews.llvm.org/D100119