brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.0 KiB · f3bdf56 Raw
31 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=i686-- -mcpu=i386 | FileCheck %s3 4define i32 @foo(i32 %t, i32 %C) {5; CHECK-LABEL: foo:6; CHECK:       # %bb.0: # %entry7; CHECK-NEXT:    movl {{[0-9]+}}(%esp), %ecx8; CHECK-NEXT:    movl {{[0-9]+}}(%esp), %eax9; CHECK-NEXT:    decl %eax10; CHECK-NEXT:    .p2align 411; CHECK-NEXT:  .LBB0_1: # %cond_true12; CHECK-NEXT:    # =>This Inner Loop Header: Depth=113; CHECK-NEXT:    incl %eax14; CHECK-NEXT:    cmpl $40, %ecx15; CHECK-NEXT:    jl .LBB0_116; CHECK-NEXT:  # %bb.2: # %bb1217; CHECK-NEXT:    retl18entry:19        br label %cond_true20 21cond_true:              ; preds = %cond_true, %entry22        %t_addr.0.0 = phi i32 [ %t, %entry ], [ %tmp7, %cond_true ]             ; <i32> [#uses=2]23        %tmp7 = add i32 %t_addr.0.0, 1          ; <i32> [#uses=1]24        %tmp = icmp sgt i32 %C, 39              ; <i1> [#uses=1]25        br i1 %tmp, label %bb12, label %cond_true26 27bb12:           ; preds = %cond_true28        ret i32 %t_addr.0.029}30 31