target-insns.def (can_extend, ptr_extend): New targetm instruction patterns.
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 28 Jul 2015 19:59:40 +0000 (19:59 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 28 Jul 2015 19:59:40 +0000 (19:59 +0000)
commit2a870875df5b51ff8803dc0062fdcb02d15b364d
tree89bfddfae877a517ba1a218ff9c9be07f1e81d11
parent3b0b0013f6dbe34d2e1ddeacd7e7c26752575680
target-insns.def (can_extend, ptr_extend): New targetm instruction patterns.

gcc/
* target-insns.def (can_extend, ptr_extend): New targetm instruction
patterns.
* optabs.c (can_extend_p): Use them instead of HAVE_*/gen_* interface.
* simplify-rtx.c (simplify_unary_operation_1): Likewise.
* emit-rtl.c (set_reg_attrs_from_value): Likewise.
* rtlanal.c (nonzero_bits1): Likewise.
(num_sign_bit_copies1): Likewise.

From-SVN: r226324
gcc/ChangeLog
gcc/emit-rtl.c
gcc/optabs.c
gcc/rtlanal.c
gcc/simplify-rtx.c
gcc/target-insns.def