summaryrefslogtreecommitdiff
path: root/lib/Target/Mips/Mips16FrameLowering.h
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2013-10-29 19:29:03 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2013-10-29 19:29:03 +0000
commit615a279f81e08e9c63fd5e411b33d39bfe593314 (patch)
tree3651f77f2ca9f41b0dda977464fa3b964d2abb2e /lib/Target/Mips/Mips16FrameLowering.h
parent8b1d5e20528617b9f026c97714e74b8f7252f343 (diff)
downloadllvm-615a279f81e08e9c63fd5e411b33d39bfe593314.tar.gz
llvm-615a279f81e08e9c63fd5e411b33d39bfe593314.tar.bz2
llvm-615a279f81e08e9c63fd5e411b33d39bfe593314.tar.xz
[mips] Align the stack to 16-bytes for mfp64.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193641 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/Mips16FrameLowering.h')
-rw-r--r--lib/Target/Mips/Mips16FrameLowering.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Mips/Mips16FrameLowering.h b/lib/Target/Mips/Mips16FrameLowering.h
index 54fdb78714..8ce2ceda7c 100644
--- a/lib/Target/Mips/Mips16FrameLowering.h
+++ b/lib/Target/Mips/Mips16FrameLowering.h
@@ -20,7 +20,7 @@ namespace llvm {
class Mips16FrameLowering : public MipsFrameLowering {
public:
explicit Mips16FrameLowering(const MipsSubtarget &STI)
- : MipsFrameLowering(STI, 8) {}
+ : MipsFrameLowering(STI, STI.stackAlignment()) {}
/// emitProlog/emitEpilog - These methods insert prolog and epilog code into
/// the function.