1 ; RUN: opt -disable-output "-passes=print<scalar-evolution>" < %s 2>&1 | FileCheck %s
3 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
4 target triple = "x86_64-unknown-linux-gnu"
7 ; CHECK-LABEL: Printing analysis 'Scalar Evolution Analysis' for function 'f_0':
8 ; CHECK: Loop %for.body: backedge-taken count is 5
9 ; CHECK: Loop %for.body: constant max backedge-taken count is 5
10 ; CHECK: Loop %for.body: Predicated backedge-taken count is 5
16 %i.05 = phi i32 [ 32, %entry ], [ %div4, %for.body ]
17 tail call void @dummy()
18 %div4 = lshr i32 %i.05, 1
19 %cmp = icmp eq i32 %div4, 0
20 br i1 %cmp, label %for.cond.cleanup, label %for.body