Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -march=x86 | grep sete
      2 ; PR2326
      3 
      4 define i32 @func_59(i32 %p_60) nounwind  {
      5 entry:
      6 	%l_108 = alloca i32		; <i32*> [#uses=2]
      7 	%tmp15 = load i32* null, align 4		; <i32> [#uses=1]
      8 	%tmp16 = load i32* %l_108, align 4		; <i32> [#uses=1]
      9 	%tmp17 = icmp eq i32 %tmp15, %tmp16		; <i1> [#uses=1]
     10 	%tmp1718 = zext i1 %tmp17 to i8		; <i8> [#uses=1]
     11 	%tmp19 = load i32* null, align 4		; <i32> [#uses=1]
     12 	%tmp20 = load i32* %l_108, align 4		; <i32> [#uses=1]
     13 	%tmp21 = icmp ule i32 %tmp19, %tmp20		; <i1> [#uses=1]
     14 	%tmp2122 = zext i1 %tmp21 to i8		; <i8> [#uses=1]
     15 	%toBool23 = icmp ne i8 %tmp1718, 0		; <i1> [#uses=1]
     16 	%toBool24 = icmp ne i8 %tmp2122, 0		; <i1> [#uses=1]
     17 	%tmp25 = and i1 %toBool23, %toBool24		; <i1> [#uses=1]
     18 	%tmp2526 = zext i1 %tmp25 to i8		; <i8> [#uses=1]
     19 	%tmp252627 = zext i8 %tmp2526 to i32		; <i32> [#uses=1]
     20 	%tmp29 = call i32 (...)* @func_15( i32 %tmp252627, i32 0 ) nounwind 		; <i32> [#uses=0]
     21 	unreachable
     22 }
     23 
     24 declare i32 @func_15(...)
     25