[PATCH] [mips] Add support for dynamic stack realignment.
Vasileios Kalintiris
Vasileios.Kalintiris at imgtec.com
Thu Mar 26 06:40:30 PDT 2015
Hi dsanders,
With this change we are able to realign the stack dynamically, whenever it
contains objects with alignment requirements that are larger than the
alignment specified from the given ABI.
We have to use the $fp register as the frame pointer when we perform
dynamic stack realignment. In complex stack frames, with variably-sized
objects, we reserve additionally the callee-saved register $s7 as the
base pointer in order to reference locals.
http://reviews.llvm.org/D8633
Files:
lib/Target/Mips/MipsFrameLowering.cpp
lib/Target/Mips/MipsFrameLowering.h
lib/Target/Mips/MipsRegisterInfo.cpp
lib/Target/Mips/MipsRegisterInfo.h
lib/Target/Mips/MipsSEFrameLowering.cpp
lib/Target/Mips/MipsSERegisterInfo.cpp
test/CodeGen/Mips/dynamic-stack-realignment.ll
test/CodeGen/Mips/msa/frameindex.ll
test/CodeGen/Mips/return-vector.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8633.22717.patch
Type: text/x-patch
Size: 27241 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150326/57ac74a0/attachment.bin>
More information about the llvm-commits
mailing list