diff options
author | Arnold Schwaighofer <aschwaighofer@apple.com> | 2014-05-29 22:10:01 +0000 |
---|---|---|
committer | Arnold Schwaighofer <aschwaighofer@apple.com> | 2014-05-29 22:10:01 +0000 |
commit | e2067680a6a44e1475ba3af5a513331b97bec452 (patch) | |
tree | b2b2702137fbcfd534b99f6e20996b4390a1df35 /llvm/docs/ProgrammersManual.rst | |
parent | 229dc176100546802ca35c4e214eba06612f9831 (diff) | |
download | bcm5719-llvm-e2067680a6a44e1475ba3af5a513331b97bec452.tar.gz bcm5719-llvm-e2067680a6a44e1475ba3af5a513331b97bec452.zip |
LoopVectorizer: Add a check that the backedge taken count + 1 does not overflow
The loop vectorizer instantiates be-taken-count + 1 as the loop iteration count.
If this expression overflows the generated code was invalid.
In case of overflow the code now jumps to the scalar loop.
Fixes PR17288.
llvm-svn: 209854
Diffstat (limited to 'llvm/docs/ProgrammersManual.rst')
0 files changed, 0 insertions, 0 deletions