1 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown | FileCheck %s
\r
4 define <3 x float> @addf3(<3 x float> %x) {
\r
7 ; CHECK-NEXT: addps .LCPI0_0(%rip), %xmm0
\r
10 %add = fadd <3 x float> %x, <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>
\r
11 ret <3 x float> %add
\r
15 define <4 x float> @cvtf3_f4(<3 x float> %x) {
\r
16 ; CHECK-LABEL: cvtf3_f4
\r
20 %extractVec = shufflevector <3 x float> %x, <3 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 undef>
\r
21 ret <4 x float> %extractVec
\r
25 define <3 x float> @cvtf4_f3(<4 x float> %x) {
\r
26 ; CHECK-LABEL: cvtf4_f3
\r
30 %extractVec = shufflevector <4 x float> %x, <4 x float> undef, <3 x i32> <i32 0, i32 1, i32 2>
\r
31 ret <3 x float> %extractVec
\r