Skip to content

Commit cd518d2

Browse files
committed
git-clang-format
1 parent b6f016e commit cd518d2

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

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

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,7 @@ LogicalResult CreateNdDescOp::verify() {
282282
ParseResult parseOptionalDynamicIndexList(
283283
OpAsmParser &parser,
284284
SmallVectorImpl<OpAsmParser::UnresolvedOperand> &values,
285-
DenseI64ArrayAttr &integers,
286-
SmallVectorImpl<Type> *valueTypes = nullptr,
285+
DenseI64ArrayAttr &integers, SmallVectorImpl<Type> *valueTypes = nullptr,
287286
AsmParser::Delimiter delimiter = AsmParser::Delimiter::Square) {
288287

289288
SmallVector<int64_t, 4> integerVals;
@@ -316,11 +315,14 @@ ParseResult parseOptionalDynamicIndexList(
316315
return success();
317316
}
318317

319-
void printOptionalDynamicIndexList(
320-
OpAsmPrinter &printer, Operation *op, OperandRange values,
321-
ArrayRef<int64_t> integers, TypeRange valueTypes = TypeRange()) {
318+
void printOptionalDynamicIndexList(OpAsmPrinter &printer, Operation *op,
319+
OperandRange values,
320+
ArrayRef<int64_t> integers,
321+
TypeRange valueTypes = TypeRange()) {
322322

323-
if (values.empty() && llvm::all_of(integers, [](int64_t i) { return i == std::numeric_limits<int64_t>::max(); }))
323+
if (values.empty() && llvm::all_of(integers, [](int64_t i) {
324+
return i == std::numeric_limits<int64_t>::max();
325+
}))
324326
return;
325327
printer << '[';
326328
unsigned dynamicValIdx = 0;

0 commit comments

Comments
 (0)