Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -march=x86 -mcpu=pentium
      2 ; PR2575
      3 
      4 define void @entry(i32 %m_task_id, i32 %start_x, i32 %end_x) nounwind  {
      5 	br i1 false, label %bb.nph, label %._crit_edge
      6 
      7 bb.nph:		; preds = %bb.nph, %0
      8 	%X = icmp sgt <4 x i32> zeroinitializer, < i32 -128, i32 -128, i32 -128, i32 -128 >		; <<4 x i32>>:1 [#uses=1]
      9         sext <4 x i1> %X to <4 x i32>
     10 	extractelement <4 x i32> %1, i32 3		; <i32>:2 [#uses=1]
     11 	lshr i32 %2, 31		; <i32>:3 [#uses=1]
     12 	trunc i32 %3 to i1		; <i1>:4 [#uses=1]
     13 	select i1 %4, i32 -1, i32 0		; <i32>:5 [#uses=1]
     14 	insertelement <4 x i32> zeroinitializer, i32 %5, i32 3		; <<4 x i32>>:6 [#uses=1]
     15 	and <4 x i32> zeroinitializer, %6		; <<4 x i32>>:7 [#uses=1]
     16 	bitcast <4 x i32> %7 to <4 x float>		; <<4 x float>>:8 [#uses=1]
     17 	fmul <4 x float> zeroinitializer, %8		; <<4 x float>>:9 [#uses=1]
     18 	bitcast <4 x float> %9 to <4 x i32>		; <<4 x i32>>:10 [#uses=1]
     19 	or <4 x i32> %10, zeroinitializer		; <<4 x i32>>:11 [#uses=1]
     20 	bitcast <4 x i32> %11 to <4 x float>		; <<4 x float>>:12 [#uses=1]
     21 	fmul <4 x float> %12, < float 1.000000e+02, float 1.000000e+02, float 1.000000e+02, float 1.000000e+02 >		; <<4 x float>>:13 [#uses=1]
     22 	fsub <4 x float> %13, < float 1.000000e+02, float 1.000000e+02, float 1.000000e+02, float 1.000000e+02 >		; <<4 x float>>:14 [#uses=1]
     23 	extractelement <4 x float> %14, i32 3		; <float>:15 [#uses=1]
     24 	call float @fmaxf( float 0.000000e+00, float %15 )		; <float>:16 [#uses=0]
     25 	br label %bb.nph
     26 
     27 ._crit_edge:		; preds = %0
     28 	ret void
     29 }
     30 
     31 
     32 declare float @fmaxf(float, float)
     33