brintos

brintos / llvm-project-archived public Read only

0
0
Text · 406 B · a892580 Raw
17 lines · plain
1; RUN: opt < %s -disable-output "-passes=print<scalar-evolution>" -scalar-evolution-max-iterations=0 2>&1 | FileCheck %s2; PR20883 4; CHECK: Unpredictable5 6define void @fun() {7entry:8        br label %loop9loop:10        %i = phi i8 [ 0, %entry ], [ %i.next, %loop ]11        %i.next = add i8 %i, 412        %cond = icmp ne i8 %i.next, 613        br i1 %cond, label %loop, label %exit14exit:15        ret void16}17