1 ; Make sure that when the stack may be misaligned on function entry, fixed frame
2 ; elements (here: XMM spills) are accessed using instructions that tolerate
5 ; RUN: llc -mtriple=x86_64-unknown-linux-gnu -mcpu=x86-64 -mattr=+sse,+sse-unaligned-mem --frame-pointer=all < %s | FileCheck %s
7 define dso_local preserve_allcc void @func() #0 {
9 ; CHECK: movups %xmm0, -{{[0-9]+}}(%rbp)
10 call void asm sideeffect "", "~{xmm0},~{dirflag},~{fpsr},~{flags}"() #1
11 ; CHECK: movups -{{[0-9]+}}(%rbp), %xmm0
15 attributes #0 = { nounwind }
16 !llvm.module.flags = !{!0}
17 !0 = !{i32 2, !"override-stack-alignment", i32 8}