Fix some tests that didn't test anything.

llvm-svn: 106954
This commit is contained in:
Benjamin Kramer 2010-06-26 20:05:06 +00:00
parent e4adab665c
commit d02a62bee2
5 changed files with 7 additions and 7 deletions

View File

@ -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
}

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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