Skip to content

Commit fb5e720

Browse files
author
arnamoy.bhattacharyya
committed
clang-format
1 parent 5151fa7 commit fb5e720

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

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

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

99
#include "mlir/Dialect/SYCL/IR/SYCLOps.h"
1010

11+
#include "mlir/Dialect/SYCL/IR/SYCLOpsTypes.h"
1112
#include "mlir/IR/OpImplementation.h"
1213
#include "llvm/ADT/TypeSwitch.h"
13-
#include "mlir/Dialect/SYCL/IR/SYCLOpsTypes.h"
1414

1515
bool mlir::sycl::SYCLCastOp::areCastCompatible(::mlir::TypeRange Inputs,
1616
::mlir::TypeRange Outputs) {
@@ -59,11 +59,13 @@ bool mlir::sycl::SYCLCastOp::areCastCompatible(::mlir::TypeRange Inputs,
5959
}
6060

6161
mlir::LogicalResult mlir::sycl::SYCLConstructorOp::verify() {
62-
if (getOperand(0).getType().dyn_cast<mlir::MemRefType>() && isSYCLType(getOperand(0).getType().cast<mlir::MemRefType>().getElementType()))
62+
if (getOperand(0).getType().dyn_cast<mlir::MemRefType>() &&
63+
isSYCLType(
64+
getOperand(0).getType().cast<mlir::MemRefType>().getElementType()))
6365
return success();
64-
65-
return emitOpError(
66-
"The first argument of a sycl::constructor op has to be a MemRef to a SYCL type");
66+
67+
return emitOpError("The first argument of a sycl::constructor op has to be a "
68+
"MemRef to a SYCL type");
6769
}
6870

6971
mlir::LogicalResult mlir::sycl::SYCLAccessorSubscriptOp::verify() {

0 commit comments

Comments
 (0)