summaryrefslogtreecommitdiff
path: root/test/CodeGen/Mips/largeimmprinting.ll
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2012-01-25 04:12:04 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2012-01-25 04:12:04 +0000
commitde5a0b65c27cc82300d3046fb9c119b8b524aa81 (patch)
tree4a53d4739d96c35e1cb6ba23961aee4834a0f04a /test/CodeGen/Mips/largeimmprinting.ll
parent36e91e9599c014fc0044c02030973bcfc78fbc68 (diff)
downloadllvm-de5a0b65c27cc82300d3046fb9c119b8b524aa81.tar.gz
llvm-de5a0b65c27cc82300d3046fb9c119b8b524aa81.tar.bz2
llvm-de5a0b65c27cc82300d3046fb9c119b8b524aa81.tar.xz
Modify MipsFrameLowering::emitPrologue and emitEpilogue.
- Use MipsAnalyzeImmediate to expand immediates that do not fit in 16-bit. - Change the types of variables so that they are sufficiently large to handle 64-bit pointers. - Emit instructions to set register $28 in a function prologue after instructions which store callee-saved registers have been emitted. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148917 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Mips/largeimmprinting.ll')
-rw-r--r--test/CodeGen/Mips/largeimmprinting.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/Mips/largeimmprinting.ll b/test/CodeGen/Mips/largeimmprinting.ll
index 2333f0789e..b7c9a9ccbb 100644
--- a/test/CodeGen/Mips/largeimmprinting.ll
+++ b/test/CodeGen/Mips/largeimmprinting.ll
@@ -7,8 +7,8 @@
define void @f() nounwind {
entry:
; CHECK: lui $at, 65534
-; CHECK: addu $at, $sp, $at
-; CHECK: addiu $sp, $at, -24
+; CHECK: addiu $at, $at, -24
+; CHECK: addu $sp, $sp, $at
; CHECK: .cprestore 65536
%agg.tmp = alloca %struct.S1, align 1