[llvm] r185371 - [mips] Fix test case to check that mips64 instructions are generated.

Akira Hatanaka ahatanaka at mips.com
Mon Jul 1 13:18:59 PDT 2013


Author: ahatanak
Date: Mon Jul  1 15:18:58 2013
New Revision: 185371

URL: http://llvm.org/viewvc/llvm-project?rev=185371&view=rev
Log:
[mips] Fix test case to check that mips64 instructions are generated.


Modified:
    llvm/trunk/test/CodeGen/Mips/const-mult.ll

Modified: llvm/trunk/test/CodeGen/Mips/const-mult.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Mips/const-mult.ll?rev=185371&r1=185370&r2=185371&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Mips/const-mult.ll (original)
+++ llvm/trunk/test/CodeGen/Mips/const-mult.ll Mon Jul  1 15:18:58 2013
@@ -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:





More information about the llvm-commits mailing list