diff options
author | Yinying Li <107574043+yinying-lisa-li@users.noreply.github.com> | 2023-09-15 20:12:20 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-15 16:12:20 -0400 |
commit | 3dc621124fedab11b2877114c104551c63649f1c (patch) | |
tree | cee8b7b6976111c884bfad9ce8d2f85b23509290 /clang/lib/CodeGen/CoverageMappingGen.cpp | |
parent | 401296f697b4ec2088afa0637d698999b2fe7228 (diff) | |
download | llvm-3dc621124fedab11b2877114c104551c63649f1c.zip llvm-3dc621124fedab11b2877114c104551c63649f1c.tar.gz llvm-3dc621124fedab11b2877114c104551c63649f1c.tar.bz2 |
[mlir][sparse] Migrate tests to use new syntax (#66543)
**COO**
`lvlTypes = [ "compressed_nu", "singleton" ]` to `map = (d0, d1) -> (d0
: compressed(nonunique), d1 : singleton)`
`lvlTypes = [ "compressed_nu_no", "singleton_no" ]` to `map = (d0, d1)
-> (d0 : compressed(nonunique, nonordered), d1 : singleton(nonordered))`
**SortedCOO**
`lvlTypes = [ "compressed_nu", "singleton" ]` to `map = (d0, d1) -> (d0
: compressed(nonunique), d1 : singleton)`
**BCOO**
`lvlTypes = [ "dense", "compressed_hi_nu", "singleton" ]` to `map = (d0,
d1, d2) -> (d0 : dense, d1 : compressed(nonunique, high), d2 :
singleton)`
**BCSR**
`lvlTypes = [ "compressed", "compressed", "dense", "dense" ], dimToLvl =
affine_map<(d0, d1) -> (d0 floordiv 2, d1 floordiv 3, d0 mod 2, d1 mod
3)>` to
`map = ( i, j ) ->
( i floordiv 2 : compressed,
j floordiv 3 : compressed,
i mod 2 : dense,
j mod 3 : dense
)`
**Tensor and other supported formats(e.g. CCC, CDC, CCCC)**
Currently, ELL and slice are not supported yet in the new syntax and the
CHECK tests will be updated once printing is set to output the new
syntax.
Previous PRs: #66146, #66309, #66443
Diffstat (limited to 'clang/lib/CodeGen/CoverageMappingGen.cpp')
0 files changed, 0 insertions, 0 deletions