1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00
llvm-mirror/test/CodeGen/Generic/2006-10-27-CondFolding.ll

22 lines
550 B
LLVM
Raw Normal View History

; RUN: llvm-as < %s | llc
2006-10-28 01:47:34 +02:00
define void @start_pass_huff(i32 %gather_statistics) {
2006-10-28 01:47:34 +02:00
entry:
%tmp = icmp eq i32 %gather_statistics, 0 ; <i1> [#uses=1]
br i1 false, label %cond_next22, label %bb166
2006-10-28 01:47:34 +02:00
cond_next22: ; preds = %entry
%bothcond = and i1 false, %tmp ; <i1> [#uses=1]
br i1 %bothcond, label %bb34, label %bb46
2006-10-28 01:47:34 +02:00
bb34: ; preds = %cond_next22
ret void
bb46: ; preds = %cond_next22
ret void
bb166: ; preds = %entry
ret void
}