• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 { i32*, i32* }
6
7define void @test() nounwind noimplicitfloat {
8entry:
9; CHECK-NOT: xmm
10; CHECK: ret
11  %0 = load %struct1*, %struct1** undef, align 8
12  %1 = getelementptr inbounds %struct1, %struct1* %0, i64 0, i32 0
13  store i32* null, i32** %1, align 8
14  %2 = getelementptr inbounds %struct1, %struct1* %0, i64 0, i32 1
15  store i32* null, i32** %2, align 8
16  ret void
17}
18