Skip to content

Commit 15f6907

Browse files
committed
clang-format
Signed-off-by: dchigarev <[email protected]>
1 parent 3da20eb commit 15f6907

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -911,8 +911,8 @@ void LayoutInfoPropagation::visitStoreScatterOp(
911911
payloadLayout = LayoutInfo(layout);
912912
} else {
913913
payloadLayout = getDefaultSIMTLayoutInfo(
914-
payloadTy, uArch, instData, uArch->getGeneralPackedFormatBitSize(),
915-
/*scattered=*/true);
914+
payloadTy, uArch, instData, uArch->getGeneralPackedFormatBitSize(),
915+
/*scattered=*/true);
916916
}
917917

918918
LayoutInfo maskLayout =

mlir/lib/Dialect/XeGPU/Transforms/XeGPUWgToSgDistribute.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -888,8 +888,8 @@ struct WgToSgLoadGatherOpWithOffset
888888
return failure();
889889
ArrayRef<int64_t> wgShape = resultType.getShape();
890890

891-
xegpu::LayoutAttr layout =
892-
dyn_cast_if_present<xegpu::LayoutAttr>(xegpu::getDistributeLayoutAttr(op.getResult()));
891+
xegpu::LayoutAttr layout = dyn_cast_if_present<xegpu::LayoutAttr>(
892+
xegpu::getDistributeLayoutAttr(op.getResult()));
893893
if (!layout || !layout.isForWorkgroup())
894894
return failure();
895895

@@ -940,8 +940,8 @@ struct WgToSgStoreScatterOpWithOffset
940940
if (!valueType)
941941
return failure();
942942

943-
xegpu::LayoutAttr layout =
944-
dyn_cast_if_present<xegpu::LayoutAttr>(xegpu::getDistributeLayoutAttr(op.getOperand(0)));
943+
xegpu::LayoutAttr layout = dyn_cast_if_present<xegpu::LayoutAttr>(
944+
xegpu::getDistributeLayoutAttr(op.getOperand(0)));
945945
if (!layout || !layout.isForWorkgroup())
946946
return failure();
947947

0 commit comments

Comments
 (0)