summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/code-coverage.c
diff options
context:
space:
mode:
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>2018-05-02 22:56:04 +0000
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>2018-05-02 22:56:04 +0000
commit2139e99e47f1fcb602a75d07f2eb979c0fd8e208 (patch)
tree6274f479bb0440df09bd352130bf4d7baa46a32c /clang/test/CodeGen/code-coverage.c
parent613725507cb2c5bb09c680a64b935447c99b0729 (diff)
downloadbcm5719-llvm-2139e99e47f1fcb602a75d07f2eb979c0fd8e208.tar.gz
bcm5719-llvm-2139e99e47f1fcb602a75d07f2eb979c0fd8e208.zip
[PowerPC] No CTR loop if the candidate exiting block is in a different loop
The CTR loops pass will insert the decrementing branch instruction in an exiting block for the loop being transformed. However if that block is part of another loop as well (whether a nested loop or with irreducible CFG), it is not valid to use that exiting block. In fact, if the loop hass irreducible CFG, we don't bother analyzing it and we just bail on the transformation. In practice, this doesn't lead to a noticeable reduction in the number of loops transformed by this pass. Fixes https://bugs.llvm.org/show_bug.cgi?id=37229 Differential Revision: https://reviews.llvm.org/D46162 llvm-svn: 331410
Diffstat (limited to 'clang/test/CodeGen/code-coverage.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud