summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorAdam Nemet <anemet@apple.com>2016-03-15 18:06:20 +0000
committerAdam Nemet <anemet@apple.com>2016-03-15 18:06:20 +0000
commitfdb20595a1d2fa093d579e29c9f3784e9b5d5037 (patch)
treecb13b76f5b4be88a4a4c899329a441f5e33afbbb /llvm/lib/Support/CommandLine.cpp
parentdfdf278ebf4165dc6e557f881c5158841c5ea91d (diff)
downloadbcm5719-llvm-fdb20595a1d2fa093d579e29c9f3784e9b5d5037.tar.gz
bcm5719-llvm-fdb20595a1d2fa093d579e29c9f3784e9b5d5037.zip
[LV] Preserve LoopInfo when store predication is used
This was a latent bug that got exposed by the change to add LoopSimplify as a dependence to LoopLoadElimination. Since LoopInfo was corrupted after LV, LoopSimplify mis-compiled nbench in the test-suite (more details in the PR). The problem was that when we create the blocks for predicated stores we didn't add those to any loops. The original testcase for store predication provides coverage for this assuming we verify LI on the way out of LV. Fixes PR26952. llvm-svn: 263565
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud