Adds zero-preserving unary operators from std. Also adds xor.
Performs minor refactoring to remove "zero" node, and pushed
the irregular logic for negi (not support in std) into one place.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Comments/questions, but otherwise this looks good!
mlir/include/mlir/Dialect/SparseTensor/Utils/Merger.h | ||
---|---|---|
108 | Why remove the default here? It seems like in the kInvariant case, we'll now explicitly need to set e0 to -1u; is that true? | |
137 | I think this should read "Maps the unary operator over the lattice set..." rather than the other way around! |
Why remove the default here? It seems like in the kInvariant case, we'll now explicitly need to set e0 to -1u; is that true?