aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Mips/mips64shift.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/mips64shift.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/mips64shift.ll')
-rw-r--r--test/CodeGen/Mips/mips64shift.ll12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/CodeGen/Mips/mips64shift.ll b/test/CodeGen/Mips/mips64shift.ll
index 31e56c8..24decbb 100644
--- a/test/CodeGen/Mips/mips64shift.ll
+++ b/test/CodeGen/Mips/mips64shift.ll
@@ -23,42 +23,42 @@ entry:
define i64 @f3(i64 %a0) nounwind readnone {
entry:
-; CHECK: dsll
+; CHECK: dsll ${{[0-9]+}}, ${{[0-9]+}}, 10
%shl = shl i64 %a0, 10
ret i64 %shl
}
define i64 @f4(i64 %a0) nounwind readnone {
entry:
-; CHECK: dsra
+; CHECK: dsra ${{[0-9]+}}, ${{[0-9]+}}, 10
%shr = ashr i64 %a0, 10
ret i64 %shr
}
define i64 @f5(i64 %a0) nounwind readnone {
entry:
-; CHECK: dsrl
+; CHECK: dsrl ${{[0-9]+}}, ${{[0-9]+}}, 10
%shr = lshr i64 %a0, 10
ret i64 %shr
}
define i64 @f6(i64 %a0) nounwind readnone {
entry:
-; CHECK: dsll32
+; CHECK: dsll32 ${{[0-9]+}}, ${{[0-9]+}}, 8
%shl = shl i64 %a0, 40
ret i64 %shl
}
define i64 @f7(i64 %a0) nounwind readnone {
entry:
-; CHECK: dsra32
+; CHECK: dsra32 ${{[0-9]+}}, ${{[0-9]+}}, 8
%shr = ashr i64 %a0, 40
ret i64 %shr
}
define i64 @f8(i64 %a0) nounwind readnone {
entry:
-; CHECK: dsrl32
+; CHECK: dsrl32 ${{[0-9]+}}, ${{[0-9]+}}, 8
%shr = lshr i64 %a0, 40
ret i64 %shr
}