[PATCH] [mips] Add support for dynamic stack realignment.
Vasileios Kalintiris
Vasileios.Kalintiris at imgtec.com
Tue Mar 31 06:18:46 PDT 2015
Fix register usage for functions without dynamic stack allocation.
In functions without dynamic stack allocation we were using $fp for
referencing locals. However, in a function's body we have to use $fp only
for referencing inbound arguments and $sp for everything else. I added
some tests that would have caught this case.
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
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8633.22948.patch
Type: text/x-patch
Size: 16119 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150331/b5ad78d3/attachment.bin>
More information about the llvm-commits
mailing list