Set transient stack alignment in constructor of MipsFrameLowering and re-enable
authorAkira Hatanaka <ahatanaka@mips.com>
Thu, 2 Aug 2012 18:15:13 +0000 (18:15 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Thu, 2 Aug 2012 18:15:13 +0000 (18:15 +0000)
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
test/CodeGen/Mips/o32_cc_vararg.ll

index cf8401faecb3dd77e632d0be7aeab39da0a746b1..9f234f9b37498ecae724473eed548fba7d2c5530 100644 (file)
@@ -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;
 };
index fafb910bdfe56cb73ca549d1aae7943032ccea40..35332b6550d8233cd12614dd106a051423d6baef 100644 (file)
@@ -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.