[PATCH] D20185: [AArch64] Fix bug in large stack spill slot handling (PR27717)
Geoff Berry via llvm-commits
llvm-commits at lists.llvm.org
Mon May 16 13:58:48 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL269697: [AArch64] Fix bug in large stack spill slot handling (PR27717) (authored by gberry).
Changed prior to commit:
http://reviews.llvm.org/D20185?vs=56973&id=57396#toc
Repository:
rL LLVM
http://reviews.llvm.org/D20185
Files:
llvm/trunk/lib/Target/AArch64/AArch64FrameLowering.cpp
Index: llvm/trunk/lib/Target/AArch64/AArch64FrameLowering.cpp
===================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64FrameLowering.cpp
+++ llvm/trunk/lib/Target/AArch64/AArch64FrameLowering.cpp
@@ -1126,7 +1126,9 @@
// FIXME: the usual format is actually better if unwinding isn't needed.
if (produceCompactUnwindFrame(MF) && !SavedRegs.test(PairedReg)) {
SavedRegs.set(PairedReg);
- ExtraCSSpill = true;
+ if (AArch64::GPR64RegClass.contains(PairedReg) &&
+ !RegInfo->isReservedReg(MF, PairedReg))
+ ExtraCSSpill = true;
}
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20185.57396.patch
Type: text/x-patch
Size: 633 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160516/cbb3b7a2/attachment.bin>
More information about the llvm-commits
mailing list