@@ -329,24 +329,28 @@ ParseResult parseOptionalDynamicIndexList(
329329 return success ();
330330}
331331
332- void printOptionalDynamicIndexList (
333- OpAsmPrinter &printer, Operation *op, OperandRange values,
334- DenseI64ArrayAttr integers) {
332+ void printOptionalDynamicIndexList (OpAsmPrinter &printer, Operation *op,
333+ OperandRange values,
334+ DenseI64ArrayAttr integers) {
335335
336- if (!integers)
337- return ;
336+ if (!integers)
337+ return ;
338338
339- return printDynamicIndexList (printer, op, values, integers,
340- /* scalableFlags=*/ {}, {}, AsmParser::Delimiter::Square);
341- }
339+ return printDynamicIndexList (printer, op, values, integers,
340+ /* scalableFlags=*/ {}, {},
341+ AsmParser::Delimiter::Square);
342+ }
342343// ===----------------------------------------------------------------------===//
343344// XeGPU_PrefetchNdOp
344345// ===----------------------------------------------------------------------===//
345346
346- void PrefetchNdOp::build (OpBuilder &builder, OperationState &state, Value tensorDesc, xegpu::CachePolicyAttr l1_hint, xegpu::CachePolicyAttr l2_hint, xegpu::CachePolicyAttr l3_hint) {
347-
348- return build (builder, state, tensorDesc, ValueRange (), DenseI64ArrayAttr (), l1_hint, l2_hint, l3_hint);
347+ void PrefetchNdOp::build (OpBuilder &builder, OperationState &state,
348+ Value tensorDesc, xegpu::CachePolicyAttr l1_hint,
349+ xegpu::CachePolicyAttr l2_hint,
350+ xegpu::CachePolicyAttr l3_hint) {
349351
352+ return build (builder, state, tensorDesc, ValueRange (), DenseI64ArrayAttr (),
353+ l1_hint, l2_hint, l3_hint);
350354}
351355
352356LogicalResult PrefetchNdOp::verify () {
@@ -370,10 +374,16 @@ LogicalResult PrefetchNdOp::verify() {
370374// XeGPU_LoadNdOp
371375// ===----------------------------------------------------------------------===//
372376
373- void LoadNdOp::build (OpBuilder &builder, OperationState &state, Type retType, Value tensorDesc, UnitAttr packed, DenseI64ArrayAttr transpose, xegpu::CachePolicyAttr l1_hint, xegpu::CachePolicyAttr l2_hint, xegpu::CachePolicyAttr l3_hint) {
374-
375- return build (builder, state, retType, tensorDesc, ValueRange (), DenseI64ArrayAttr (), packed, transpose, l1_hint, l2_hint, l3_hint);
377+ void LoadNdOp::build (OpBuilder &builder, OperationState &state, Type retType,
378+ Value tensorDesc, UnitAttr packed,
379+ DenseI64ArrayAttr transpose,
380+ xegpu::CachePolicyAttr l1_hint,
381+ xegpu::CachePolicyAttr l2_hint,
382+ xegpu::CachePolicyAttr l3_hint) {
376383
384+ return build (builder, state, retType, tensorDesc, ValueRange (),
385+ DenseI64ArrayAttr (), packed, transpose, l1_hint, l2_hint,
386+ l3_hint);
377387}
378388
379389LogicalResult LoadNdOp::verify () {
@@ -464,10 +474,13 @@ LogicalResult LoadNdOp::verify() {
464474// XeGPU_StoreNdOp
465475// ===----------------------------------------------------------------------===//
466476
467- void StoreNdOp::build (OpBuilder &builder, OperationState &state, Value value, Value tensorDesc, xegpu::CachePolicyAttr l1_hint, xegpu::CachePolicyAttr l2_hint, xegpu::CachePolicyAttr l3_hint) {
468-
469- return build (builder, state, value, tensorDesc, ValueRange (), DenseI64ArrayAttr (), l1_hint, l2_hint, l3_hint);
477+ void StoreNdOp::build (OpBuilder &builder, OperationState &state, Value value,
478+ Value tensorDesc, xegpu::CachePolicyAttr l1_hint,
479+ xegpu::CachePolicyAttr l2_hint,
480+ xegpu::CachePolicyAttr l3_hint) {
470481
482+ return build (builder, state, value, tensorDesc, ValueRange (),
483+ DenseI64ArrayAttr (), l1_hint, l2_hint, l3_hint);
471484}
472485
473486LogicalResult StoreNdOp::verify () {
0 commit comments