File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -616,7 +616,8 @@ LogicalResult ConvertLayoutOp::verify() {
616616 if (!resLayout)
617617 return emitOpError (" expected target layout." );
618618
619- // both input and target layouts should be WgLayout or SgLayout at the same time.
619+ // both input and target layouts should be WgLayout or SgLayout at the same
620+ // time.
620621 if ((!srcLayout.isWgLayout () || !resLayout.isWgLayout ()) &&
621622 (!srcLayout.isSgLayout () || !resLayout.isSgLayout ()))
622623 return emitOpError (" expected input layout and target layout be WgLayout or "
Original file line number Diff line number Diff line change @@ -128,8 +128,8 @@ struct WgToSgCreateNdOp : public OpConversionPattern<xegpu::CreateNdDescOp> {
128128 rewriter.create <arith::ConstantIndexOp>(loc, distUnitShape[i]);
129129 Value offsetMod =
130130 rewriter.createOrFold <index::RemUOp>(loc, offset, modValue);
131- Value origOffset =
132- getValueOrCreateConstantIndexOp ( rewriter, loc, originalOffsets[dimIdx]);
131+ Value origOffset = getValueOrCreateConstantIndexOp (
132+ rewriter, loc, originalOffsets[dimIdx]);
133133 Value globalOffset =
134134 rewriter.createOrFold <index::AddOp>(loc, origOffset, offsetMod);
135135 globalOffsets[dimIdx] = globalOffset;
You can’t perform that action at this time.
0 commit comments