All calls clobbers R14
authorAnton Korobeynikov <asl@math.spbu.ru>
Thu, 16 Jul 2009 14:11:22 +0000 (14:11 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Thu, 16 Jul 2009 14:11:22 +0000 (14:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75994 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/SystemZ/SystemZInstrInfo.td

index 0be70077b261ff21c307c474813b5967dd8a1ab3..377f97464577e3019bbe98d47bd0731314797215 100644 (file)
@@ -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),