aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
diff options
context:
space:
mode:
authorAndrzej Warzynski <andrzej.warzynski@gmail.com>2023-02-06 18:53:00 +0000
committerAndrzej Warzynski <andrzej.warzynski@gmail.com>2023-02-14 19:05:02 +0000
commit7301a7ce196e217c077b2b68f58366be48664223 (patch)
tree5f787cfb5d5cd74cc4f1f95c8b1d74006df97f54 /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
parent4e3dac6f0a4c419ee0cd575407e95f3833a01a2e (diff)
downloadllvm-7301a7ce196e217c077b2b68f58366be48664223.zip
llvm-7301a7ce196e217c077b2b68f58366be48664223.tar.gz
llvm-7301a7ce196e217c077b2b68f58366be48664223.tar.bz2
[mlir][linalg] Make Linalg vectorizer lower affine.apply
As discussed in [1], it is possible that the input to the Linalg vectorizer contains `affine.apply` ops. Such operations are not vectarizable at the moment, but this can be fixed by simply converting them to arithmetic operations. This is basically what this patch introduces. The IR change enabled in this patch could be part of a larger set of "linalgOp pre-processing" transformations that happens right before vectorization starts but after we know we can vectorize the op. I am leaving this as a TODO. [1] https://github.com/iree-org/iree/issues/10876 Differential Revision: https://reviews.llvm.org/D143429 Co-authored-by: Thomas Raoux <thomasraoux@google.com>
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions