diff options
author | Yinying Li <yinyingli@google.com> | 2024-05-07 20:28:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-07 20:28:39 -0400 |
commit | 83f3b1cb480b41e3347035aff14fd4bc2ba21d24 (patch) | |
tree | 179bb94ea8cb071194f3325b86c070379bb9bbaa /llvm/lib/CodeGen/Analysis.cpp | |
parent | d4cf20ca37160cb062a9db773d0e6255d6bbc31a (diff) | |
download | llvm-83f3b1cb480b41e3347035aff14fd4bc2ba21d24.zip llvm-83f3b1cb480b41e3347035aff14fd4bc2ba21d24.tar.gz llvm-83f3b1cb480b41e3347035aff14fd4bc2ba21d24.tar.bz2 |
[mlir][sparse] Add verification for explicit/implicit value (#90111)
1. Verify that the type of explicit/implicit values should be the same
as the tensor element type.
2. Verify that implicit value could only be zero.
3. Verify that explicit/implicit values should be numeric.
4. Fix the type change issue caused by SparseTensorType(enc).
Diffstat (limited to 'llvm/lib/CodeGen/Analysis.cpp')
0 files changed, 0 insertions, 0 deletions