This is an archive of the discontinued LLVM Phabricator instance.

[mlir] [VectorOps] Enable 32-bit index optimizations
ClosedPublic

Authored by aartbik on Sep 9 2020, 11:15 AM.

Details

Summary

Rationale:
After some discussion we decided that it is safe to assume 32-bit
indices for all subscripting in the vector dialect (it is unlikely
the dialect will be used; or even work; for such long vectors).
So rather than detecting specific situations that can exploit
32-bit indices with higher parallel SIMD, we just optimize it
by default, and let users that don't want it opt-out.

Diff Detail

Event Timeline

aartbik created this revision.Sep 9 2020, 11:15 AM
Herald added a project: Restricted Project. · View Herald Transcript
aartbik requested review of this revision.Sep 9 2020, 11:15 AM
bkramer accepted this revision.Sep 9 2020, 11:25 AM

nice

This revision is now accepted and ready to land.Sep 9 2020, 11:25 AM
This revision was automatically updated to reflect the committed changes.