mbox series

[0/6] rtl-ssa: Various fixes needed for the late-combine pass

Message ID 20231024105006.3337671-1-richard.sandiford@arm.com
Headers show
Series rtl-ssa: Various fixes needed for the late-combine pass | expand

Message

Richard Sandiford Oct. 24, 2023, 10:50 a.m. UTC
Testing the late-combine pass showed a depressing number of
bugs in areas of RTL-SSA that hadn't been used much until now.
Most of them relate to doing things after RA.

Tested on aarch64-linux-gnu & x86_64-linux-gnu.  OK to install?

Richard

Richard Sandiford (6):
  rtl-ssa: Ensure global registers are live on exit
  rtl-ssa: Create REG_UNUSED notes after all pending changes
  rtl-ssa: Fix ICE when deleting memory clobbers
  rtl-ssa: Handle artifical uses of deleted defs
  rtl-ssa: Calculate dominance frontiers for the exit block
  rtl-ssa: Handle call clobbers in more places

 gcc/rtl-ssa/access-utils.h | 27 ++++++-----------
 gcc/rtl-ssa/accesses.cc    | 25 ++++++++++++++++
 gcc/rtl-ssa/blocks.cc      | 60 ++++++++++++++++++++++++++------------
 gcc/rtl-ssa/changes.cc     | 58 +++++++++++++++++++++++++++++++-----
 gcc/rtl-ssa/functions.cc   |  2 +-
 gcc/rtl-ssa/functions.h    | 15 ++++++++++
 gcc/rtl-ssa/insns.cc       |  2 ++
 gcc/rtl-ssa/internals.h    |  4 +++
 gcc/rtl-ssa/member-fns.inl |  9 ++++++
 9 files changed, 158 insertions(+), 44 deletions(-)