aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Mips/eh-return32.ll
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2013-03-04 22:25:01 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2013-03-04 22:25:01 +0000
commit1ae08e007784a0708d6dae9c37b84bb62d5e1282 (patch)
tree91a7d3162b91d1cafa5bae8c04358e0f3bfbdae8 /test/CodeGen/Mips/eh-return32.ll
parent0b9675d631a33ecde9e11febea48a2c6551bfeec (diff)
downloadexternal_llvm-1ae08e007784a0708d6dae9c37b84bb62d5e1282.zip
external_llvm-1ae08e007784a0708d6dae9c37b84bb62d5e1282.tar.gz
external_llvm-1ae08e007784a0708d6dae9c37b84bb62d5e1282.tar.bz2
[mips] Print move instructions.
"move $4, $5" is printed instead of "or $4, $5, $zero". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176455 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Mips/eh-return32.ll')
-rw-r--r--test/CodeGen/Mips/eh-return32.ll16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/CodeGen/Mips/eh-return32.ll b/test/CodeGen/Mips/eh-return32.ll
index cf18fde..fe8a404 100644
--- a/test/CodeGen/Mips/eh-return32.ll
+++ b/test/CodeGen/Mips/eh-return32.ll
@@ -25,10 +25,10 @@ entry:
; CHECK: .cfi_offset 7,
; check that stack adjustment and handler are put in $v1 and $v0.
-; CHECK: or $[[R0:[a-z0-9]+]], $5, $zero
-; CHECK: or $[[R1:[a-z0-9]+]], $4, $zero
-; CHECK: or $3, $[[R1]], $zero
-; CHECK: or $2, $[[R0]], $zero
+; CHECK: move $[[R0:[a-z0-9]+]], $5
+; CHECK: move $[[R1:[a-z0-9]+]], $4
+; CHECK: move $3, $[[R1]]
+; CHECK: move $2, $[[R0]]
; check that $a0-$a3 are restored from stack.
; CHECK: lw $4, [[offset0]]($sp)
@@ -38,7 +38,7 @@ entry:
; check that stack is adjusted by $v1 and that code returns to address in $v0
; CHECK: addiu $sp, $sp, [[spoffset]]
-; CHECK: or $ra, $2, $zero
+; CHECK: move $ra, $2
; CHECK: jr $ra
; CHECK: addu $sp, $sp, $3
}
@@ -64,8 +64,8 @@ entry:
; CHECK: .cfi_offset 7,
; check that stack adjustment and handler are put in $v1 and $v0.
-; CHECK: or $3, $4, $zero
-; CHECK: or $2, $5, $zero
+; CHECK: move $3, $4
+; CHECK: move $2, $5
; check that $a0-$a3 are restored from stack.
; CHECK: lw $4, [[offset0]]($sp)
@@ -75,7 +75,7 @@ entry:
; check that stack is adjusted by $v1 and that code returns to address in $v0
; CHECK: addiu $sp, $sp, [[spoffset]]
-; CHECK: or $ra, $2, $zero
+; CHECK: move $ra, $2
; CHECK: jr $ra
; CHECK: addu $sp, $sp, $3
}