We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5163288 commit 45cc86bCopy full SHA for 45cc86b
mlir/lib/IR/StandardTypes.cpp
@@ -300,7 +300,7 @@ ArrayRef<int64_t> VectorType::getShape() const { return getImpl()->getShape(); }
300
static LogicalResult checkTensorElementType(Location location,
301
Type elementType) {
302
if (!TensorType::isValidElementType(elementType))
303
- return emitError(location, "invalid tensor element type");
+ return emitError(location, "invalid tensor element type: ") << elementType;
304
return success();
305
}
306
0 commit comments