Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp | ||
---|---|---|
1172 | oh wait, remove this comment part. |
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorCodegen.cpp | ||
---|---|---|
79 ↗ | (On Diff #459126) | Use /// for top level comment |
79 ↗ | (On Diff #459126) | Use "s" form. Gets the dimension Returns the dimension.... |
80 ↗ | (On Diff #459126) | not sure if we need this much detail for short a short helper, but okay if you prefer it this way (but use returns in that case) |
381 ↗ | (On Diff #459126) | People often prefer the success on main path if (!sz) return failure(); rewriter.replaceOp(op, *sz); is is also slightly shorter |
518 ↗ | (On Diff #459126) | I would not use inline comment for this, but attached comment assert(sz); // this is for sure a sparse tensor |
oh wait, remove this comment part.