diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2011-10-03 20:01:11 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2011-10-03 20:01:11 +0000 |
commit | 04d3762ff111085e21cb8f8570e68dff7f847b6d (patch) | |
tree | d40a0b111256d36a93af800361cbe2c42a763233 /test/CodeGen/Mips/mips64instrs.ll | |
parent | 36787939b27d9b238e10fc4ba42cb621003a5a31 (diff) | |
download | external_llvm-04d3762ff111085e21cb8f8570e68dff7f847b6d.zip external_llvm-04d3762ff111085e21cb8f8570e68dff7f847b6d.tar.gz external_llvm-04d3762ff111085e21cb8f8570e68dff7f847b6d.tar.bz2 |
Add support for 64-bit integer multiply instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141017 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Mips/mips64instrs.ll')
-rw-r--r-- | test/CodeGen/Mips/mips64instrs.ll | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CodeGen/Mips/mips64instrs.ll b/test/CodeGen/Mips/mips64instrs.ll index 67776aa..98aff52 100644 --- a/test/CodeGen/Mips/mips64instrs.ll +++ b/test/CodeGen/Mips/mips64instrs.ll @@ -70,3 +70,16 @@ entry: ret i64 %xor } +define i64 @f12(i64 %a, i64 %b) nounwind readnone { +entry: +; CHECK: mult + %mul = mul nsw i64 %b, %a + ret i64 %mul +} + +define i64 @f13(i64 %a, i64 %b) nounwind readnone { +entry: +; CHECK: mult + %mul = mul i64 %b, %a + ret i64 %mul +} |