mbox series

[0/6] use an helper to add an instruction to a BB

Message ID 20210321161609.45905-1-luc.vanoostenryck@gmail.com (mailing list archive)
Headers show
Series use an helper to add an instruction to a BB | expand

Message

Luc Van Oostenryck March 21, 2021, 4:16 p.m. UTC
This series adds and uses an new helper to add an instruction at
the end of a BB.

It's a preparatory step for incoming changes in memops simplifications.


Luc Van Oostenryck (6):
  add insert_last_instruction()
  replace add_instruction_to_end() by insert_last_instruction()
  let insert_select() use insert_last_instruction()
  let insert_phis() use insert_last_instruction()
  let find_dominating_parents() use insert_last_instruction()
  let ssa_rename_phi() use insert_last_instruction()

 cse.c       | 10 +---------
 linearize.c | 14 ++++----------
 linearize.h |  8 ++++++++
 memops.c    | 10 +++++-----
 ssa.c       |  6 +++---
 5 files changed, 21 insertions(+), 27 deletions(-)


base-commit: 7b5cc7b6135733cbbce121cc94fdc4a5400f46b5