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 | 06413cd0f0aafb56b86ec8f7ab44328ca49f1aeb (patch) | |
tree | 1fd307d679f0f3449fa6a0ad242623843f4cc763 /docs | |
parent | ade072c1a9cbd06e99862dff90c72af0b1f2edbe (diff) | |
download | llvm-06413cd0f0aafb56b86ec8f7ab44328ca49f1aeb.tar.gz llvm-06413cd0f0aafb56b86ec8f7ab44328ca49f1aeb.tar.bz2 llvm-06413cd0f0aafb56b86ec8f7ab44328ca49f1aeb.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209854 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions