diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2013-07-01 20:18:58 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2013-07-01 20:18:58 +0000 |
commit | ae99e41ff45b0fdd432975f8e7763167b57bcaf5 (patch) | |
tree | 247a96a0ab26735b11ae7acf6893b4fed0f5c0b9 | |
parent | 4ba16b2c604b3d55fe4755f7359c69c46e19fc43 (diff) | |
download | external_llvm-ae99e41ff45b0fdd432975f8e7763167b57bcaf5.zip external_llvm-ae99e41ff45b0fdd432975f8e7763167b57bcaf5.tar.gz external_llvm-ae99e41ff45b0fdd432975f8e7763167b57bcaf5.tar.bz2 |
[mips] Fix test case to check that mips64 instructions are generated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185371 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/Mips/const-mult.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/Mips/const-mult.ll b/test/CodeGen/Mips/const-mult.ll index d818044..2918464 100644 --- a/test/CodeGen/Mips/const-mult.ll +++ b/test/CodeGen/Mips/const-mult.ll @@ -37,10 +37,10 @@ entry: } ; CHECK64: muln9223372036854775805_64: -; CHECK64-DAG: sll $[[R0:[0-9]+]], $4, 1 -; CHECK64-DAG: addu $[[R1:[0-9]+]], $[[R0]], $4 -; CHECK64-DAG: sll $[[R2:[0-9]+]], $4, 63 -; CHECK64: addu ${{[0-9]+}}, $[[R2]], $[[R1]] +; CHECK64-DAG: dsll $[[R0:[0-9]+]], $4, 1 +; CHECK64-DAG: daddu $[[R1:[0-9]+]], $[[R0]], $4 +; CHECK64-DAG: dsll $[[R2:[0-9]+]], $4, 63 +; CHECK64: daddu ${{[0-9]+}}, $[[R2]], $[[R1]] define i64 @muln9223372036854775805_64(i64 %a) { entry: |