llvm.org GIT mirror llvm / a2938e7
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 Benjamin Kramer 10 years ago
5 changed file(s) with 7 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
3333 }
3434
3535 define <4 x float> @load_undef(){
36 ;CHECK lqd $3, 0($3)
36 ; CHECK: lqd $3, 0($3)
3737 %val = load <4 x float>* undef
3838 ret <4 x float> %val
3939 }
11 ; rdar://7268481
22
33 define void @t() nounwind {
4 ; CHECK: t:
5 ; CHECK-NEXT : push {r7}
4 ; CHECK: t:
5 ; CHECK: push {r7}
66 entry:
77 call void asm sideeffect ".long 0xe7ffdefe", ""() nounwind
88 ret void
33 entry:
44 ; CHECK: t1:
55 ; CHECK: movss (%rdi), %xmm0
6 ; CHECK; cvtss2sd %xmm0, %xmm0
6 ; CHECK: cvtss2sd %xmm0, %xmm0
77
88 %0 = load float* %x, align 4
99 %1 = fpext float %0 to double
1313 define float @t2(double* nocapture %x) nounwind readonly ssp optsize {
1414 entry:
1515 ; CHECK: t2:
16 ; CHECK; cvtsd2ss (%rdi), %xmm0
16 ; CHECK: cvtsd2ss (%rdi), %xmm0
1717 %0 = load double* %x, align 8
1818 %1 = fptrunc double %0 to float
1919 ret float %1
4040
4141 ;CHECK: DEBUG_VALUE: bar:x <- EBX+0
4242 ;CHECK-NEXT:Ltmp
43 ;CHECK-NEXT DEBUG_VALUE: foo:y <- 1+0
43 ;CHECK-NEXT: DEBUG_VALUE: foo:y <- 1+0
2929 ; Should only end up with one phi.
3030 ; CHECK: for.body:
3131 ; CHECK-NEXT: %j.02 = phi i64
32 ; CHECK-NOT phi
32 ; CHECK-NOT: phi
3333 ; CHECK: ret void
3434