aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Mips/MipsSubtarget.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/Mips/MipsSubtarget.h')
-rw-r--r--lib/Target/Mips/MipsSubtarget.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/Mips/MipsSubtarget.h b/lib/Target/Mips/MipsSubtarget.h
index 3010065..378fc00 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; }