diff options
author | Arnold Schwaighofer <aschwaighofer@apple.com> | 2013-09-16 16:17:24 +0000 |
---|---|---|
committer | Arnold Schwaighofer <aschwaighofer@apple.com> | 2013-09-16 16:17:24 +0000 |
commit | 5721d2f674008cd2cfa5696441e46daa035408b3 (patch) | |
tree | c5ed59dc8c0ca313b7ba63e01413473e484b96fe /utils | |
parent | e5c8c5a1bcecff7e2aa60672be6af2062ad63e6a (diff) | |
download | llvm-5721d2f674008cd2cfa5696441e46daa035408b3.tar.gz llvm-5721d2f674008cd2cfa5696441e46daa035408b3.tar.bz2 llvm-5721d2f674008cd2cfa5696441e46daa035408b3.tar.xz |
Don't vectorize if there are outside loop users of the induction variable.
We would have to compute the pre increment value, either by computing it on
every loop iteration or by splitting the edge out of the loop and inserting a
computation for it there.
For now, just give up vectorizing such loops.
Fixes PR17179.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190790 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions