commit | f3c7df4a0ede5d8ec3a9cd6fd7896f83283d6fa2 | [log] [tgz] |
---|---|---|
author | Anna Thomas <anna@azul.com> | Mon Aug 13 19:55:25 2018 +0000 |
committer | Anna Thomas <anna@azul.com> | Mon Aug 13 19:55:25 2018 +0000 |
tree | feea9e3dd3510af400f6a7b002c68afb48b1d80b | |
parent | 8b80050699f1481c4f4b052821cce24ed60bb371 [diff] |
NFC: Add a test to LV showing that reduction is not possible when reduction var is reset in the loop Added a test case to reduction showing where it's illegal to identify vectorize a loop. Resetting the reduction var during loop iterations disallows us from widening the dependency cycle to VF, thereby making it illegal to vectorize the loop. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@339605 91177308-0d34-0410-b5e6-96231b3b80d8