diff options
author | Sander de Smalen <sander.desmalen@arm.com> | 2023-01-30 11:21:31 +0000 |
---|---|---|
committer | Sander de Smalen <sander.desmalen@arm.com> | 2023-03-01 14:17:58 +0000 |
commit | c41b41eb11b4e6debf2f1bfb2b1d637b209a14c2 (patch) | |
tree | f2e9d6945fffb378df82c4dff7cb03f6d6755a78 /clang/unittests/libclang/LibclangTest.cpp | |
parent | 33eee5418b8b2e16902423230cce50ed57e6cc2b (diff) | |
download | llvm-c41b41eb11b4e6debf2f1bfb2b1d637b209a14c2.zip llvm-c41b41eb11b4e6debf2f1bfb2b1d637b209a14c2.tar.gz llvm-c41b41eb11b4e6debf2f1bfb2b1d637b209a14c2.tar.bz2 |
[LoopVectorize] Use overflow-check analysis to improve tail-folding.
This work follows on from D142109 and addresses a possible regression
when we know the loop iteration counter cannot overflow.
When we know the overflow-check always evaluates to false, it's better to
use the other style of tail folding where it assumes a runtime check was
added, because that avoids having to calculate a modified trip-count.
Reviewed By: paulwalker-arm
Differential Revision: https://reviews.llvm.org/D142894
Diffstat (limited to 'clang/unittests/libclang/LibclangTest.cpp')
0 files changed, 0 insertions, 0 deletions