Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/include/mlir/Dialect/SparseTensor/IR/Enums.h | ||
---|---|---|
164 | can we do without? |
mlir/include/mlir/Dialect/SparseTensor/IR/Enums.h | ||
---|---|---|
161–163 | please update this documentation per my discussion on the previous patch | |
243 | "LevelFormat" | |
248 | documentation needs updating | |
253–255 | Can you use return isValidDLT(dlt) ? dlt : std::nullopt; instead | |
258 | per my comment on the previous patch, can you add a comment about why you want to assert this? I assume it's so that the next block of asserions can use the operator== without casting. But it's good to make it clear whether the assertion is just for that reason or whether it's something we actually intend the API to promise. | |
277–300 | I think it'd be better to use some macros to help simplify this, but I can do that in a separate patch |
mlir/include/mlir/Dialect/SparseTensor/IR/Enums.h | ||
---|---|---|
249 | Actually, I'm thinking it'd be nicer to just define a LevelProperties type with its own operator| to set the various property bits. But I can make a separate patch for that |
mlir/include/mlir/Dialect/SparseTensor/IR/Enums.h | ||
---|---|---|
161–163 | Ah, looks like that got resolved between when I loaded the page and when my comment posted :) |
mlir/include/mlir/Dialect/SparseTensor/IR/Enums.h | ||
---|---|---|
252 | "Returns" |
mlir/include/mlir/Dialect/SparseTensor/IR/Enums.h | ||
---|---|---|
259 | Do you really need to pass this template parameter? The compiler should be able to infer it from the dlt variable. |
storage formats (plural)