This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] incorporate vector index into address computation
ClosedPublic

Authored by aartbik on Feb 23 2021, 11:44 AM.

Details

Summary

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.

Diff Detail

Event Timeline

aartbik created this revision.Feb 23 2021, 11:44 AM
aartbik requested review of this revision.Feb 23 2021, 11:45 AM
bixia accepted this revision.Feb 23 2021, 12:54 PM
This revision is now accepted and ready to land.Feb 23 2021, 12:54 PM