diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2012-08-02 18:15:13 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-08-02 18:15:13 +0000 |
commit | bddf83614a5e32297458e96375c533d231a5cd37 (patch) | |
tree | 3c4600e48be194eb7ec7691e009534d958aee87f | |
parent | 804468916a93bb2914c28687829ccb065a97e1d9 (diff) |
Set transient stack alignment in constructor of MipsFrameLowering and re-enable
test o32_cc_vararg.ll.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161189 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/Mips/MipsFrameLowering.h | 5 | ||||
-rw-r--r-- | test/CodeGen/Mips/o32_cc_vararg.ll | 5 |
2 files changed, 3 insertions, 7 deletions
diff --git a/lib/Target/Mips/MipsFrameLowering.h b/lib/Target/Mips/MipsFrameLowering.h index cf8401faec..9f234f9b37 100644 --- a/lib/Target/Mips/MipsFrameLowering.h +++ b/lib/Target/Mips/MipsFrameLowering.h @@ -27,9 +27,8 @@ protected: public: explicit MipsFrameLowering(const MipsSubtarget &sti) - : TargetFrameLowering(StackGrowsDown, sti.hasMips64() ? 16 : 8, 0), - STI(sti) { - } + : TargetFrameLowering(StackGrowsDown, sti.hasMips64() ? 16 : 8, 0, + sti.hasMips64() ? 16 : 8), STI(sti) {} bool hasFP(const MachineFunction &MF) const; }; diff --git a/test/CodeGen/Mips/o32_cc_vararg.ll b/test/CodeGen/Mips/o32_cc_vararg.ll index fafb910bdf..35332b6550 100644 --- a/test/CodeGen/Mips/o32_cc_vararg.ll +++ b/test/CodeGen/Mips/o32_cc_vararg.ll @@ -1,7 +1,4 @@ -; reenable when the correct value for TransientStackAlignment is set. -; DISABLED: llc -march=mipsel -pre-RA-sched=source < %s | FileCheck %s -; RUN: false -; XFAIL: * +; RUN: llc -march=mipsel -pre-RA-sched=source < %s | FileCheck %s ; All test functions do the same thing - they return the first variable ; argument. |