aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAart Bik <ajcbik@google.com>2022-11-04 12:23:03 -0700
committerAart Bik <ajcbik@google.com>2022-11-08 13:10:05 -0800
commit70633a8d55a543eff892cc3316eaa3605d084637 (patch)
tree0f9a249249f6f720af924cf61f91176a3bba79a2 /flang/lib/Frontend/CompilerInvocation.cpp
parent7c5362c7ffd2c61c06d6831706a16a0743ec8d01 (diff)
downloadllvm-70633a8d55a543eff892cc3316eaa3605d084637.zip
llvm-70633a8d55a543eff892cc3316eaa3605d084637.tar.gz
llvm-70633a8d55a543eff892cc3316eaa3605d084637.tar.bz2
[mlir][sparse] first general insertion implementation with pure codegen
This revision generalizes lowering the sparse_tensor.insert op into actual code that directly operates on the memrefs of a sparse storage scheme. The current insertion strategy does *not* rely on a cursor anymore, with introduces some testing overhead for each insertion (but still proportional to the rank, as before). Over time, we can optimize the code generation, but this version enables us to finish the effort to migrate from library to actual codegen. Things to do: (1) carefully deal with (un)ordered and (not)unique (2) omit overhead when not needed (3) optimize and specialize (4) try to avoid the pointer "cleanup" (at HasInserts), and make sure the storage scheme is consistent at every insertion point (so that it can "escape" without concerns). Reviewed By: Peiming Differential Revision: https://reviews.llvm.org/D137457
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions