File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
mlir/lib/Dialect/XeGPU/Transforms Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ namespace xegpu {
2828
2929#define DEBUG_TYPE " xegpu-blocking"
3030#define DBGS () (llvm::dbgs() << " [" DEBUG_TYPE " ]: " )
31+ #define LDBG (X ) LLVM_DEBUG(DBGS() << X << " \n " )
3132
3233using namespace mlir ;
3334
@@ -121,6 +122,7 @@ XeGPUBlockingPass::getTileShape(OpOperand &operand) const {
121122 if (auto type = dyn_cast<ShapedType>(operand.get ().getType ()))
122123 return llvm::to_vector (type.getShape ());
123124 }
125+ LDBG (" failed to getTileShape for operand: " << operand.get ());
124126 return std::nullopt ;
125127}
126128
@@ -134,6 +136,7 @@ XeGPUBlockingPass::getTileShape(OpResult result) const {
134136 if (auto type = dyn_cast<ShapedType>(result.getType ()))
135137 return llvm::to_vector (type.getShape ());
136138 }
139+ LDBG (" failed to getTileShape for result: " << result);
137140 return std::nullopt ;
138141}
139142
You can’t perform that action at this time.
0 commit comments