diff options
author | Reed Kotler <rkotler@mips.com> | 2013-08-04 23:56:53 +0000 |
---|---|---|
committer | Reed Kotler <rkotler@mips.com> | 2013-08-04 23:56:53 +0000 |
commit | 9c285b300d6c055efbec5e727f1ed47c8369c72f (patch) | |
tree | 563a57a8343b842cb9f501b79428614d873221e5 /llvm/test/CodeGen/Mips/helloworld.ll | |
parent | b9549baf7fa0edb118f049850c073177500121eb (diff) | |
download | bcm5719-llvm-9c285b300d6c055efbec5e727f1ed47c8369c72f.tar.gz bcm5719-llvm-9c285b300d6c055efbec5e727f1ed47c8369c72f.zip |
Add the saving of S2. This is needed for some of the floating point
helper functions. This can be optimized out later when the remaining
parts of the helper function work is moved into the Mips16HardFloat pass.
For now it forces us to use the 32 bit save/restore instructions instead
of the 16 bit ones.
llvm-svn: 187712
Diffstat (limited to 'llvm/test/CodeGen/Mips/helloworld.ll')
-rw-r--r-- | llvm/test/CodeGen/Mips/helloworld.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/Mips/helloworld.ll b/llvm/test/CodeGen/Mips/helloworld.ll index 56ee60785f4..83c88ae3441 100644 --- a/llvm/test/CodeGen/Mips/helloworld.ll +++ b/llvm/test/CodeGen/Mips/helloworld.ll @@ -25,7 +25,7 @@ entry: ; SR32: .set noreorder ; SR32: .set nomacro ; SR32: .set noat -; SR: save $ra, $s0, $s1, [[FS:[0-9]+]] +; SR: save $ra, $s0, $s1, $s2, [[FS:[0-9]+]] ; PE: li $[[T1:[0-9]+]], %hi(_gp_disp) ; PE: addiu $[[T2:[0-9]+]], $pc, %lo(_gp_disp) ; PE: sll $[[T3:[0-9]+]], $[[T1]], 16 @@ -35,7 +35,7 @@ entry: ; C2: move $25, ${{[0-9]+}} ; C1: move $gp, ${{[0-9]+}} ; C1: jalrc ${{[0-9]+}} -; SR: restore $ra, $s0, $s1, [[FS]] +; SR: restore $ra, $s0, $s1, $s2, [[FS]] ; PE: li $2, 0 ; PE: jrc $ra |