• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc -mtriple=x86_64-- < %s | FileCheck %s
3
4@a = external dso_local global <16 x float>, align 64
5
6declare void @goo(<2 x i256>)
7
8define void @foo() #0 {
9; CHECK-LABEL: foo:
10; CHECK:       # %bb.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
22; CHECK-NEXT:    retq
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)
26  ret void
27}
28
29attributes #0 = { nounwind "target-features"="+avx512bw" }
30