cse support for clobber_high

Programming / Compilers / GCC - alahay01 [138bc75d-0d04-0410-961f-82ee72b054a4] - 6 August 2018 09:54 EDT

gcc/
- cse.c (invalidate_reg): New function extracted from... (invalidate): ...here. (canonicalize_insn): Check for clobber high. (invalidate_from_clobbers): invalidate clobber highs. (invalidate_from_sets_and_clobbers): Likewise. (count_reg_usage): Check for clobber high. (insn_live_p): Likewise.
- cselib.c (cselib_expand_value_rtx_1):Likewise. (cselib_invalidate_regno): Check for clobber in setter. (cselib_invalidate_rtx): Pass through setter. (cselib_invalidate_rtx_note_stores): (cselib_process_insn): Check for clobber high.
- cselib.h (cselib_invalidate_rtx): Add operand.

5262089193b cse support for clobber_high
gcc/ChangeLog | 16 +++++
gcc/cse.c | 187 ++++++++++++++++++++++++++++++++++++++--------------------
gcc/cselib.c | 42 +++++++++----
gcc/cselib.h | 2 +-
4 files changed, 172 insertions(+), 75 deletions(-)

Upstream: gcc.gnu.org


  • Share