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
4 ; Without any typed operations, always use the smaller xorps.
5 define <2 x double> @test() {
8 ; CHECK-NEXT: xorps %xmm0, %xmm0
10 ret <2 x double> zeroinitializer
13 ; Prefer a constant pool load here.
14 define <4 x i32> @test2() nounwind {
17 ; CHECK-NEXT: movaps {{.*#+}} xmm0 = [0,0,1,0]
19 ret <4 x i32> < i32 0, i32 0, i32 1, i32 0 >