diff options
author | John Brawn <john.brawn@arm.com> | 2025-04-17 11:50:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-17 11:50:49 +0100 |
commit | eafbb879f676ccd65fe7efae6b5280ae750ef20a (patch) | |
tree | 0f1e0cd1ed4b3250c9da6adf4b20d722c86d0011 /clang/lib/AST/ByteCode/Compiler.cpp | |
parent | 90ddb5444030b8d7cca6e91a27994e4fa9a6525d (diff) | |
download | llvm-eafbb879f676ccd65fe7efae6b5280ae750ef20a.zip llvm-eafbb879f676ccd65fe7efae6b5280ae750ef20a.tar.gz llvm-eafbb879f676ccd65fe7efae6b5280ae750ef20a.tar.bz2 |
[LoopVectorize] Don't replicate blocks with optsize (#129265)
Any VPlan we generate that contains a replicator region will result in
replicated blocks in the output, causing a large code size increase.
Reject such VPlans when optimizing for size, as the code size impact is
usually worse than having a scalar epilogue, which we already forbid
with optsize.
This change requires a lot of test changes. For tests of optsize
specifically I've updated the test with the new output, otherwise the
tests have been adjusted to not rely on optsize.
Fixes #66652
Diffstat (limited to 'clang/lib/AST/ByteCode/Compiler.cpp')
0 files changed, 0 insertions, 0 deletions