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 | 6b2d8419758b38d31f0da0c74a112bad12b02ddc (patch) | |
| tree | d3c6bc6f5a4b678b9a8d1f60fb8ffdeb28a1809b /llvm/lib/Target/Mips/MipsSubtarget.h | |
| parent | 618b29813ac587a85513acca9710d0e3be1bc46b (diff) | |
| download | bcm5719-llvm-6b2d8419758b38d31f0da0c74a112bad12b02ddc.tar.gz bcm5719-llvm-6b2d8419758b38d31f0da0c74a112bad12b02ddc.zip | |
[mips] Align the stack to 16-bytes for mfp64.
llvm-svn: 193641
Diffstat (limited to 'llvm/lib/Target/Mips/MipsSubtarget.h')
| -rw-r--r-- | llvm/lib/Target/Mips/MipsSubtarget.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Target/Mips/MipsSubtarget.h b/llvm/lib/Target/Mips/MipsSubtarget.h index 30100656fe0..378fc00f452 100644 --- a/llvm/lib/Target/Mips/MipsSubtarget.h +++ b/llvm/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; } |

