HomePhabricator

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

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

Description

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

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.

Reviewed By: nicolasvasilache, bkramer

Differential Revision: https://reviews.llvm.org/D87404

Details

Committed
aartbikSep 10 2020, 12:26 AM
Reviewer
nicolasvasilache
Differential Revision
D87404: [mlir] [VectorOps] Enable 32-bit index optimizations
Parents
rG0bdf8c912724: [SCEV] Constant expansion cost at minsize
Branches
Unknown
Tags
Unknown