mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-20 02:58:10 +00:00
All calls clobbers R14
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75994 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6f66f0556c
commit
c94fdf76dd
@ -131,9 +131,9 @@ let isBranch = 1, isTerminator = 1 in {
|
||||
//
|
||||
|
||||
let isCall = 1 in
|
||||
// All calls clobber the non-callee saved registers (except R14 which we
|
||||
// handle separately). Uses for argument registers are added manually.
|
||||
let Defs = [R0D, R1D, R2D, R3D, R4D, R5D] in {
|
||||
// All calls clobber the non-callee saved registers. Uses for argument
|
||||
// registers are added manually.
|
||||
let Defs = [R0D, R1D, R2D, R3D, R4D, R5D, R14D] in {
|
||||
def CALLi : Pseudo<(outs), (ins i64imm:$dst, variable_ops),
|
||||
"brasl\t%r14, $dst", [(SystemZcall imm:$dst)]>;
|
||||
def CALLr : Pseudo<(outs), (ins ADDR64:$dst, variable_ops),
|
||||
|
Loading…
Reference in New Issue
Block a user