aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorAart Bik <ajcbik@google.com>2021-02-23 11:43:03 -0800
committerAart Bik <ajcbik@google.com>2021-02-23 13:25:51 -0800
commit17fa9198471eb559aa772df92484516aee1dbf87 (patch)
treec2b113553c967ec9b8fdbdd770cce1a77de8e157 /llvm/lib/IR/Module.cpp
parent6740694742165c03e074f19141f58a8df5a887ec (diff)
downloadllvm-17fa9198471eb559aa772df92484516aee1dbf87.zip
llvm-17fa9198471eb559aa772df92484516aee1dbf87.tar.gz
llvm-17fa9198471eb559aa772df92484516aee1dbf87.tar.bz2
[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
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions