mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-10 04:33:40 +00:00
fixed to use CHECK-LABELs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231517 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d532d10275
commit
6deb05e63a
@ -1,6 +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: @A
|
; CHECK-LABEL: A:
|
||||||
; CHECK-NOT: vunpck
|
; CHECK-NOT: vunpck
|
||||||
; CHECK: vextractf128 $1
|
; CHECK: vextractf128 $1
|
||||||
define <8 x float> @A(<8 x float> %a) nounwind uwtable readnone ssp {
|
define <8 x float> @A(<8 x float> %a) nounwind uwtable readnone ssp {
|
||||||
@ -9,7 +9,7 @@ entry:
|
|||||||
ret <8 x float> %shuffle
|
ret <8 x float> %shuffle
|
||||||
}
|
}
|
||||||
|
|
||||||
; CHECK: @B
|
; CHECK-LABEL: B:
|
||||||
; CHECK-NOT: vunpck
|
; CHECK-NOT: vunpck
|
||||||
; CHECK: vextractf128 $1
|
; CHECK: vextractf128 $1
|
||||||
define <4 x double> @B(<4 x double> %a) nounwind uwtable readnone ssp {
|
define <4 x double> @B(<4 x double> %a) nounwind uwtable readnone ssp {
|
||||||
@ -18,7 +18,7 @@ entry:
|
|||||||
ret <4 x double> %shuffle
|
ret <4 x double> %shuffle
|
||||||
}
|
}
|
||||||
|
|
||||||
; CHECK: @t0
|
; CHECK-LABEL: t0:
|
||||||
; CHECK-NOT: vextractf128 $1, %ymm0, %xmm0
|
; CHECK-NOT: vextractf128 $1, %ymm0, %xmm0
|
||||||
; CHECK-NOT: vmovaps %xmm0, (%rdi)
|
; CHECK-NOT: vmovaps %xmm0, (%rdi)
|
||||||
; CHECK: vextractf128 $1, %ymm0, (%rdi)
|
; CHECK: vextractf128 $1, %ymm0, (%rdi)
|
||||||
@ -32,7 +32,7 @@ entry:
|
|||||||
|
|
||||||
declare <4 x float> @llvm.x86.avx.vextractf128.ps.256(<8 x float>, i8) nounwind readnone
|
declare <4 x float> @llvm.x86.avx.vextractf128.ps.256(<8 x float>, i8) nounwind readnone
|
||||||
|
|
||||||
; CHECK: @t2
|
; CHECK-LABEL: t2:
|
||||||
; CHECK-NOT: vextractf128 $1, %ymm0, %xmm0
|
; CHECK-NOT: vextractf128 $1, %ymm0, %xmm0
|
||||||
; CHECK-NOT: vmovaps %xmm0, (%rdi)
|
; CHECK-NOT: vmovaps %xmm0, (%rdi)
|
||||||
; CHECK: vextractf128 $1, %ymm0, (%rdi)
|
; CHECK: vextractf128 $1, %ymm0, (%rdi)
|
||||||
@ -46,7 +46,7 @@ entry:
|
|||||||
|
|
||||||
declare <2 x double> @llvm.x86.avx.vextractf128.pd.256(<4 x double>, i8) nounwind readnone
|
declare <2 x double> @llvm.x86.avx.vextractf128.pd.256(<4 x double>, i8) nounwind readnone
|
||||||
|
|
||||||
; CHECK: @t4
|
; CHECK-LABEL: t4:
|
||||||
; CHECK-NOT: vextractf128 $1, %ymm0, %xmm0
|
; CHECK-NOT: vextractf128 $1, %ymm0, %xmm0
|
||||||
; CHECK-NOT: vmovaps %xmm0, (%rdi)
|
; CHECK-NOT: vmovaps %xmm0, (%rdi)
|
||||||
; CHECK: vextractf128 $1, %ymm0, (%rdi)
|
; CHECK: vextractf128 $1, %ymm0, (%rdi)
|
||||||
@ -61,7 +61,7 @@ entry:
|
|||||||
|
|
||||||
declare <4 x i32> @llvm.x86.avx.vextractf128.si.256(<8 x i32>, i8) nounwind readnone
|
declare <4 x i32> @llvm.x86.avx.vextractf128.si.256(<8 x i32>, i8) nounwind readnone
|
||||||
|
|
||||||
; CHECK: @t5
|
; CHECK-LABEL: t5:
|
||||||
; CHECK: vmovaps %xmm0, (%rdi)
|
; CHECK: vmovaps %xmm0, (%rdi)
|
||||||
define void @t5(float* nocapture %addr, <8 x float> %a) nounwind uwtable ssp {
|
define void @t5(float* nocapture %addr, <8 x float> %a) nounwind uwtable ssp {
|
||||||
entry:
|
entry:
|
||||||
@ -71,7 +71,7 @@ entry:
|
|||||||
ret void
|
ret void
|
||||||
}
|
}
|
||||||
|
|
||||||
; CHECK: @t6
|
; CHECK-LABEL: t6:
|
||||||
; CHECK: vmovaps %xmm0, (%rdi)
|
; CHECK: vmovaps %xmm0, (%rdi)
|
||||||
define void @t6(double* nocapture %addr, <4 x double> %a) nounwind uwtable ssp {
|
define void @t6(double* nocapture %addr, <4 x double> %a) nounwind uwtable ssp {
|
||||||
entry:
|
entry:
|
||||||
@ -81,7 +81,7 @@ entry:
|
|||||||
ret void
|
ret void
|
||||||
}
|
}
|
||||||
|
|
||||||
; CHECK: @t7
|
; CHECK-LABEL: t7:
|
||||||
; CHECK: vmovaps %xmm0, (%rdi)
|
; CHECK: vmovaps %xmm0, (%rdi)
|
||||||
define void @t7(<2 x i64>* nocapture %addr, <4 x i64> %a) nounwind uwtable ssp {
|
define void @t7(<2 x i64>* nocapture %addr, <4 x i64> %a) nounwind uwtable ssp {
|
||||||
entry:
|
entry:
|
||||||
@ -92,7 +92,7 @@ entry:
|
|||||||
ret void
|
ret void
|
||||||
}
|
}
|
||||||
|
|
||||||
; CHECK: @t8
|
; CHECK-LABEL: t8:
|
||||||
; CHECK: vmovups %xmm0, (%rdi)
|
; CHECK: vmovups %xmm0, (%rdi)
|
||||||
define void @t8(<2 x i64>* nocapture %addr, <4 x i64> %a) nounwind uwtable ssp {
|
define void @t8(<2 x i64>* nocapture %addr, <4 x i64> %a) nounwind uwtable ssp {
|
||||||
entry:
|
entry:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user