xref: /llvm-project/llvm/test/CodeGen/X86/2012-12-19-NoImplicitFloat.ll (revision 2f448bf509432c1a19ec46ab8cbc7353c03c6280)
1; RUN: llc -mtriple=x86_64-apple-macosx10.8.0 -mcpu=core2 < %s | FileCheck %s
2; Test that we do not introduce vector operations with noimplicitfloat.
3; rdar://12879313
4
5%struct1 = type { ptr, ptr }
6
7define void @test() nounwind noimplicitfloat {
8entry:
9; CHECK-NOT: xmm
10; CHECK: ret
11  %0 = load ptr, ptr undef, align 8
12  store ptr null, ptr %0, align 8
13  %1 = getelementptr inbounds %struct1, ptr %0, i64 0, i32 1
14  store ptr null, ptr %1, align 8
15  ret void
16}
17