===================================================================
@@ -629,16 +629,22 @@
)
(define_insn "return_internal"
- [(use (match_operand:SI 0 "register_operand" "r"))
- (return)]
+ [(return)
+ (use (match_operand:SI 0 "register_operand" "r"))]
""
"b %0"
[(set_attr "type" "uibranch")]
)
-(define_insn "return"
+(define_expand "return"
[(return)]
"lm32_can_use_return ()"
+ "lm32_expand_epilogue (); DONE;"
+)
+
+(define_insn "basic_return"
+ [(return)]
+ "lm32_can_use_return ()"
"ret"
[(set_attr "type" "uibranch")]
)