Skip to content

Commit 008b414

Browse files
committed
Move declaration of DIGlobalVariableExpressionArrayAttr in different file.
As suggested in the review comments.
1 parent 8bca1b6 commit 008b414

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,10 @@ def LLVM_DIGlobalVariableExpressionAttr
471471
let constBuilderCall = "$0";
472472
}
473473

474+
def DIGlobalVariableExpressionArrayAttr :
475+
TypedArrayAttrBase<LLVM_DIGlobalVariableExpressionAttr,
476+
"an array of variable expressions">;
477+
474478
//===----------------------------------------------------------------------===//
475479
// DIGlobalVariableAttr
476480
//===----------------------------------------------------------------------===//

mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
include "mlir/Dialect/LLVMIR/LLVMAttrDefs.td"
1717
include "mlir/Dialect/LLVMIR/LLVMEnums.td"
1818
include "mlir/Dialect/LLVMIR/LLVMOpBase.td"
19-
include "mlir/IR/AttrTypeBase.td"
2019
include "mlir/IR/EnumAttr.td"
2120
include "mlir/Interfaces/FunctionInterfaces.td"
2221
include "mlir/IR/SymbolInterfaces.td"
@@ -1153,9 +1152,6 @@ def LLVM_AddressOfOp : LLVM_Op<"mlir.addressof",
11531152
let hasFolder = 1;
11541153
}
11551154

1156-
def DIGlobalVariableExpressionArrayAttr :
1157-
TypedArrayAttrBase<LLVM_DIGlobalVariableExpressionAttr, "an array of variable expressions">;
1158-
11591155
def LLVM_GlobalOp : LLVM_Op<"mlir.global",
11601156
[IsolatedFromAbove, SingleBlockImplicitTerminator<"ReturnOp">, Symbol]> {
11611157
let arguments = (ins

0 commit comments

Comments
 (0)