[SelectOpt] Support ADD and SUB with zext operands. (#115489)
[llvm-project.git] / polly / test / CodeGen / 20100811-ScalarDependencyBetweenBrAndCnd.ll
blob82da9d24864238df6b2c8df5723bfd629f2a1e67
1 ; RUN: opt %loadNPMPolly -passes=polly-codegen -disable-output < %s
2 target datalayout =
3 "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
5 define void @main() nounwind {
6 entry:
7   br label %for.cond
9 for.cond:                                         ; preds = %for.inc, %entry
10   %indvar1 = phi i64 [ %indvar.next2, %for.inc ], [ 0, %entry ] ; <i64> [#uses=2]
11   %exitcond = icmp ne i64 %indvar1, 1024          ; <i1> [#uses=1]
12   br label %a
14 a:                                                ; preds = %for.cond
15   br i1 %exitcond, label %for.body, label %for.end
17 for.body:                                         ; preds = %a
18   br label %for.inc
20 for.inc:                                          ; preds = %for.body
21   %indvar.next2 = add i64 %indvar1, 1             ; <i64> [#uses=1]
22   br label %for.cond
24 for.end:                                          ; preds = %a
25   br label %for.cond5
27 for.cond5:                                        ; preds = %for.inc07, %for.end
28   ret void