llvm/mlir/test
Alex Zinenko 122e685878 [mlir] do not elide dialect prefix for ops with dots in the name
For the hypothetical "a.b.c" op printed within a region that declares "a" as
the default dialect, MLIR would currently elide the "a." prefix and only print
"b.c". However, this becomes ambiguous while parsing as "b.c" may be exist as
the "c" op in the "b" dialect. If it does not, the parsing currently fails. Do
not elide the default dialect if the op name contains further dots to avoid the
ambiguity.

See https://discourse.llvm.org/t/dropping-dialect-prefix-for-ops-with-multiple-dots-in-the-name/62562

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D125975
2022-05-20 12:55:32 +02:00
..
Analysis [mlir] Remove special case parsing/printing of func operations 2022-05-06 13:36:15 -07:00
CAPI [mlir] Remove special case parsing/printing of func operations 2022-05-06 13:36:15 -07:00
Conversion [mlir][complex] Add pow/sqrt/tanh ops and lowering to libm 2022-05-18 14:03:14 +02:00
Dialect [mlir][Arithmetic] fold overlapping negf. 2022-05-20 01:49:19 +00:00
Examples
Integration [mlir][sparse] Add support for complex.im and complex.re to the sparse compiler. 2022-05-18 15:53:07 +00:00
Interfaces
IR [mlir] do not elide dialect prefix for ops with dots in the name 2022-05-20 12:55:32 +02:00
lib [mlir] do not elide dialect prefix for ops with dots in the name 2022-05-20 12:55:32 +02:00
mlir-cpu-runner [mlir] Remove the type keyword from type alias definitions 2022-05-16 13:54:02 -07:00
mlir-linalg-ods-gen
mlir-lsp-server [mlir:LSP] Improve conversion between SourceMgr and LSP locations 2022-04-28 12:58:00 -07:00
mlir-opt [MLIR][AMDGPU] Add AMDGPU dialect, wrappers around raw buffer intrinsics 2022-05-10 14:59:58 +00:00
mlir-pdll [mlir:PDLL] Fix the import of native constraints from ODS 2022-04-28 12:58:00 -07:00
mlir-pdll-lsp-server [mlir:LSP] Improve conversion between SourceMgr and LSP locations 2022-04-28 12:58:00 -07:00
mlir-reduce
mlir-spirv-cpu-runner [mlir] Fix the names of exported functions 2022-05-05 13:46:15 -07:00
mlir-tblgen [mlir] Restrict dialect doc gen to a single dialect 2022-05-16 15:35:07 -07:00
mlir-translate
mlir-vulkan-runner [mlir] Fix the names of exported functions 2022-05-05 13:46:15 -07:00
Pass [mlir] Fix pipeline-parsing.mlir on windows 2022-05-12 13:40:16 -07:00
python [mlir][python] Add Python bindings for ml_program dialect. 2022-05-18 23:08:33 -07:00
Rewrite [mlir:PDLInterp] Refactor the implementation of result type inferrence 2022-05-01 12:25:05 -07:00
Target [mlir][LLVMIR] Use a new way to verify GEPOp indices 2022-05-17 10:28:44 -07:00
tblgen-lsp-server [mlir][Tablegen-LSP] Add support for a basic TableGen language server 2022-05-16 16:03:51 -07:00
Transforms [GreedyPatternRewriter] Avoid reversing constant order 2022-05-18 00:55:59 -07:00
Unit [lit] Fix setup of sanitizer environment 2022-05-19 19:24:16 -07:00
APITest.h
CMakeLists.txt [mlir][Tablegen-LSP] Add support for a basic TableGen language server 2022-05-16 16:03:51 -07:00
lit.cfg.py [mlir] Fix build & test of mlir python bindings on Windows 2022-05-09 11:10:20 -07:00
lit.site.cfg.py.in