[all-commits] [llvm/llvm-project] aff9c8: [mlir][sparse] Simplifying closure
wren romano via All-commits
all-commits at lists.llvm.org
Thu May 19 15:15:49 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: aff9c89fabb3a50e6da31fb739b22ad2ed76bf62
https://github.com/llvm/llvm-project/commit/aff9c89fabb3a50e6da31fb739b22ad2ed76bf62
Author: wren romano <2998727+wrengr at users.noreply.github.com>
Date: 2022-05-19 (Thu, 19 May 2022)
Changed paths:
M mlir/lib/ExecutionEngine/SparseTensorUtils.cpp
Log Message:
-----------
[mlir][sparse] Simplifying closure
By closing over the `rank` itself rather than `this`, we save a method call on each iteration. A minor optimization, but one that adds up.
Depends On D126016
Reviewed By: aartbik
Differential Revision: https://reviews.llvm.org/D126019
More information about the All-commits
mailing list