1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -mtriple=x86_64-- < %s | FileCheck %s
4 @a = external global <16 x float>, align 64
6 declare void @goo(<2 x i256>)
8 define void @foo() #0 {
11 ; CHECK-NEXT: subq $24, %rsp
12 ; CHECK-NEXT: movq a+{{.*}}(%rip), %r9
13 ; CHECK-NEXT: movq a+{{.*}}(%rip), %r8
14 ; CHECK-NEXT: movq a+{{.*}}(%rip), %rcx
15 ; CHECK-NEXT: movq a+{{.*}}(%rip), %rdx
16 ; CHECK-NEXT: movq a+{{.*}}(%rip), %rsi
17 ; CHECK-NEXT: movq {{.*}}(%rip), %rdi
18 ; CHECK-NEXT: vmovaps a+{{.*}}(%rip), %xmm0
19 ; CHECK-NEXT: vmovups %xmm0, (%rsp)
20 ; CHECK-NEXT: callq goo
21 ; CHECK-NEXT: addq $24, %rsp
23 %k = bitcast <16 x float>* @a to <2 x i256>*
24 %load = load <2 x i256>, <2 x i256>* %k, align 64
25 call void @goo(<2 x i256> %load)
29 attributes #0 = { nounwind "target-features"="+avx512bw" }