diff mbox series

doc: Insn splitting by combine

Message ID ba0a8d13d7ff1d49d44abd00862e7033f97c9300.1572998307.git.segher@kernel.crashing.org
State New
Headers show
Series doc: Insn splitting by combine | expand

Commit Message

Segher Boessenkool Nov. 6, 2019, midnight UTC
The conbine pass is perfectly happy if a splitter splits to just one
instruction (instead of two).

Committing to trunk.


Segher


2019-11-05  Segher Boessenkool  <segher@kernel.crashing.org>

	* doc/md.texi (Insn Splitting): Fix combiner documentation.

---
 gcc/doc/md.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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