[all-commits] [llvm/llvm-project] 128a9e: [mlir][sparse] cleanup ABI issues in C interface w...
Aart Bik via All-commits
all-commits at lists.llvm.org
Tue Sep 21 21:58:29 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 128a9e1cb480188fc68aaedbcaf92d8ee74a92c7
https://github.com/llvm/llvm-project/commit/128a9e1cb480188fc68aaedbcaf92d8ee74a92c7
Author: Aart Bik <ajcbik at google.com>
Date: 2021-09-21 (Tue, 21 Sep 2021)
Changed paths:
M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp
M mlir/lib/ExecutionEngine/SparseUtils.cpp
Log Message:
-----------
[mlir][sparse] cleanup ABI issues in C interface with memrefs
This change adds automatic wrapper functoins with emit_c_interface
to all methods in the sparse support library that deal with MEMREFs.
The wrappers will take care of passing MEMREFs by value internally
and by pointer externally, thereby avoiding ABI issues across platforms.
Reviewed By: mehdi_amini
Differential Revision: https://reviews.llvm.org/D110219
More information about the All-commits
mailing list