diff options
author | Nicolas Vasilache <nicolas.vasilache@gmail.com> | 2021-02-16 09:24:28 +0000 |
---|---|---|
committer | Nicolas Vasilache <nicolas.vasilache@gmail.com> | 2021-02-16 09:45:14 +0000 |
commit | 21debeae785dc4d7c9718fe5b46857a2c2ce6670 (patch) | |
tree | b24107ea3b27e57049bd93ffe0c6deb349cd5d78 /clang/unittests/Frontend/CompilerInvocationTest.cpp | |
parent | 96d229c9abdfb2836e18a554bfb63b5d52aeebfa (diff) | |
download | llvm-21debeae785dc4d7c9718fe5b46857a2c2ce6670.zip llvm-21debeae785dc4d7c9718fe5b46857a2c2ce6670.tar.gz llvm-21debeae785dc4d7c9718fe5b46857a2c2ce6670.tar.bz2 |
[mlir][Linalg] Generalize vector::transfer hoisting on tensors.
This revision adds support for hoisting "subtensor + vector.transfer_read" / "subtensor_insert + vector.transfer_write pairs" across scf.for.
The unit of hoisting becomes a HoistableRead / HoistableWrite struct which contains a pair of "vector.transfer_read + optional subtensor" / "vector.transfer_write + optional subtensor_insert".
scf::ForOp canonicalization patterns are applied greedily on the successful application of the transformation to cleanup the IR more eagerly and potentially expose more transformation opportunities.
Differential revision: https://reviews.llvm.org/D96731
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions