[all-commits] [llvm/llvm-project] 72ec2f: [mlir][sparse] Factoring out `finalizeSegment` and...
wren romano via All-commits
all-commits at lists.llvm.org
Mon Apr 4 19:11:52 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 72ec2f76396fe5de5397bfb898993fdb22e2b0da
https://github.com/llvm/llvm-project/commit/72ec2f76396fe5de5397bfb898993fdb22e2b0da
Author: wren romano <2998727+wrengr at users.noreply.github.com>
Date: 2022-04-04 (Mon, 04 Apr 2022)
Changed paths:
M mlir/lib/ExecutionEngine/SparseTensorUtils.cpp
Log Message:
-----------
[mlir][sparse] Factoring out `finalizeSegment` and (generic) `appendIndex`
This change introduces two new methods: `finalizeSegment` and `appendIndex`; and removes three old methods: `endDim`, `appendCurrentPointer`, `appendIndex`. The two new methods better encapsulate their algorithms, thus allowing to remove repetitious code in several other places.
Depends On D122435
Reviewed By: aartbik
Differential Revision: https://reviews.llvm.org/D122625
More information about the All-commits
mailing list