Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/SparseTensor/Pipelines/SparseTensorPipelines.cpp | ||
---|---|---|
62 | I know this is just mimicking what was there before, but: why don't we pass the other boolean arguments too? | |
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorPasses.cpp | ||
86–90 | Would be better to rephrase this as PostSparsificationRewritePass(bool enableRuntimeLibrary, bool enableForeach, bool enableConvert) : enableRuntimeLibrary(enableRuntimeLibrary), enableForeach(enableForeach), enableConvert(enableConvert) {} |
mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.h | ||
---|---|---|
158 | If it's a big deal, then you can always add // NOLINT just before newlines you want git-clang-format to leave alone. (Though it's best to only do that sparingly, of course) |
mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.h | ||
---|---|---|
158 | Right, that was auto formatted. | |
mlir/lib/Dialect/SparseTensor/Pipelines/SparseTensorPipelines.cpp | ||
62 | The other two booleans are for testing, disabling rewriting for two ops to simplify FileCheck. |
Address review comment.
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorPasses.cpp | ||
---|---|---|
86–90 | Per offline discussion, this syntax doesn't work. |
I liked the original layout better, but I guess this is clang formatter?