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