summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Mips/mips64instrs.ll
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2011-09-30 17:19:21 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2011-09-30 17:19:21 +0000
commitd80c13bfed9adb8fadcd4e58294958c4b8566199 (patch)
tree2092ac4e92b499fc18151063feb40ec7b3b8b0a6 /test/CodeGen/Mips/mips64instrs.ll
parent7850dd0f25ccc5da6df54999a907e1277ed055d6 (diff)
downloadexternal_llvm-d80c13bfed9adb8fadcd4e58294958c4b8566199.zip
external_llvm-d80c13bfed9adb8fadcd4e58294958c4b8566199.tar.gz
external_llvm-d80c13bfed9adb8fadcd4e58294958c4b8566199.tar.bz2
Check values of immediate operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140860 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Mips/mips64instrs.ll')
-rw-r--r--test/CodeGen/Mips/mips64instrs.ll10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/CodeGen/Mips/mips64instrs.ll b/test/CodeGen/Mips/mips64instrs.ll
index 8cbb5b9..67776aa 100644
--- a/test/CodeGen/Mips/mips64instrs.ll
+++ b/test/CodeGen/Mips/mips64instrs.ll
@@ -37,35 +37,35 @@ entry:
define i64 @f7(i64 %a0) nounwind readnone {
entry:
-; CHECK: daddiu
+; CHECK: daddiu ${{[0-9]+}}, ${{[0-9]+}}, 20
%add = add nsw i64 %a0, 20
ret i64 %add
}
define i64 @f8(i64 %a0) nounwind readnone {
entry:
-; CHECK: daddiu
+; CHECK: daddiu ${{[0-9]+}}, ${{[0-9]+}}, -20
%sub = add nsw i64 %a0, -20
ret i64 %sub
}
define i64 @f9(i64 %a0) nounwind readnone {
entry:
-; CHECK: andi
+; CHECK: andi ${{[0-9]+}}, ${{[0-9]+}}, 20
%and = and i64 %a0, 20
ret i64 %and
}
define i64 @f10(i64 %a0) nounwind readnone {
entry:
-; CHECK: ori
+; CHECK: ori ${{[0-9]+}}, ${{[0-9]+}}, 20
%or = or i64 %a0, 20
ret i64 %or
}
define i64 @f11(i64 %a0) nounwind readnone {
entry:
-; CHECK: xori
+; CHECK: xori ${{[0-9]+}}, ${{[0-9]+}}, 20
%xor = xor i64 %a0, 20
ret i64 %xor
}