summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopVectorize/hoist-loads.ll
diff options
context:
space:
mode:
authorMatthew Simpson <mssimpso@codeaurora.org>2016-10-07 15:20:13 +0000
committerMatthew Simpson <mssimpso@codeaurora.org>2016-10-07 15:20:13 +0000
commita371c14ffe5de634e74c9654444804fb8a4b5eb5 (patch)
treea5a3b06e40ec0fc2da615d9ab48b784b6dfaef43 /llvm/test/Transforms/LoopVectorize/hoist-loads.ll
parent9397cf953cd02ede85e84b37360ad87748fcefe0 (diff)
downloadbcm5719-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/test/Transforms/LoopVectorize/hoist-loads.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud