1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx,-slow-unaligned-mem-32 | FileCheck %s --check-prefix=FAST
3 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx,+slow-unaligned-mem-32 | FileCheck %s --check-prefix=SLOW
5 define i256 @foo(<8 x i32> %a) {
8 ; FAST-NEXT: movq %rdi, %rax
9 ; FAST-NEXT: vmovups %ymm0, (%rdi)
10 ; FAST-NEXT: vzeroupper
15 ; SLOW-NEXT: movq %rdi, %rax
16 ; SLOW-NEXT: vextractf128 $1, %ymm0, 16(%rdi)
17 ; SLOW-NEXT: vmovups %xmm0, (%rdi)
18 ; SLOW-NEXT: vzeroupper
20 %r = bitcast <8 x i32> %a to i256