xref: /llvm-project/llvm/test/CodeGen/X86/sse-align-3.ll (revision 2f448bf509432c1a19ec46ab8cbc7353c03c6280)
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
3
4define void @foo(ptr %p, <4 x float> %x) nounwind {
5; CHECK-LABEL: foo:
6; CHECK:       # %bb.0:
7; CHECK-NEXT:    movaps %xmm0, (%rdi)
8; CHECK-NEXT:    retq
9  store <4 x float> %x, ptr %p
10  ret void
11}
12
13define void @bar(ptr %p, <2 x double> %x) nounwind {
14; CHECK-LABEL: bar:
15; CHECK:       # %bb.0:
16; CHECK-NEXT:    movaps %xmm0, (%rdi)
17; CHECK-NEXT:    retq
18  store <2 x double> %x, ptr %p
19  ret void
20}
21