Skip to content

Commit c6ccef2

Browse files
committed
refactor
1 parent 8b647c4 commit c6ccef2

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

mlir/include/mlir/Dialect/XeGPU/IR/XeGPUAttrs.td

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -258,13 +258,6 @@ def XeGPU_LayoutAttr : XeGPUAttr<"Layout", "layout"> {
258258
}
259259
}];
260260

261-
let builders = [
262-
AttrBuilder<(ins
263-
"ArrayRef<int>": $lane_layout,
264-
"ArrayRef<int>": $lane_data
265-
)>
266-
];
267-
268261
let assemblyFormat = "`<` struct(params) `>`";
269262
let genVerifyDecl = 1;
270263
}

mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -133,15 +133,6 @@ LayoutAttr::verify(llvm::function_ref<mlir::InFlightDiagnostic()> emitError,
133133
return success();
134134
}
135135

136-
LayoutAttr LayoutAttr::get(mlir::MLIRContext *context, ArrayRef<int> laneLayout,
137-
ArrayRef<int> laneData) {
138-
return Base::get(context, ScopeAttr::get(context, Scope::Lane),
139-
DenseI32ArrayAttr(), DenseI32ArrayAttr(),
140-
DenseI32ArrayAttr(),
141-
DenseI32ArrayAttr::get(context, laneLayout),
142-
DenseI32ArrayAttr::get(context, laneData));
143-
}
144-
145136
//===----------------------------------------------------------------------===//
146137
// XeGPU_TensorDescType
147138
//===----------------------------------------------------------------------===//

0 commit comments

Comments
 (0)