mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-28 06:00:28 +00:00
[mips] Partially revert r193641. Stack alignment should not be determined by
the floating point register mode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194423 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fe9ce427d0
commit
5635de519a
@ -217,7 +217,7 @@ public:
|
||||
//
|
||||
static bool useConstantIslands();
|
||||
|
||||
unsigned stackAlignment() const { return isFP64bit() ? 16 : 8; }
|
||||
unsigned stackAlignment() const { return hasMips64() ? 16 : 8; }
|
||||
|
||||
// Grab MipsRegInfo object
|
||||
const MipsReginfo &getMReginfo() const { return MRI; }
|
||||
|
@ -1,9 +1,8 @@
|
||||
; RUN: llc -march=mipsel < %s | FileCheck %s -check-prefix=32
|
||||
; RUN: llc -march=mipsel -mattr=+fp64 < %s | FileCheck %s -check-prefix=32-FP64
|
||||
; RUN: llc -march=mipsel -mattr=+fp64 < %s | FileCheck %s -check-prefix=32
|
||||
; RUN: llc -march=mips64el -mcpu=mips64 < %s | FileCheck %s -check-prefix=64
|
||||
|
||||
; 32: addiu $sp, $sp, -8
|
||||
; 32-FP64: addiu $sp, $sp, -16
|
||||
; 64: addiu $sp, $sp, -16
|
||||
|
||||
define i32 @foo1() #0 {
|
||||
|
Loading…
Reference in New Issue
Block a user