From a2938e7e5f7f16b4593b6ddc0eaf14bd6ed620de Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sat, 26 Jun 2010 20:05:06 +0000 Subject: [PATCH] Fix some tests that didn't test anything. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106954 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/CellSPU/loads.ll | 2 +- test/CodeGen/Thumb/push.ll | 4 ++-- test/CodeGen/X86/break-sse-dep.ll | 4 ++-- test/DebugInfo/2010-05-28-Crash.ll | 2 +- test/Transforms/LoopRotate/phi-duplicate.ll | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/test/CodeGen/CellSPU/loads.ll b/test/CodeGen/CellSPU/loads.ll index 4284c22837d..d40217dacfe 100644 --- a/test/CodeGen/CellSPU/loads.ll +++ b/test/CodeGen/CellSPU/loads.ll @@ -34,7 +34,7 @@ define <4 x i32> @func() { } define <4 x float> @load_undef(){ - ;CHECK lqd $3, 0($3) + ; CHECK: lqd $3, 0($3) %val = load <4 x float>* undef ret <4 x float> %val } diff --git a/test/CodeGen/Thumb/push.ll b/test/CodeGen/Thumb/push.ll index 37878d78347..fd05ef4dd76 100644 --- a/test/CodeGen/Thumb/push.ll +++ b/test/CodeGen/Thumb/push.ll @@ -2,8 +2,8 @@ ; rdar://7268481 define void @t() nounwind { -; CHECK: t: -; CHECK-NEXT : push {r7} +; CHECK: t: +; CHECK: push {r7} entry: call void asm sideeffect ".long 0xe7ffdefe", ""() nounwind ret void diff --git a/test/CodeGen/X86/break-sse-dep.ll b/test/CodeGen/X86/break-sse-dep.ll index acc0647bc87..027d2f1dafc 100644 --- a/test/CodeGen/X86/break-sse-dep.ll +++ b/test/CodeGen/X86/break-sse-dep.ll @@ -4,7 +4,7 @@ define double @t1(float* nocapture %x) nounwind readonly ssp { entry: ; CHECK: t1: ; CHECK: movss (%rdi), %xmm0 -; CHECK; cvtss2sd %xmm0, %xmm0 +; CHECK: cvtss2sd %xmm0, %xmm0 %0 = load float* %x, align 4 %1 = fpext float %0 to double @@ -14,7 +14,7 @@ entry: define float @t2(double* nocapture %x) nounwind readonly ssp optsize { entry: ; CHECK: t2: -; CHECK; cvtsd2ss (%rdi), %xmm0 +; CHECK: cvtsd2ss (%rdi), %xmm0 %0 = load double* %x, align 8 %1 = fptrunc double %0 to float ret float %1 diff --git a/test/DebugInfo/2010-05-28-Crash.ll b/test/DebugInfo/2010-05-28-Crash.ll index e09ffe49267..80643d0792a 100644 --- a/test/DebugInfo/2010-05-28-Crash.ll +++ b/test/DebugInfo/2010-05-28-Crash.ll @@ -41,4 +41,4 @@ entry: ;CHECK: DEBUG_VALUE: bar:x <- EBX+0 ;CHECK-NEXT:Ltmp -;CHECK-NEXT DEBUG_VALUE: foo:y <- 1+0 +;CHECK-NEXT: DEBUG_VALUE: foo:y <- 1+0 diff --git a/test/Transforms/LoopRotate/phi-duplicate.ll b/test/Transforms/LoopRotate/phi-duplicate.ll index cac00f826bd..9a64e2a9a83 100644 --- a/test/Transforms/LoopRotate/phi-duplicate.ll +++ b/test/Transforms/LoopRotate/phi-duplicate.ll @@ -30,6 +30,6 @@ for.end: ; preds = %for.cond ; Should only end up with one phi. ; CHECK: for.body: ; CHECK-NEXT: %j.02 = phi i64 -; CHECK-NOT phi +; CHECK-NOT: phi ; CHECK: ret void