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 | 53e622cef47bd48e73e0229009cdcf0ef105f8d4 (patch) | |
tree | afa3bcd2bbeb9e2bedf3e4d52f3510a20add3a1a /clang/lib/Frontend | |
parent | 3bde507a7a9fb6707746e845f8eda6b33b2d9e8d (diff) | |
download | bcm5719-llvm-53e622cef47bd48e73e0229009cdcf0ef105f8d4.tar.gz bcm5719-llvm-53e622cef47bd48e73e0229009cdcf0ef105f8d4.zip |
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.
llvm-svn: 190790
Diffstat (limited to 'clang/lib/Frontend')
0 files changed, 0 insertions, 0 deletions