commit | 5721d2f674008cd2cfa5696441e46daa035408b3 | [log] [tgz] |
---|---|---|
author | Arnold Schwaighofer <aschwaighofer@apple.com> | Mon Sep 16 16:17:24 2013 +0000 |
committer | Arnold Schwaighofer <aschwaighofer@apple.com> | Mon Sep 16 16:17:24 2013 +0000 |
tree | c5ed59dc8c0ca313b7ba63e01413473e484b96fe | |
parent | e5c8c5a1bcecff7e2aa60672be6af2062ad63e6a [diff] |
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