File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 3232
3333#include < mlir/Dialect/MemRef/IR/MemRef.h>
3434
35+ #define DEBUG_TYPE " xetile-ops"
36+
3537namespace imex {
3638namespace xetile {
3739
@@ -175,7 +177,7 @@ mlir::LogicalResult InitTileOp::verify() {
175177 // Check if all shape and stride values are constant.
176178 if (!llvm::all_of (dynamicShape, isConstantIndex) ||
177179 !llvm::all_of (dynamicStrides, isConstantIndex)) {
178- llvm::dbgs () << " Assuming user has verified the layout\n " ;
180+ LLVM_DEBUG ( llvm::dbgs () << " Assuming user has verified the layout\n " ) ;
179181 return mlir::success ();
180182 }
181183
@@ -194,7 +196,7 @@ mlir::LogicalResult InitTileOp::verify() {
194196 " memref operand is expected to have a column-major layout" );
195197 }
196198 } else if (isSourceMemRef () && !sourceMemRefHasStaticShape ())
197- llvm::dbgs () << " Assuming user has verified the layout\n " ;
199+ LLVM_DEBUG ( llvm::dbgs () << " Assuming user has verified the layout\n " ) ;
198200
199201 return mlir::success ();
200202}
You can’t perform that action at this time.
0 commit comments