[llvm-commits] [llvm] r130816 - /llvm/trunk/test/CodeGen/XCore/mul64.ll
Jakob Stoklund Olesen
stoklund at 2pi.dk
Tue May 3 18:01:41 PDT 2011
Author: stoklund
Date: Tue May 3 20:01:41 2011
New Revision: 130816
URL: http://llvm.org/viewvc/llvm-project?rev=130816&view=rev
Log:
Fix register-dependent XCore tests
Modified:
llvm/trunk/test/CodeGen/XCore/mul64.ll
Modified: llvm/trunk/test/CodeGen/XCore/mul64.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/XCore/mul64.ll?rev=130816&r1=130815&r2=130816&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/XCore/mul64.ll (original)
+++ llvm/trunk/test/CodeGen/XCore/mul64.ll Tue May 3 20:01:41 2011
@@ -9,7 +9,7 @@
}
; CHECK: umul_lohi:
; CHECK: ldc [[REG:r[0-9]+]], 0
-; CHECK-NEXT: lmul r1, r0, r1, r0, [[REG]], [[REG]]
+; CHECK-NEXT: lmul {{.*}}, [[REG]], [[REG]]
; CHECK-NEXT: retsp 0
define i64 @smul_lohi(i32 %a, i32 %b) {
@@ -23,9 +23,7 @@
; CHECK: ldc
; CHECK-NEXT: mov
; CHECK-NEXT: maccs
-; CHECK-NEXT: mov r0,
-; CHECK-NEXT: mov r1,
-; CHECK-NEXT: retsp 0
+; CHECK: retsp 0
define i64 @mul64(i64 %a, i64 %b) {
entry:
@@ -37,7 +35,6 @@
; CHECK-NEXT: lmul
; CHECK-NEXT: mul
; CHECK-NEXT: lmul
-; CHECK-NEXT: mov r0,
define i64 @mul64_2(i64 %a, i32 %b) {
entry:
@@ -50,4 +47,4 @@
; CHECK-NEXT: lmul
; CHECK-NEXT: mul
; CHECK-NEXT: add r1,
-; CHECK-NEXT: retsp 0
+; CHECK: retsp 0
More information about the llvm-commits
mailing list