brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.5 KiB · 7430d7a Raw
52 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=i686-- | FileCheck %s3 4define fastcc i32 @_Z18yy_get_next_bufferv() nounwind {5; CHECK-LABEL: _Z18yy_get_next_bufferv:6; CHECK:       # %bb.0: # %entry7; CHECK-NEXT:    movl $42, %eax8; CHECK-NEXT:    cmpl $-1, %eax9; CHECK-NEXT:    je .LBB0_310; CHECK-NEXT:    .p2align 411; CHECK-NEXT:  .LBB0_1: # %bb11612; CHECK-NEXT:    # =>This Inner Loop Header: Depth=113; CHECK-NEXT:    movb %al, 014; CHECK-NEXT:    cmpl $-1, %eax15; CHECK-NEXT:    jne .LBB0_116; CHECK-NEXT:  .LBB0_3: # %bb15817; CHECK-NEXT:    movb %al, 018; CHECK-NEXT:    xorl %eax, %eax19; CHECK-NEXT:    retl20entry:21	br label %bb13122 23bb116:		; preds = %bb13124	%tmp125126 = trunc i32 %c.1 to i8		; <i8> [#uses=1]25	store i8 %tmp125126, ptr null, align 126	br label %bb13127 28bb131:		; preds = %bb116, %entry29	%c.2 = phi i32 [ %c.1, %bb116 ], [ 42, %entry ]		; <i32> [#uses=1]30	%c.1 = select i1 false, i32 0, i32 %c.2		; <i32> [#uses=4]31	%tmp181 = icmp eq i32 %c.1, -1		; <i1> [#uses=1]32	br i1 %tmp181, label %bb158, label %bb11633 34bb158:		; preds = %bb13135	br i1 true, label %cond_true163, label %cond_next17836 37cond_true163:		; preds = %bb15838	%tmp172173 = trunc i32 %c.1 to i8		; <i8> [#uses=1]39	store i8 %tmp172173, ptr null, align 140	br label %cond_next17841 42cond_next178:		; preds = %cond_true163, %bb15843	%tmp180 = icmp eq i32 %c.1, -1		; <i1> [#uses=1]44	br i1 %tmp180, label %cond_next184, label %cond_next19945 46cond_next184:		; preds = %cond_next17847	ret i32 048 49cond_next199:		; preds = %cond_next17850	ret i32 051}52