brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · c53eed3 Raw
36 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=i686-- | FileCheck %s3; PR23264 5define i32 @func_59(i32 %p_60) nounwind  {6; CHECK-LABEL: func_59:7; CHECK:       # %bb.0: # %entry8; CHECK-NEXT:    pushl %eax9; CHECK-NEXT:    movl 0, %eax10; CHECK-NEXT:    xorl %ecx, %ecx11; CHECK-NEXT:    cmpl (%esp), %eax12; CHECK-NEXT:    sete %cl13; CHECK-NEXT:    pushl $014; CHECK-NEXT:    pushl %ecx15; CHECK-NEXT:    calll func_15@PLT16entry:17	%l_108 = alloca i32		; <ptr> [#uses=2]18	%tmp15 = load i32, ptr null, align 4		; <i32> [#uses=1]19	%tmp16 = load i32, ptr %l_108, align 4		; <i32> [#uses=1]20	%tmp17 = icmp eq i32 %tmp15, %tmp16		; <i1> [#uses=1]21	%tmp1718 = zext i1 %tmp17 to i8		; <i8> [#uses=1]22	%tmp19 = load i32, ptr null, align 4		; <i32> [#uses=1]23	%tmp20 = load i32, ptr %l_108, align 4		; <i32> [#uses=1]24	%tmp21 = icmp ule i32 %tmp19, %tmp20		; <i1> [#uses=1]25	%tmp2122 = zext i1 %tmp21 to i8		; <i8> [#uses=1]26	%toBool23 = icmp ne i8 %tmp1718, 0		; <i1> [#uses=1]27	%toBool24 = icmp ne i8 %tmp2122, 0		; <i1> [#uses=1]28	%tmp25 = and i1 %toBool23, %toBool24		; <i1> [#uses=1]29	%tmp2526 = zext i1 %tmp25 to i8		; <i8> [#uses=1]30	%tmp252627 = zext i8 %tmp2526 to i32		; <i32> [#uses=1]31	%tmp29 = call i32 (...) @func_15( i32 %tmp252627, i32 0 ) nounwind 		; <i32> [#uses=0]32	unreachable33}34 35declare i32 @func_15(...)36