[WebAssembly] Don't perform the returned-argument optimization on constants.
[oota-llvm.git] / test / CodeGen / Generic / 2006-10-27-CondFolding.ll
1 ; RUN: llc < %s 
2
3 define void @start_pass_huff(i32 %gather_statistics) {
4 entry:
5         %tmp = icmp eq i32 %gather_statistics, 0                ; <i1> [#uses=1]
6         br i1 false, label %cond_next22, label %bb166
7
8 cond_next22:            ; preds = %entry
9         %bothcond = and i1 false, %tmp          ; <i1> [#uses=1]
10         br i1 %bothcond, label %bb34, label %bb46
11
12 bb34:           ; preds = %cond_next22
13         ret void
14
15 bb46:           ; preds = %cond_next22
16         ret void
17
18 bb166:          ; preds = %entry
19         ret void
20 }
21