aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorAart Bik <ajcbik@google.com>2021-05-21 11:52:34 -0700
committerAart Bik <ajcbik@google.com>2021-05-21 12:35:13 -0700
commitc194b49c9c8dfe01804ecd0b90814d1e98382fc1 (patch)
tree7adc047ed8a9516f7b6ee6d648559bf27a64cd78 /llvm/lib/IR/Module.cpp
parentbbdabb044d45fcb08b4f2d6ca874c40ec9c6856c (diff)
downloadllvm-c194b49c9c8dfe01804ecd0b90814d1e98382fc1.zip
llvm-c194b49c9c8dfe01804ecd0b90814d1e98382fc1.tar.gz
llvm-c194b49c9c8dfe01804ecd0b90814d1e98382fc1.tar.bz2
[mlir][sparse] add full dimension ordering support
This revision completes the "dimension ordering" feature of sparse tensor types that enables the programmer to define a preferred order on dimension access (other than the default left-to-right order). This enables e.g. selection of column-major over row-major storage for sparse matrices, but generalized to any rank, as in: dimOrdering = affine_map<(i,j,k,l,m,n,o,p) -> (p,o,j,k,i,l,m,n)> Reviewed By: bixia Differential Revision: https://reviews.llvm.org/D102856
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions