diff options
author | Reed Kotler <rkotler@mips.com> | 2013-12-15 20:49:30 +0000 |
---|---|---|
committer | Reed Kotler <rkotler@mips.com> | 2013-12-15 20:49:30 +0000 |
commit | 3589b7b808574d3cebffdc2cf834d66b1c423dbd (patch) | |
tree | e6018b9319b6b5d22738a87ecb3e3d22f3a137a0 /test/CodeGen/Mips/helloworld.ll | |
parent | 08e647a77153f53bc9fcb0a3207d92667080dc08 (diff) |
Last change for mips16 prolog/epilog cleanup and optimization.
Some tiny cosmetic code changes to follow. Because of the wide
ranging nature of the patch a full 24 test cycle was needed to
check against regression. This was the smallest patch I could
make to progress from the earlier ones in the series.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197350 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Mips/helloworld.ll')
-rw-r--r-- | test/CodeGen/Mips/helloworld.ll | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/CodeGen/Mips/helloworld.ll b/test/CodeGen/Mips/helloworld.ll index d363006a550..709c12e1c67 100644 --- a/test/CodeGen/Mips/helloworld.ll +++ b/test/CodeGen/Mips/helloworld.ll @@ -25,10 +25,9 @@ entry: ; SR32: .set noreorder ; SR32: .set nomacro ; SR32: .set noat -; SR: save $ra, $16, $17, [[FS:[0-9]+]] +; SR: save $ra, 24 # 16 bit inst ; PE: .ent main -; PE: .align 2 -; PE-NEXT: li $[[T1:[0-9]+]], %hi(_gp_disp) +; PE: li $[[T1:[0-9]+]], %hi(_gp_disp) ; PE-NEXT: addiu $[[T2:[0-9]+]], $pc, %lo(_gp_disp) ; PE: sll $[[T3:[0-9]+]], $[[T1]], 16 ; C1: lw ${{[0-9]+}}, %got($.str)(${{[0-9]+}}) @@ -37,7 +36,7 @@ entry: ; C2: move $25, ${{[0-9]+}} ; C1: move $gp, ${{[0-9]+}} ; C1: jalrc ${{[0-9]+}} -; SR: restore $ra, $16, $17, [[FS]] +; SR: restore $ra, 24 # 16 bit inst ; PE: li $2, 0 ; PE: jrc $ra |