* config/rs6000/rs6000.md (eh_set_lr_<mode>): Merge with following
define_split to become a define_insn_and_split.
From-SVN: r271185
+2019-05-14 Segher Boessenkool <segher@kernel.crashing.org>
+
+ * config/rs6000/rs6000.md (eh_set_lr_<mode>): Merge with following
+ define_split to become a define_insn_and_split.
+
2019-05-14 Segher Boessenkool <segher@kernel.crashing.org>
* config/rs6000/rs6000-protos.h (rs6000_emit_epilogue): Change
})
; We can't expand this before we know where the link register is stored.
-(define_insn "eh_set_lr_<mode>"
- [(unspec_volatile [(match_operand:P 0 "register_operand" "r")]
- UNSPECV_EH_RR)
+(define_insn_and_split "eh_set_lr_<mode>"
+ [(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)]
{