[Mlir-commits] [mlir] [MLIR] Add DIExpression to LLVM dialect (PR #72462)
Jeff Niu
llvmlistbot at llvm.org
Thu Nov 16 09:04:38 PST 2023
================
@@ -261,6 +261,17 @@ def LLVM_DITagParameter : LLVM_DIParameter<
"tag", /*default=*/"", "Tag"
>;
+//===----------------------------------------------------------------------===//
+// DIExpressionAttr
+//===----------------------------------------------------------------------===//
+
+// TODO: Implement custom printer/parser for elements so that operators are
+// dumped in textual form.
+def LLVM_DIExpressionAttr : ArrayOfAttr<LLVM_Dialect, "DIExpression",
+ "di_expr", "uint64_t"> {
----------------
Mogball wrote:
```suggestion
"di_expr", "uint64_t"> {
```
style nit
https://github.com/llvm/llvm-project/pull/72462
More information about the Mlir-commits
mailing list