mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-26 23:38:31 +00:00
add CHECK-LABELs for more reliable testing
llvm-svn: 232391
This commit is contained in:
parent
10d626e5d7
commit
356f802585
@ -1,5 +1,6 @@
|
|||||||
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7-avx -mattr=+avx | FileCheck %s
|
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7-avx -mattr=+avx | FileCheck %s
|
||||||
|
|
||||||
|
; CHECK-LABEL: castA:
|
||||||
; CHECK: vxorps
|
; CHECK: vxorps
|
||||||
; CHECK-NEXT: vinsertf128 $0
|
; CHECK-NEXT: vinsertf128 $0
|
||||||
define <8 x float> @castA(<4 x float> %m) nounwind uwtable readnone ssp {
|
define <8 x float> @castA(<4 x float> %m) nounwind uwtable readnone ssp {
|
||||||
@ -8,6 +9,7 @@ entry:
|
|||||||
ret <8 x float> %shuffle.i
|
ret <8 x float> %shuffle.i
|
||||||
}
|
}
|
||||||
|
|
||||||
|
; CHECK-LABEL: castB:
|
||||||
; CHECK: vxorps
|
; CHECK: vxorps
|
||||||
; CHECK-NEXT: vinsertf128 $0
|
; CHECK-NEXT: vinsertf128 $0
|
||||||
define <4 x double> @castB(<2 x double> %m) nounwind uwtable readnone ssp {
|
define <4 x double> @castB(<2 x double> %m) nounwind uwtable readnone ssp {
|
||||||
@ -16,6 +18,7 @@ entry:
|
|||||||
ret <4 x double> %shuffle.i
|
ret <4 x double> %shuffle.i
|
||||||
}
|
}
|
||||||
|
|
||||||
|
; CHECK-LABEL: castC:
|
||||||
; CHECK: vxorps
|
; CHECK: vxorps
|
||||||
; CHECK-NEXT: vinsertf128 $0
|
; CHECK-NEXT: vinsertf128 $0
|
||||||
define <4 x i64> @castC(<2 x i64> %m) nounwind uwtable readnone ssp {
|
define <4 x i64> @castC(<2 x i64> %m) nounwind uwtable readnone ssp {
|
||||||
@ -24,6 +27,7 @@ entry:
|
|||||||
ret <4 x i64> %shuffle.i
|
ret <4 x i64> %shuffle.i
|
||||||
}
|
}
|
||||||
|
|
||||||
|
; CHECK-LABEL: castD:
|
||||||
; CHECK-NOT: vextractf128 $0
|
; CHECK-NOT: vextractf128 $0
|
||||||
define <4 x float> @castD(<8 x float> %m) nounwind uwtable readnone ssp {
|
define <4 x float> @castD(<8 x float> %m) nounwind uwtable readnone ssp {
|
||||||
entry:
|
entry:
|
||||||
@ -31,6 +35,7 @@ entry:
|
|||||||
ret <4 x float> %shuffle.i
|
ret <4 x float> %shuffle.i
|
||||||
}
|
}
|
||||||
|
|
||||||
|
; CHECK-LABEL: castE:
|
||||||
; CHECK-NOT: vextractf128 $0
|
; CHECK-NOT: vextractf128 $0
|
||||||
define <2 x i64> @castE(<4 x i64> %m) nounwind uwtable readnone ssp {
|
define <2 x i64> @castE(<4 x i64> %m) nounwind uwtable readnone ssp {
|
||||||
entry:
|
entry:
|
||||||
@ -38,6 +43,7 @@ entry:
|
|||||||
ret <2 x i64> %shuffle.i
|
ret <2 x i64> %shuffle.i
|
||||||
}
|
}
|
||||||
|
|
||||||
|
; CHECK-LABEL: castF:
|
||||||
; CHECK-NOT: vextractf128 $0
|
; CHECK-NOT: vextractf128 $0
|
||||||
define <2 x double> @castF(<4 x double> %m) nounwind uwtable readnone ssp {
|
define <2 x double> @castF(<4 x double> %m) nounwind uwtable readnone ssp {
|
||||||
entry:
|
entry:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user