Added the ability to xfail based on llvmgcc version
[llvm-complete.git] / test / Transforms / IndVarsSimplify / 2005-02-11-InvokeCrash.ll
blobdf925d14cb9ded4a372c7a7818f4623d109d58ef
1 ; RUN: llvm-as < %s | opt -indvars -disable-output
3 void %_ZN5ArrayISt7complexIdEEC2ERK10dim_vector() {
4 entry:
5         %tmp.7 = invoke int %_ZN5ArrayISt7complexIdEE8get_sizeERK10dim_vector( )
6                         to label %invoke_cont.0 unwind label %cond_true.1               ; <int> [#uses=2]
8 cond_true.1:            ; preds = %entry
9         unwind
11 invoke_cont.0:          ; preds = %entry
12         %tmp.4.i = cast int %tmp.7 to uint              ; <uint> [#uses=0]
13         %tmp.14.0.i5 = add int %tmp.7, -1               ; <int> [#uses=1]
14         br label %no_exit.i
16 no_exit.i:              ; preds = %no_exit.i, %invoke_cont.0
17         %tmp.14.0.i.0 = phi int [ %tmp.14.0.i, %no_exit.i ], [ %tmp.14.0.i5, %invoke_cont.0 ]           ; <int> [#uses=1]
18         %tmp.14.0.i = add int %tmp.14.0.i.0, -1         ; <int> [#uses=1]
19         br label %no_exit.i
22 declare int %_ZN5ArrayISt7complexIdEE8get_sizeERK10dim_vector()