HomePhabricator

Promote transpose from linalg to standard dialect

Authored by bkramer on Sep 30 2020, 10:19 AM.

Description

Promote transpose from linalg to standard dialect

While affine maps are part of the builtin memref type, there is very
limited support for manipulating them in the standard dialect. Add
transpose to the set of ops to complement the existing view/subview ops.
This is a metadata transformation that encodes the transpose into the
strides of a memref.

I'm planning to use this when lowering operations on strided memrefs,
using the transpose to remove the stride without adding a dependency on
linalg dialect.

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

Details

Committed
bkramerOct 5 2020, 1:58 AM
Differential Revision
D88651: Promote transpose from linalg to standard dialect
Parents
rG16778b19f2c2: [AMDGPU] Make bfe patterns divergence-aware
Branches
Unknown
Tags
Unknown