From: Segher Boessenkool Date: Tue, 14 May 2019 17:34:00 +0000 (+0200) Subject: rs6000: Make eh_set_lr_ a define_insn_and_split X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b4d12b5eb63f2f7259ac717cf367451ffe54873a;p=gcc.git rs6000: Make eh_set_lr_ a define_insn_and_split * config/rs6000/rs6000.md (eh_set_lr_): Merge with following define_split to become a define_insn_and_split. From-SVN: r271185 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 812f8c34399..259d9d52b61 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-05-14 Segher Boessenkool + + * config/rs6000/rs6000.md (eh_set_lr_): Merge with following + define_split to become a define_insn_and_split. + 2019-05-14 Segher Boessenkool * config/rs6000/rs6000-protos.h (rs6000_emit_epilogue): Change diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index c3181e7f4dc..31fc90a4aa2 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -13099,16 +13099,11 @@ }) ; We can't expand this before we know where the link register is stored. -(define_insn "eh_set_lr_" - [(unspec_volatile [(match_operand:P 0 "register_operand" "r")] - UNSPECV_EH_RR) +(define_insn_and_split "eh_set_lr_" + [(unspec_volatile [(match_operand:P 0 "register_operand" "r")] UNSPECV_EH_RR) (clobber (match_scratch:P 1 "=&b"))] "" - "#") - -(define_split - [(unspec_volatile [(match_operand 0 "register_operand")] UNSPECV_EH_RR) - (clobber (match_scratch 1))] + "#" "reload_completed" [(const_int 0)] {