This patch prepares MLIR code base to change the value of kDynamicSize.
https://discourse.llvm.org/t/rfc-unify-kdynamicsize-and-kdynamicstrideoroffset/64534/4
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks for doing this. The patch looks correct to me.
The code uses x == ShapedType::kDynamicSize and ShapedType::isDynamic(x). Is there a guidance which to use when? Otherwise, I'd prefer the latter form.
mlir/lib/Dialect/Tosa/Transforms/TosaInferShapes.cpp | ||
---|---|---|
217 | Nit: Left-over debugging. | |
mlir/python/mlir/dialects/_tensor_ops_ext.py | ||
7 | Is this needed? |
Nit: Left-over debugging.