1 ; RUN: opt < %s -adce -simplifycfg -S | grep call
2 ; RUN: opt < %s -adce -adce-remove-loops -simplifycfg -S | grep call
4 declare void @exit(i32)
6 define i32 @main(i32 %argc) {
7 %C = icmp eq i32 %argc, 1 ; <i1> [#uses=2]
8 br i1 %C, label %Cond, label %Done
11 br i1 %C, label %Loop, label %Done
13 Loop: ; preds = %Loop, %Cond
14 call void @exit( i32 0 )
17 Done: ; preds = %Cond, %0