[PATCH] D90912: [VE] Add v(m)regs to preserve_all reg mask

Simon Moll via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 6 06:16:25 PST 2020


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG7914e4f0fa60: [VE] Add v(m)regs to preserve_all reg mask (authored by simoll).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D90912/new/

https://reviews.llvm.org/D90912

Files:
  llvm/lib/Target/VE/VECallingConv.td


Index: llvm/lib/Target/VE/VECallingConv.td
===================================================================
--- llvm/lib/Target/VE/VECallingConv.td
+++ llvm/lib/Target/VE/VECallingConv.td
@@ -102,4 +102,6 @@
 def CSR_NoRegs : CalleeSavedRegs<(add)>;
 
 // PreserveAll (clobbers s62,s63) - used for ve_grow_stack
-def CSR_preserve_all : CalleeSavedRegs<(add (sequence "SX%u", 0, 61))>;
+def CSR_preserve_all : CalleeSavedRegs<(add (sequence "SX%u", 0, 61),
+                                            (sequence "V%u", 0, 63),
+                                            (sequence "VM%u", 1, 15))>;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90912.303426.patch
Type: text/x-patch
Size: 602 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201106/4cf57497/attachment.bin>


More information about the llvm-commits mailing list