Add a test.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Nice! Very fast. A few nits, but good to go.
mlir/include/mlir/Dialect/SparseTensor/Utils/Merger.h | ||
---|---|---|
35 | This is very nitpicky, but I would, as far as enum order goes, put these with the casts below, for example, right before kBitCast (since I see these as converting complex to float). Right now, they break the abs/ceil/floor/sqrt sequence a bit. If you agree, then make sure they appear at the same place in switches. (note that it is more grouped by function, and less so alphabetically) | |
mlir/lib/Dialect/SparseTensor/Utils/Merger.cpp | ||
910 | eltType? also, we need to verify how (and if!) this interacts with vectorization |
Relocated the new enum values.
mlir/include/mlir/Dialect/SparseTensor/Utils/Merger.h | ||
---|---|---|
35 | Moved the two enums to right before kBitCast, also reorder other places where they are used. |
This is very nitpicky, but I would, as far as enum order goes, put these with the casts below, for example, right before kBitCast (since I see these as converting complex to float). Right now, they break the abs/ceil/floor/sqrt sequence a bit. If you agree, then make sure they appear at the same place in switches.
(note that it is more grouped by function, and less so alphabetically)