[PATCH] D39056: [mips] Use register scavenging with MSA.
Simon Dardis via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 18 07:12:56 PDT 2017
sdardis created this revision.
Herald added subscribers: arichardson, qcolombet.
MSA stores and loads to the stack are more likely to require an
emergency GPR spill slot due to the smaller offsets available
with those instructions.
Handle this by overestimating the size of the stack by determining
the largest offset presuming that all callee save registers are
spilled and accounting of incoming arguments.
Repository:
rL LLVM
https://reviews.llvm.org/D39056
Files:
lib/Target/Mips/MipsFrameLowering.cpp
lib/Target/Mips/MipsSEFrameLowering.cpp
test/CodeGen/Mips/msa/emergency-spill.mir
test/CodeGen/Mips/msa/frameindex.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39056.119482.patch
Type: text/x-patch
Size: 19846 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171018/7ab6cc51/attachment.bin>
More information about the llvm-commits
mailing list