[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 01:26:18 PST 2020
simoll created this revision.
simoll added reviewers: kaz7, k-ishizaka.
simoll added a project: VE.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
simoll requested review of this revision.
V(m)regs where defined before CSR_preserve_all was, add them now.
Repository:
rG LLVM Github Monorepo
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
@@ -97,4 +97,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.303368.patch
Type: text/x-patch
Size: 600 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201106/962de5c0/attachment.bin>
More information about the llvm-commits
mailing list