diff options
| author | Matthew Simpson <mssimpso@codeaurora.org> | 2016-10-07 15:20:13 +0000 |
|---|---|---|
| committer | Matthew Simpson <mssimpso@codeaurora.org> | 2016-10-07 15:20:13 +0000 |
| commit | a371c14ffe5de634e74c9654444804fb8a4b5eb5 (patch) | |
| tree | a5a3b06e40ec0fc2da615d9ab48b784b6dfaef43 /llvm/lib/Transforms/Utils | |
| parent | 9397cf953cd02ede85e84b37360ad87748fcefe0 (diff) | |
| download | bcm5719-llvm-a371c14ffe5de634e74c9654444804fb8a4b5eb5.tar.gz bcm5719-llvm-a371c14ffe5de634e74c9654444804fb8a4b5eb5.zip | |
[LV] Don't mark multi-use branch conditions uniform
Previously, we marked the branch conditions of latch blocks uniform after
vectorization if they were instructions contained in the loop. However, if a
condition instruction has users other than the branch, it may not remain
uniform. This patch ensures the conditions we mark uniform are only used by the
branch. This should fix PR30627.
Reference: https://llvm.org/bugs/show_bug.cgi?id=30627
llvm-svn: 283563
Diffstat (limited to 'llvm/lib/Transforms/Utils')
0 files changed, 0 insertions, 0 deletions

