Skip to content
Commit d21beb59 authored by Lorenzo Chelini's avatar Lorenzo Chelini
Browse files

[MLIR][Linalg] Avoid padding attribute in `pack` when possible

If we deal with statically known tensors and tiles and a given tile
perfectly divides a given dimension, we can omit the padding attribute.
As a bonus point, we can now run pack and unpack propagation
(currently, we bail out during propagation if we have the padding
attribute).

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D154607
parent 2f608131
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment