@@ -131,7 +131,8 @@ void CreateNdDescOp::build(OpBuilder &builder, OperationState &state,
131131 llvm::ArrayRef<OpFoldResult> shape,
132132 llvm::ArrayRef<OpFoldResult> strides) {
133133 assert (shape.size () && strides.size () && shape.size () == strides.size () &&
134- " Shape and strides must be present and of equal size for ui64 initialization." );
134+ " Shape and strides must be present and of equal size for ui64 "
135+ " initialization." );
135136
136137 llvm::SmallVector<int64_t > staticShape;
137138 llvm::SmallVector<int64_t > staticStrides;
@@ -154,7 +155,8 @@ void CreateNdDescOp::build(OpBuilder &builder, OperationState &state,
154155 llvm::ArrayRef<OpFoldResult> shape,
155156 llvm::ArrayRef<OpFoldResult> strides) {
156157 assert (shape.size () && strides.size () && shape.size () == strides.size () &&
157- " Shape and strides must be present and of equal size for ui64 initialization." );
158+ " Shape and strides must be present and of equal size for ui64 "
159+ " initialization." );
158160
159161 llvm::SmallVector<int64_t > staticShape;
160162 llvm::SmallVector<int64_t > staticStrides;
@@ -257,12 +259,12 @@ LogicalResult CreateNdDescOp::verify() {
257259 invalidElemTy |= memrefTy.getElementType () != getElementType ();
258260 }
259261
260- if (llvm::isa<IntegerType>(getSourceType ()) ) {
262+ if (llvm::isa<IntegerType>(getSourceType ())) {
261263 // strides and shape must present for integer source.
262264 if (getMixedStrides ().empty () || getMixedSizes ().empty ())
263265 return emitOpError (" Expecting strides and shape to be present for "
264266 " integer source." );
265- }
267+ }
266268
267269 // mismatches among shape, strides, and offsets are
268270 // already handeled by OffsetSizeAndStrideOpInterface.
@@ -313,7 +315,7 @@ ParseResult parseOptionalDynamicIndexList(
313315 return success ();
314316 };
315317
316- // If the optional values are given there must be left bracket
318+ // If the optional values are given there must be left bracket
317319 if (parser.parseOptionalLSquare ().succeeded ()) {
318320 if (parser.parseCommaSeparatedList (parseIntegerOrValue) ||
319321 parser.parseRSquare ())
@@ -322,9 +324,8 @@ ParseResult parseOptionalDynamicIndexList(
322324 integers = parser.getBuilder ().getDenseI64ArrayAttr (integerVals);
323325 return success ();
324326 }
325-
326- return success ();
327327
328+ return success ();
328329}
329330
330331void printOptionalDynamicIndexList (OpAsmPrinter &printer, Operation *op,
0 commit comments