projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48bb7bb
)
Fully qualify MLIR type in TableGen emitter
author
Mehdi Amini
<joker.eph@gmail.com>
Fri, 2 Jun 2023 21:07:56 +0000
(14:07 -0700)
committer
Mehdi Amini
<joker.eph@gmail.com>
Fri, 2 Jun 2023 21:07:56 +0000
(14:07 -0700)
This is important for users that don't enclose their dialect within the MLIR
namespace.
mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
patch
|
blob
|
history
diff --git
a/mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
b/mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
index
a23975f
..
c1b4f2a
100644
(file)
--- a/
mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
+++ b/
mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
@@
-737,7
+737,7
@@
static const char *const dialectDynamicTypeParserDispatch = R"(
if (parseResult.has_value()) {
if (::mlir::succeeded(parseResult.getValue()))
return genType;
- return Type();
+ return
::mlir::
Type();
}
}
)";