public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [0/6] Make vector pattern statements less special
@ 2018-08-28 11:19 Richard Sandiford
  2018-08-28 11:20 ` [1/6] Handle gphis in gimple_get_lhs Richard Sandiford
                   ` (5 more replies)
  0 siblings, 6 replies; 22+ messages in thread
From: Richard Sandiford @ 2018-08-28 11:19 UTC (permalink / raw)
  To: gcc-patches

The goal of this series is to make vector pattern statements
less special compared to normal bb statements, and thus make
them easier to work with.  It picks up the tail end of:

  https://gcc.gnu.org/ml/gcc-patches/2018-07/msg01821.html

Patch 08/11 from that series turned out to be wrong, for the
reason shown by a test in 3/6.  The new series also contains a
couple of other bug fixes and three new patches (1/6, 2/6 and 6/6).

A side benefit is that it becomes as easy for the vectoriser to
do its own DCE as it is to do the half-DCE it currently does (4/6).
This might make:

          PUSH_INSERT_PASSES_WITHIN (pass_vectorize)
	      NEXT_PASS (pass_dce);
          POP_INSERT_PASSES ()

redundant -- I can experiment with that as a follow-on if the
series is OK.

The series is a prerequisite to supporting extending loads and
truncating stores.

Tested on aarch64-linux-gnu (with and without SVE), aarch64_be-elf
and x86_64-linux-gnu.  Also tested on SPEC2k6 and SPEC2017 for
SVE and x86_64-linux-gnu.

Richard

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2018-08-30 10:24 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-28 11:19 [0/6] Make vector pattern statements less special Richard Sandiford
2018-08-28 11:20 ` [1/6] Handle gphis in gimple_get_lhs Richard Sandiford
2018-08-28 18:22   ` Jeff Law
2018-08-28 11:21 ` [2/6] Make vec_info::lookup_single_use take a stmt_vec_info Richard Sandiford
2018-08-28 18:25   ` Jeff Law
2018-08-28 11:22 ` [3/6] Add a vec_basic_block structure Richard Sandiford
2018-08-28 22:38   ` Jeff Law
2018-08-28 11:23 ` [4/6] Make the vectoriser do its own DCE Richard Sandiford
2018-08-28 23:01   ` Jeff Law
2018-08-29  7:16     ` Richard Biener
2018-08-28 11:25 ` [6/6] Link imm uses for pattern stmts Richard Sandiford
2018-08-29  7:43   ` Richard Biener
2018-08-29  9:25     ` Richard Sandiford
2018-08-30 10:24       ` Richard Biener
2018-08-28 11:25 ` [5/6] Insert pattern statements into vec_basic_blocks Richard Sandiford
2018-08-28 23:16   ` Jeff Law
2018-08-29  7:18     ` Richard Biener
2018-08-29  7:55   ` Jakub Jelinek
2018-08-29  8:59     ` Richard Sandiford
2018-08-29  9:10       ` Jakub Jelinek
2018-08-29  9:22         ` Richard Biener
2018-08-29  9:38           ` Richard Sandiford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).