llvm.org GIT mirror llvm / f58fa53
add checks; remove redundant testing parameters git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234020 91177308-0d34-0410-b5e6-96231b3b80d8 Sanjay Patel 4 years ago
1 changed file(s) with 16 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
None ; RUN: llc < %s -march=x86 -mcpu=corei7-avx -mattr=+avx -mtriple=i686-pc-win32 | FileCheck %s
0 ; RUN: llc < %s -mattr=+avx -mtriple=i686-pc-win32 | FileCheck %s
11
2 ; CHECK: endless_loop
32 define void @endless_loop() {
3 ; CHECK-LABEL: endless_loop:
4 ; CHECK-NEXT: # BB#0:
5 ; CHECK-NEXT: vmovaps (%eax), %ymm0
6 ; CHECK-NEXT: vextractf128 $1, %ymm0, %xmm0
7 ; CHECK-NEXT: vmovsldup %xmm0, %xmm0 # xmm0 = xmm0[0,0,2,2]
8 ; CHECK-NEXT: vmovddup %xmm0, %xmm1 # xmm1 = xmm0[0,0]
9 ; CHECK-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
10 ; CHECK-NEXT: vxorps %xmm2, %xmm2, %xmm2
11 ; CHECK-NEXT: vblendps $128, %ymm1, %ymm2, %ymm1 # ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
12 ; CHECK-NEXT: vxorps %ymm2, %ymm2, %ymm2
13 ; CHECK-NEXT: vblendps $1, %ymm0, %ymm2, %ymm0 # ymm0 = ymm0[0],ymm2[1,2,3,4,5,6,7]
14 ; CHECK-NEXT: vmovaps %ymm0, (%eax)
15 ; CHECK-NEXT: vmovaps %ymm1, (%eax)
16 ; CHECK-NEXT: vzeroupper
17 ; CHECK-NEXT: retl
418 entry:
519 %0 = load <8 x i32>, <8 x i32> addrspace(1)* undef, align 32
620 %1 = shufflevector <8 x i32> %0, <8 x i32> undef, <16 x i32>
721 %2 = shufflevector <16 x i32> , <16 x i32> %1, <16 x i32>
822 store <16 x i32> %2, <16 x i32> addrspace(1)* undef, align 64
923 ret void
10 ; CHECK: ret
1124 }