Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s
      2 
      3 ; Without any typed operations, always use the smaller xorps.
      4 ; CHECK: test
      5 ; CHECK: xorps
      6 define <2 x double> @test() {
      7 	ret <2 x double> zeroinitializer
      8 }
      9 
     10 ; Prefer a constant pool load here.
     11 ; CHECK: test2
     12 ; CHECK-NOT: shuf
     13 ; CHECK: movaps {{.*}}{{CPI|__xmm@}}
     14 define <4 x i32> @test2() nounwind  {
     15 	ret <4 x i32> < i32 0, i32 0, i32 1, i32 0 >
     16 }
     17