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:
9bda581
)
Adopt Properties to store operations inherent Attributes in the NVGPU dialect
author
Mehdi Amini
<joker.eph@gmail.com>
Fri, 21 Apr 2023 06:51:14 +0000
(
00:51
-0600)
committer
Mehdi Amini
<joker.eph@gmail.com>
Wed, 10 May 2023 00:31:00 +0000
(
01:31
+0100)
This is part of an on-going migration to adopt Properties inside MLIR.
Differential Revision: https://reviews.llvm.org/D148895
mlir/include/mlir/Dialect/NVGPU/IR/NVGPU.td
patch
|
blob
|
history
diff --git
a/mlir/include/mlir/Dialect/NVGPU/IR/NVGPU.td
b/mlir/include/mlir/Dialect/NVGPU/IR/NVGPU.td
index
e9ac20a
..
3264537
100644
(file)
--- a/
mlir/include/mlir/Dialect/NVGPU/IR/NVGPU.td
+++ b/
mlir/include/mlir/Dialect/NVGPU/IR/NVGPU.td
@@
-36,6
+36,7
@@
def NVGPU_Dialect : Dialect {
}];
let useDefaultTypePrinterParser = 1;
+ let usePropertiesForAttributes = 1;
let extraClassDeclaration = [{
/// Return true if the given MemRefType has an integer address