Remove the return_reg instruction.
RISC architectures that take a return address in a register can use a special-purpose `link` return value to do so.
This commit is contained in:
@@ -15,7 +15,7 @@ ebb0(v1: i32, v2: i32):
|
||||
; check: [R#10c]
|
||||
; sameln: $v12 = imul
|
||||
|
||||
return_reg v1
|
||||
return
|
||||
; check: [Iret#19]
|
||||
; sameln: return_reg
|
||||
; sameln: return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user