diff options
author | Florian Hahn <flo@fhahn.com> | 2021-10-15 19:27:23 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2021-10-15 20:35:58 +0100 |
commit | 4a1d63d7d09ff63ccbcb8831972c00dfc9600998 (patch) | |
tree | 42ee2b57ec22a25bbe296210bd52361950d210f8 /clang/lib/Lex/ModuleMap.cpp | |
parent | 69708477be258dbea2711f6a35c02685659b49d3 (diff) | |
download | llvm-4a1d63d7d09ff63ccbcb8831972c00dfc9600998.zip llvm-4a1d63d7d09ff63ccbcb8831972c00dfc9600998.tar.gz llvm-4a1d63d7d09ff63ccbcb8831972c00dfc9600998.tar.bz2 |
[VectorCombine] Add option to only run scalarization transforms.
This patch adds a pass option to only run transforms that scalarize
vector operations and do not create new vector instructions.
When running VectorCombine early in the pipeline introducing new vector
operations can have negative effects, like blocking loop or SLP
vectorization. To avoid regressions, restrict the early VectorCombine
run (when using -enable-matrix) to only perform scalarization and not
introduce new vector operations.
This is done as option to the pass directly, which is then set when
adding the pass to the pipeline. This is done for the new pass manager
only.
Reviewed By: spatel
Differential Revision: https://reviews.llvm.org/D111800
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions