Skip to content

Commit d3e935b

Browse files
committed
use simpler interface for DenseI64ArrayAttr
1 parent b3edff6 commit d3e935b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@ void CreateNdDescOp::build(OpBuilder &builder, OperationState &state,
122122
build(builder, state, tdesc, source, ValueRange({}) /* dynamic offsets */,
123123
ValueRange({}) /* empty dynamic shape */,
124124
ValueRange({}) /* empty dynamic strides */,
125-
builder.getDenseI64ArrayAttr({}) /* const offsets */,
126-
builder.getDenseI64ArrayAttr({}) /* empty const shape*/,
127-
builder.getDenseI64ArrayAttr({}) /* empty const strides*/);
125+
DenseI64ArrayAttr({}) /* const offsets */,
126+
DenseI64ArrayAttr({}) /* empty const shape*/,
127+
DenseI64ArrayAttr({}) /* empty const strides*/);
128128
}
129129

130130
void CreateNdDescOp::build(OpBuilder &builder, OperationState &state,

0 commit comments

Comments
 (0)