1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=+sse2 | FileCheck %s
3
4; Without any typed operations, always use the smaller xorps.
5define <2 x double> @test() {
6; CHECK-LABEL: test:
7; CHECK:       # %bb.0:
8; CHECK-NEXT:    xorps %xmm0, %xmm0
9; CHECK-NEXT:    retl
10	ret <2 x double> zeroinitializer
11}
12
13; Prefer a constant pool load here.
14define <4 x i32> @test2() nounwind  {
15; CHECK-LABEL: test2:
16; CHECK:       # %bb.0:
17; CHECK-NEXT:    movaps {{.*#+}} xmm0 = [0,0,1,0]
18; CHECK-NEXT:    retl
19	ret <4 x i32> < i32 0, i32 0, i32 1, i32 0 >
20}
21
22