1; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py UTC_ARGS: --version 4 2; RUN: opt < %s -disable-output "-passes=print<scalar-evolution>" -scalar-evolution-max-iterations=0 -scalar-evolution-classify-expressions=0 2>&1 | FileCheck %s 3; PR2088 4 5 6define void @fun() { 7; CHECK-LABEL: 'fun' 8; CHECK-NEXT: Determining loop execution counts for: @fun 9; CHECK-NEXT: Loop %loop: backedge-taken count is i8 113 10; CHECK-NEXT: Loop %loop: constant max backedge-taken count is i8 113 11; CHECK-NEXT: Loop %loop: symbolic max backedge-taken count is i8 113 12; CHECK-NEXT: Loop %loop: Trip multiple is 114 13; 14entry: 15 br label %loop 16loop: 17 %i = phi i8 [ 0, %entry ], [ %i.next, %loop ] 18 %i.next = add i8 %i, 18 19 %cond = icmp ne i8 %i.next, 4 20 br i1 %cond, label %loop, label %exit 21exit: 22 ret void 23} 24