Generation support for CLOBBER_HIGH
authorAlan Hayward <alan.hayward@arm.com>
Mon, 6 Aug 2018 09:16:24 +0000 (09:16 +0000)
committerAlan Hayward <alahay01@gcc.gnu.org>
Mon, 6 Aug 2018 09:16:24 +0000 (09:16 +0000)
commit14196e023fa2a07f86e864a9492e7cf3950d5ce9
treef0d8015e011ea09736010143008d034336aed6e5
parent601e86a57f6ec7e9acdfe5767779a3c62735b0e6
Generation support for CLOBBER_HIGH

Ensure clobber high is a register expression.
Info is passed through for the error case.

gcc/
* emit-rtl.c (verify_rtx_sharing): Check for CLOBBER_HIGH.
(copy_insn_1): Likewise.
(gen_hard_reg_clobber_high): New gen function.
* genconfig.c (walk_insn_part): Check for CLOBBER_HIGH.
* genemit.c (gen_exp): Likewise.
(gen_emit_seq): Pass through info.
(gen_insn): Check for CLOBBER_HIGH.
(gen_expand): Pass through info.
(gen_split): Likewise.
(output_add_clobbers): Likewise.
* genrecog.c (validate_pattern): Check for CLOBBER_HIGH.
(remove_clobbers): Likewise.
* rtl.h (gen_hard_reg_clobber_high): New declaration.

From-SVN: r263327
gcc/ChangeLog
gcc/emit-rtl.c
gcc/genconfig.c
gcc/genemit.c
gcc/genrecog.c
gcc/rtl.h