diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2013-10-29 19:29:03 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2013-10-29 19:29:03 +0000 |
commit | 615a279f81e08e9c63fd5e411b33d39bfe593314 (patch) | |
tree | 3651f77f2ca9f41b0dda977464fa3b964d2abb2e /lib/Target/Mips/MipsSubtarget.h | |
parent | 8b1d5e20528617b9f026c97714e74b8f7252f343 (diff) | |
download | llvm-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/MipsSubtarget.h')
-rw-r--r-- | lib/Target/Mips/MipsSubtarget.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/Mips/MipsSubtarget.h b/lib/Target/Mips/MipsSubtarget.h index 30100656fe..378fc00f45 100644 --- a/lib/Target/Mips/MipsSubtarget.h +++ b/lib/Target/Mips/MipsSubtarget.h @@ -116,6 +116,8 @@ protected: // HasMSA -- supports MSA ASE. bool HasMSA; + unsigned StackAlignment; + InstrItineraryData InstrItins; // The instance to the register info section object @@ -216,6 +218,9 @@ public: // really use them if in addition we are in mips16 mode // static bool useConstantIslands(); + + unsigned stackAlignment() const { return StackAlignment; } + // Grab MipsRegInfo object const MipsReginfo &getMReginfo() const { return MRI; } |