From bddf83614a5e32297458e96375c533d231a5cd37 Mon Sep 17 00:00:00 2001 From: Akira Hatanaka Date: Thu, 2 Aug 2012 18:15:13 +0000 Subject: [PATCH] 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 --- lib/Target/Mips/MipsFrameLowering.h | 5 ++--- 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 cf8401faecb..9f234f9b374 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 fafb910bdfe..35332b6550d 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.