llvm/mlir/test/lib/Dialect
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
..
Affine [mlir:NFC] Remove the forward declaration of FuncOp in the mlir namespace 2022-04-18 12:01:55 -07:00
DLTI [mlir:NFC] Remove the forward declaration of FuncOp in the mlir namespace 2022-04-18 12:01:55 -07:00
Func [mlir:NFC] Remove the forward declaration of FuncOp in the mlir namespace 2022-04-18 12:01:55 -07:00
GPU [mlir] Rework the implementation of TypeID 2022-04-04 13:52:26 -07:00
Linalg [mlir][NFC] Shift a bunch of dialect includes from the .h to the .cpp 2022-04-23 01:09:29 -07:00
Math [mlir] Rework the implementation of TypeID 2022-04-04 13:52:26 -07:00
MemRef [mlir] Rework the implementation of TypeID 2022-04-04 13:52:26 -07:00
SCF [mlir][SCF] Retire cloneWithNewYields helper function. 2022-05-10 18:44:11 +00:00
Shape [mlir] Add shape.func 2022-04-22 11:35:35 -07:00
SPIRV [mlir:NFC] Remove the forward declaration of FuncOp in the mlir namespace 2022-04-18 12:01:55 -07:00
Tensor [mlir] Rework the implementation of TypeID 2022-04-04 13:52:26 -07:00
Test [mlir] do not elide dialect prefix for ops with dots in the name 2022-05-20 12:55:32 +02:00
Tosa [mlir:NFC] Remove the forward declaration of FuncOp in the mlir namespace 2022-04-18 12:01:55 -07:00
Transform [mlir] improve and test TransformState::Extension 2022-05-03 11:33:00 +02:00
Vector [mlir][vector] Add lowering pattern for vector.warp_execute_on_lane_0 op 2022-05-12 13:27:43 +00:00
CMakeLists.txt [mlir] Introduce Transform dialect 2022-04-14 13:48:45 +02:00