1 ; A bug fix in the DAGCombiner made this test fail, so marking as xfail 2 ; until this can be investigated further. 3 ; XFAIL: * 4 5 ; RUN: llc < %s -mtriple=i686-linux-pc -mcpu=corei7 | FileCheck %s 6 7 define <2 x float> @foo(i32 %x, i32 %y, <2 x float> %v) { 8 %t1 = uitofp i32 %x to float 9 %t2 = insertelement <2 x float> undef, float %t1, i32 0 10 %t3 = uitofp i32 %y to float 11 %t4 = insertelement <2 x float> %t2, float %t3, i32 1 12 %t5 = fmul <2 x float> %v, %t4 13 ret <2 x float> %t5 14 ; CHECK: foo 15 ; CHECK: or 16 ; CHECK: subpd 17 ; CHECK: cvtpd2ps 18 ; CHECK: ret 19 } 20 21 define <2 x float> @bar(<2 x i32> %in) { 22 %r = uitofp <2 x i32> %in to <2 x float> 23 ret <2 x float> %r 24 ; CHECK: bar 25 ; CHECK: or 26 ; CHECK: subpd 27 ; CHECK: cvtpd2ps 28 ; CHECK: ret 29 } 30