[all-commits] [llvm/llvm-project] 17fa91: [mlir][sparse] incorporate vector index into addre...
Aart Bik via All-commits
all-commits at lists.llvm.org
Tue Feb 23 13:26:20 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 17fa9198471eb559aa772df92484516aee1dbf87
https://github.com/llvm/llvm-project/commit/17fa9198471eb559aa772df92484516aee1dbf87
Author: Aart Bik <ajcbik at google.com>
Date: 2021-02-23 (Tue, 23 Feb 2021)
Changed paths:
M mlir/lib/Dialect/Linalg/Transforms/Sparsification.cpp
M mlir/test/Dialect/Linalg/sparse_vector.mlir
Log Message:
-----------
[mlir][sparse] incorporate vector index into address computation
When computing dense address, a vectorized index must be accounted
for properly. This bug was formerly undetected because we get 0 * prev + i
in most cases, which folds away the scalar part. Now it works for all cases.
Reviewed By: bixia
Differential Revision: https://reviews.llvm.org/D97317
More information about the All-commits
mailing list