1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 23:42:52 +01:00
llvm-mirror/test/Regression/Transforms/ADCE/2003-11-16-MissingPostDominanceInfo.ll

18 lines
296 B
LLVM
Raw Normal View History

; RUN: llvm-as < %s | opt -adce -simplifycfg | llvm-dis | grep call
2003-11-16 22:47:01 +01:00
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
}