[all-commits] [llvm/llvm-project] bc8279: [mlir] load dialects for non-namespaced attrs (#96...
Mehdi Amini via All-commits
all-commits at lists.llvm.org
Fri Jun 21 04:24:07 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bc82793b304cff80605cf7ab14f51a7924d27481
https://github.com/llvm/llvm-project/commit/bc82793b304cff80605cf7ab14f51a7924d27481
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M mlir/test/IR/parser.mlir
M mlir/test/lib/Dialect/Test/CMakeLists.txt
M mlir/test/lib/Dialect/Test/TestAttrDefs.td
M mlir/test/lib/Dialect/Test/TestAttributes.h
M mlir/test/lib/Dialect/Test/TestOps.td
M mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp
Log Message:
-----------
[mlir] load dialects for non-namespaced attrs (#96242)
The mlir-translate tool calls into the parser without loading registered
dependent dialects, and the parser only loads attributes if the
fully-namespaced attribute is present in the textual IR. This causes
parsing to break when an op has an attribute that prints/parses without
the namespaced attribute.
Co-authored-by: Jeremy Kun <jkun at google.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list