aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/match.pd2
-rw-r--r--gcc/tree-ssa-loop-split.c6
3 files changed, 7 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c74ba1729b8..66f78be9b99 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -45,6 +45,9 @@
(cmp_ccxv_neg_set): Likewise.
(cmp_ccv_neg_sltu_set): Likewise.
+ * tree-ssa-loop-split.c: Remove trailing spaces.
+ * match.pd: Likewise.
+
2016-10-21 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
PR rtl-optimization/78038
diff --git a/gcc/match.pd b/gcc/match.pd
index 78884591c8f..767d23a4c1a 100644
--- a/gcc/match.pd
+++ b/gcc/match.pd
@@ -2581,7 +2581,7 @@ DEFINE_INT_AND_FLOAT_ROUND_FN (RINT)
Disable the transform if either operand is pointer to function.
This broke pr22051-2.c for arm where function pointer
canonicalizaion is not wanted. */
-
+
(for cmp (ne eq)
(simplify
(cmp (convert @0) INTEGER_CST@1)
diff --git a/gcc/tree-ssa-loop-split.c b/gcc/tree-ssa-loop-split.c
index e2bfd783cb2..922817e63e4 100644
--- a/gcc/tree-ssa-loop-split.c
+++ b/gcc/tree-ssa-loop-split.c
@@ -270,7 +270,7 @@ connect_loop_phis (struct loop *loop1, struct loop *loop2, edge new_e)
falling through to LOOP2, or skipping it. This is done by splitting
the ex1->join edge at X in the diagram above, and inserting a condition
whose one arm goes to pre2, resulting in this situation:
-
+
.------if (cond)------.
v v
pre1 .---------->pre2
@@ -284,12 +284,12 @@ connect_loop_phis (struct loop *loop1, struct loop *loop2, edge new_e)
| |
'--->join<---'
-
+
The condition used is the exit condition of LOOP1, which effectively means
that when the first loop exits (for whatever reason) but the real original
exit expression is still false the second loop will be entered.
The function returns the new edge cond->pre2.
-
+
This doesn't update the SSA form, see connect_loop_phis for that. */
static edge