diff options
author | Andrzej WarzyĆski <andrzej.warzynski@arm.com> | 2024-10-25 10:39:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-25 10:39:26 -0700 |
commit | ac4bd74190fedfbe025ef757ff308dd184a507f5 (patch) | |
tree | b460fde780b03258aee336b706dba5e30b710c9d /clang/lib/Lex/ModuleMap.cpp | |
parent | 6e7375031a1a3172d5e369cf2c108da2bcf65c8a (diff) | |
download | llvm-ac4bd74190fedfbe025ef757ff308dd184a507f5.zip llvm-ac4bd74190fedfbe025ef757ff308dd184a507f5.tar.gz llvm-ac4bd74190fedfbe025ef757ff308dd184a507f5.tar.bz2 |
[mlir] Add apply_patterns.linalg.pad_vectorization TD Op (#112504)
This PR simply wraps `populatePadOpVectorizationPatterns` into a new
Transform Dialect Op: `apply_patterns.linalg.pad_vectorization`.
This change makes it possible to run (and test) the corresponding
patterns _without_:
`transform.structured.vectorize_children_and_apply_patterns`.
Note that the Op above only supports non-masked vectorisation (i.e. when
the inputs are static), so, effectively, only fixed-width vectorisation
(as opposed to scalable vectorisation). As such, this change is required
to construct vectorization pipelines for tensor.pad targeting scalable
vectors.
To test the new Op and the corresponding patterns, I added
"vectorization-pad-patterns.mlir" - most tests have been extracted from
"vectorization-with-patterns.mlir".
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions