Mercurial > hg > CbC > CbC_llvm
comparison test/Transforms/IndVarSimplify/2005-02-26-ExitValueCompute.ll @ 120:1172e4bd9c6f
update 4.0.0
author | mir3636 |
---|---|
date | Fri, 25 Nov 2016 19:14:25 +0900 |
parents | 95c75e76d11b |
children |
comparison
equal
deleted
inserted
replaced
101:34baf5011add | 120:1172e4bd9c6f |
---|---|
1 ; RUN: opt < %s -indvars -S | \ | 1 ; RUN: opt < %s -indvars -S | FileCheck %s |
2 ; RUN: grep "ret i32 152" | |
3 | 2 |
4 define i32 @main() { | 3 define i32 @main() { |
4 ; CHECK-LABEL: @main( | |
5 ; CHECK: ret i32 152 | |
5 entry: | 6 entry: |
6 br label %no_exit | 7 br label %no_exit |
7 | 8 |
8 no_exit: ; preds = %no_exit, %entry | 9 no_exit: ; preds = %no_exit, %entry |
9 %i.1.0 = phi i32 [ 0, %entry ], [ %inc, %no_exit ] ; <i32> [#uses=2] | 10 %i.1.0 = phi i32 [ 0, %entry ], [ %inc, %no_exit ] ; <i32> [#uses=2] |