aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 14:11:22 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 14:11:22 +0000
commitc94fdf76dd6dc88ef696f4a33b43c8b3131a0931 (patch)
treed59751946d036800e3a3dd82e07718f67a7f6cff
parent6f66f0556c843877dd24d33341cc5129105b31fc (diff)
All calls clobbers R14
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75994 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/SystemZ/SystemZInstrInfo.td6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/SystemZ/SystemZInstrInfo.td b/lib/Target/SystemZ/SystemZInstrInfo.td
index 0be70077b2..377f974645 100644
--- a/lib/Target/SystemZ/SystemZInstrInfo.td
+++ b/lib/Target/SystemZ/SystemZInstrInfo.td
@@ -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),