blob: adeeaa6d562d40e11a399895cd3e1f597e8e6db1 [file] [log] [blame]
; RUN: llvm-as < %s | opt -adce -simplifycfg | llvm-dis | grep call
declare void %exit(int)
int %main(int %argc) {
%C = seteq int %argc, 1
br bool %C, label %Cond, label %Done
Cond:
br bool %C, label %Loop, label %Done
Loop:
call void %exit(int 0)
br label %Loop
Done:
ret int 1
}