diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2017-02-21 15:37:18 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2017-02-21 15:37:18 +0000 |
commit | 5daaf2d5d971bdd3db733fc041bdd4bad674c65c (patch) | |
tree | 3731ccaafedf5adfe617a9a603c033dcbb009416 /gcc/cfgloopmanip.c | |
parent | 2f3ec56d606df6665d93599b2a018db631a13113 (diff) | |
download | gcc-5daaf2d5d971bdd3db733fc041bdd4bad674c65c.zip gcc-5daaf2d5d971bdd3db733fc041bdd4bad674c65c.tar.gz gcc-5daaf2d5d971bdd3db733fc041bdd4bad674c65c.tar.bz2 |
loop.texi (Loop manipulation): Remove nonexistent tree_ssa_loop_version from the documentation.
* doc/loop.texi (Loop manipulation): Remove nonexistent
tree_ssa_loop_version from the documentation.
* cfgloopmanip.c (loop_version): Document CONDITION_BB argument.
From-SVN: r245630
Diffstat (limited to 'gcc/cfgloopmanip.c')
-rw-r--r-- | gcc/cfgloopmanip.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/cfgloopmanip.c b/gcc/cfgloopmanip.c index a0e3e30..3e34aad 100644 --- a/gcc/cfgloopmanip.c +++ b/gcc/cfgloopmanip.c @@ -1689,10 +1689,13 @@ lv_adjust_loop_entry_edge (basic_block first_head, basic_block second_head, This transformation given a condition and a loop, creates -if (condition) { loop_copy1 } else { loop_copy2 }, where loop_copy1 is the loop transformed in one way, and loop_copy2 - is the loop transformed in another way (or unchanged). 'condition' + is the loop transformed in another way (or unchanged). COND_EXPR may be a run time test for things that were not resolved by static analysis (overlapping ranges (anti-aliasing), alignment, etc.). + If non-NULL, CONDITION_BB is set to the basic block containing the + condition. + THEN_PROB is the probability of the then edge of the if. THEN_SCALE is the ratio by that the frequencies in the original loop should be scaled. ELSE_SCALE is the ratio by that the frequencies in the |