llvm/mlir
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
..
benchmark/python [mlir] Fix declaration of nano time function in benchmark infra 2022-05-13 13:22:18 +02:00
cmake/modules [mlir] Fix python bindings build on Windows in Debug 2022-05-09 19:46:47 -07:00
docs [mlir][NFC] Fix the tags for various doc code blocks 2022-05-16 16:46:13 -07:00
examples [mlir] Remove unused properties from the standalone example's lit configuration 2022-05-19 12:54:28 -07:00
include [mlir] Add GlobalOp, GlobalLoadConstOp to ml_program. 2022-05-18 23:08:28 -07:00
lib [mlir] do not elide dialect prefix for ops with dots in the name 2022-05-20 12:55:32 +02:00
python [mlir][python] Add Python bindings for ml_program dialect. 2022-05-18 23:08:33 -07:00
test [mlir] do not elide dialect prefix for ops with dots in the name 2022-05-20 12:55:32 +02:00
tools [mlir][ods] Simplify useDefaultType/AttributePrinterParser 2022-05-18 17:22:11 +00:00
unittests [mlir] Update LLVMIR Fastmath flags use of MLIR BitEnum functionality 2022-05-17 18:19:14 +00:00
utils [mlir] vim: add bf16 type 2022-05-17 13:28:31 +00:00
.clang-format
.clang-tidy
CMakeLists.txt [mlir][PDLL] Add support for generating PDL patterns from PDLL at build time 2022-04-26 18:33:16 -07:00
LICENSE.TXT
README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.