cse support for clobber_high
authorAlan Hayward <alan.hayward@arm.com>
Mon, 6 Aug 2018 09:54:28 +0000 (09:54 +0000)
committerAlan Hayward <alahay01@gcc.gnu.org>
Mon, 6 Aug 2018 09:54:28 +0000 (09:54 +0000)
commit99788e063016c4f8d87dae3de71c646effac654f
tree073666483b43c7890a2cd761d82b0a76d323033a
parent30dc1902a777966dc1d1dad0fb5f19b7a960e5ca
cse support for clobber_high

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.

From-SVN: r263330
gcc/ChangeLog
gcc/cse.c
gcc/cselib.c
gcc/cselib.h