The extent tensor type is a tensor<?xindex> that is used in the shape dialect.
To facilitate the use of this type when working with the shape dialect, we
expose the helper function for its construction.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/Shape/IR/Shape.cpp | ||
---|---|---|
716–719 | will Type type = arg.getType().isa<ShapedType>() ? getExtentTensorType(builder.getContext()) : builder.getType<ShapeType>(); work? |
Comment Actions
Address comment
mlir/lib/Dialect/Shape/IR/Shape.cpp | ||
---|---|---|
716–719 | Tried that first but it does not work without explicit casts: "incompatible operand types". |
will
work?