brintos

brintos / llvm-project-archived public Read only

0
0
Text · 859 B · 062611c Raw
24 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py UTC_ARGS: --version 42; RUN: opt < %s -disable-output "-passes=print<scalar-evolution>" -scalar-evolution-max-iterations=0 -scalar-evolution-classify-expressions=0 2>&1 | FileCheck %s3; PR20884 5 6define void @fun() {7; CHECK-LABEL: 'fun'8; CHECK-NEXT:  Determining loop execution counts for: @fun9; CHECK-NEXT:  Loop %loop: backedge-taken count is i8 11310; CHECK-NEXT:  Loop %loop: constant max backedge-taken count is i8 11311; CHECK-NEXT:  Loop %loop: symbolic max backedge-taken count is i8 11312; CHECK-NEXT:  Loop %loop: Trip multiple is 11413;14entry:15        br label %loop16loop:17        %i = phi i8 [ 0, %entry ], [ %i.next, %loop ]18        %i.next = add i8 %i, 1819        %cond = icmp ne i8 %i.next, 420        br i1 %cond, label %loop, label %exit21exit:22        ret void23}24