1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown | FileCheck %s
5 define <3 x float> @addf3(<3 x float> %x) {
7 ; CHECK: # BB#0: # %entry
8 ; CHECK-NEXT: addps {{.*}}(%rip), %xmm0
11 %add = fadd <3 x float> %x, <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>
16 define <4 x float> @cvtf3_f4(<3 x float> %x) {
17 ; CHECK-LABEL: cvtf3_f4:
18 ; CHECK: # BB#0: # %entry
21 %extractVec = shufflevector <3 x float> %x, <3 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 undef>
22 ret <4 x float> %extractVec
26 define <3 x float> @cvtf4_f3(<4 x float> %x) {
27 ; CHECK-LABEL: cvtf4_f3:
28 ; CHECK: # BB#0: # %entry
31 %extractVec = shufflevector <4 x float> %x, <4 x float> undef, <3 x i32> <i32 0, i32 1, i32 2>
32 ret <3 x float> %extractVec