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:
3e10d8f
)
Adopt Properties to store operations inherent Attributes in the GPU dialect
author
Mehdi Amini
<joker.eph@gmail.com>
Fri, 21 Apr 2023 06:28:39 +0000
(
00:28
-0600)
committer
Mehdi Amini
<joker.eph@gmail.com>
Tue, 9 May 2023 13:58:43 +0000
(14:58 +0100)
This is part of an on-going migration to adopt Properties inside MLIR.
Differential Revision: https://reviews.llvm.org/D148889
mlir/include/mlir/Dialect/GPU/IR/GPUBase.td
patch
|
blob
|
history
diff --git
a/mlir/include/mlir/Dialect/GPU/IR/GPUBase.td
b/mlir/include/mlir/Dialect/GPU/IR/GPUBase.td
index
a04d8d9
..
fffe4a4
100644
(file)
--- a/
mlir/include/mlir/Dialect/GPU/IR/GPUBase.td
+++ b/
mlir/include/mlir/Dialect/GPU/IR/GPUBase.td
@@
-57,6
+57,7
@@
def GPU_Dialect : Dialect {
let dependentDialects = ["arith::ArithDialect"];
let useDefaultAttributePrinterParser = 1;
let useDefaultTypePrinterParser = 1;
+ let usePropertiesForAttributes = 1;
}
//===----------------------------------------------------------------------===//