Skip to content

Commit 6954b4b

Browse files
author
arnamoy.bhattacharyya
committed
clang-format
1 parent d1a7a76 commit 6954b4b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

mlir-sycl/lib/Dialect/IR/SYCLOps.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ bool mlir::sycl::SYCLCastOp::areCastCompatible(::mlir::TypeRange Inputs,
4646
}
4747

4848
mlir::LogicalResult mlir::sycl::SYCLConstructorOp::verify() {
49-
if (!getOperand(0).getType().dyn_cast<mlir::MemRefType>())
50-
return emitOpError("The first argument of a sycl::constructor op has to be a MemRef");
49+
if (!getOperand(0).getType().dyn_cast<mlir::MemRefType>())
50+
return emitOpError(
51+
"The first argument of a sycl::constructor op has to be a MemRef");
5152
return success();
5253
}
5354

0 commit comments

Comments
 (0)