mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-04 17:56:53 +00:00
Fix some tests that didn't test anything.
llvm-svn: 106954
This commit is contained in:
parent
e4adab665c
commit
d02a62bee2
@ -34,7 +34,7 @@ define <4 x i32> @func() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
define <4 x float> @load_undef(){
|
define <4 x float> @load_undef(){
|
||||||
;CHECK lqd $3, 0($3)
|
; CHECK: lqd $3, 0($3)
|
||||||
%val = load <4 x float>* undef
|
%val = load <4 x float>* undef
|
||||||
ret <4 x float> %val
|
ret <4 x float> %val
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
define void @t() nounwind {
|
define void @t() nounwind {
|
||||||
; CHECK: t:
|
; CHECK: t:
|
||||||
; CHECK-NEXT : push {r7}
|
; CHECK: push {r7}
|
||||||
entry:
|
entry:
|
||||||
call void asm sideeffect ".long 0xe7ffdefe", ""() nounwind
|
call void asm sideeffect ".long 0xe7ffdefe", ""() nounwind
|
||||||
ret void
|
ret void
|
||||||
|
@ -4,7 +4,7 @@ define double @t1(float* nocapture %x) nounwind readonly ssp {
|
|||||||
entry:
|
entry:
|
||||||
; CHECK: t1:
|
; CHECK: t1:
|
||||||
; CHECK: movss (%rdi), %xmm0
|
; CHECK: movss (%rdi), %xmm0
|
||||||
; CHECK; cvtss2sd %xmm0, %xmm0
|
; CHECK: cvtss2sd %xmm0, %xmm0
|
||||||
|
|
||||||
%0 = load float* %x, align 4
|
%0 = load float* %x, align 4
|
||||||
%1 = fpext float %0 to double
|
%1 = fpext float %0 to double
|
||||||
@ -14,7 +14,7 @@ entry:
|
|||||||
define float @t2(double* nocapture %x) nounwind readonly ssp optsize {
|
define float @t2(double* nocapture %x) nounwind readonly ssp optsize {
|
||||||
entry:
|
entry:
|
||||||
; CHECK: t2:
|
; CHECK: t2:
|
||||||
; CHECK; cvtsd2ss (%rdi), %xmm0
|
; CHECK: cvtsd2ss (%rdi), %xmm0
|
||||||
%0 = load double* %x, align 8
|
%0 = load double* %x, align 8
|
||||||
%1 = fptrunc double %0 to float
|
%1 = fptrunc double %0 to float
|
||||||
ret float %1
|
ret float %1
|
||||||
|
@ -41,4 +41,4 @@ entry:
|
|||||||
|
|
||||||
;CHECK: DEBUG_VALUE: bar:x <- EBX+0
|
;CHECK: DEBUG_VALUE: bar:x <- EBX+0
|
||||||
;CHECK-NEXT:Ltmp
|
;CHECK-NEXT:Ltmp
|
||||||
;CHECK-NEXT DEBUG_VALUE: foo:y <- 1+0
|
;CHECK-NEXT: DEBUG_VALUE: foo:y <- 1+0
|
||||||
|
@ -30,6 +30,6 @@ for.end: ; preds = %for.cond
|
|||||||
; Should only end up with one phi.
|
; Should only end up with one phi.
|
||||||
; CHECK: for.body:
|
; CHECK: for.body:
|
||||||
; CHECK-NEXT: %j.02 = phi i64
|
; CHECK-NEXT: %j.02 = phi i64
|
||||||
; CHECK-NOT phi
|
; CHECK-NOT: phi
|
||||||
; CHECK: ret void
|
; CHECK: ret void
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user