aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@gcc.gnu.org>2019-11-06 01:06:23 +0100
committerSegher Boessenkool <segher@gcc.gnu.org>2019-11-06 01:06:23 +0100
commit8cb0906b0fa9c07095db1ec7fb22eaeecf5075af (patch)
tree1421225fbcbe4b01b27184e7a8e78fa0dff29cf9 /gcc
parentb7689b962dd6536bbb2567bfdec52e35109af7ab (diff)
downloadgcc-8cb0906b0fa9c07095db1ec7fb22eaeecf5075af.zip
gcc-8cb0906b0fa9c07095db1ec7fb22eaeecf5075af.tar.gz
gcc-8cb0906b0fa9c07095db1ec7fb22eaeecf5075af.tar.bz2
doc: Insn splitting by combine
The combine pass is perfectly happy if a splitter splits to just one instruction (instead of two). * doc/md.texi (Insn Splitting): Fix combiner documentation. From-SVN: r277866
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/doc/md.texi2
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8ee23dd..63ef711 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,4 +1,8 @@
-2019-10-26 Jason Merrill <jason@redhat.com>
+2019-11-05 Segher Boessenkool <segher@kernel.crashing.org>
+
+ * doc/md.texi (Insn Splitting): Fix combiner documentation.
+
+2019-11-05 Jason Merrill <jason@redhat.com>
PR tree-optimization/91825
* expmed.c: Reduce -Wmaybe-uninitialized to warning.
diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi
index 859ebed..19d6893 100644
--- a/gcc/doc/md.texi
+++ b/gcc/doc/md.texi
@@ -8371,7 +8371,7 @@ case that the pattern is @emph{not} matched by any @code{define_insn}.
The combiner pass first tries to split a single @code{set} expression
and then the same @code{set} expression inside a @code{parallel}, but
followed by a @code{clobber} of a pseudo-reg to use as a scratch
-register. In these cases, the combiner expects exactly two new insn
+register. In these cases, the combiner expects exactly one or two new insn
patterns to be generated. It will verify that these patterns match some
@code{define_insn} definitions, so you need not do this test in the
@code{define_split} (of course, there is no point in writing a