Generate SSA code from returns (#5172)
Modify return pseudo-instructions to have pairs of registers: virtual and real. This allows us to constrain the virtual registers to the real ones specified by the abi, instead of directly emitting moves to those real registers.
This commit is contained in:
@@ -787,7 +787,7 @@
|
||||
|
||||
;; A machine return instruction.
|
||||
(Ret
|
||||
(rets VecReg))
|
||||
(rets VecRetPair))
|
||||
|
||||
;; A machine return instruction with pointer authentication using SP as the
|
||||
;; modifier. This instruction requires pointer authentication support
|
||||
@@ -797,7 +797,7 @@
|
||||
(AuthenticatedRet
|
||||
(key APIKey)
|
||||
(is_hint bool)
|
||||
(rets VecReg))
|
||||
(rets VecRetPair))
|
||||
|
||||
;; An unconditional branch.
|
||||
(Jump
|
||||
|
||||
Reference in New Issue
Block a user