diff options
author | Ayal Zaks <ayal.zaks@intel.com> | 2020-05-17 17:51:03 +0300 |
---|---|---|
committer | Ayal Zaks <ayal.zaks@intel.com> | 2020-05-19 01:32:25 +0300 |
commit | 682e739638a9c569d4c5c358ab75365175a95efc (patch) | |
tree | 68592704d6cc7ab7bcdd0b83a1224a177021eb15 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | a81f8fb78dcb5d92deab82bb33e5c7f29de8ba48 (diff) | |
download | llvm-682e739638a9c569d4c5c358ab75365175a95efc.zip llvm-682e739638a9c569d4c5c358ab75365175a95efc.tar.gz llvm-682e739638a9c569d4c5c358ab75365175a95efc.tar.bz2 |
[LV] Fix FoldTail under user VF and UF
LV considers an internally computed MaxVF to decide if a constant trip-count is
a multiple of any subsequently chosen VF, and conclude that no scalar remainder
iterations (tail) will be left for Fold Tail to handle. If an external VF is
provided via -force-vector-width, it must be considered instead of the internal
MaxVF.
If an external UF is provided via -force-vector-interleave, it too must be
considered in addition to MaxVF or user VF.
Fixes PR45679.
Differential Revision: https://reviews.llvm.org/D80085
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions