File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 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
1515bool 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
6161mlir::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
6971mlir::LogicalResult mlir::sycl::SYCLAccessorSubscriptOp::verify () {
You can’t perform that action at this time.
0 commit comments