Pointer arithmetic should be done with the index the same size as the pointer.
[oota-llvm.git] / test / CodeGen / Generic / 2006-10-27-CondFolding.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | llc 
2
3 void %start_pass_huff(int %gather_statistics) {
4 entry:
5         %tmp = seteq int %gather_statistics, 0          ; <bool> [#uses=1]
6         br bool false, label %cond_next22, label %bb166
7
8 cond_next22:            ; preds = %entry
9         %bothcond = and bool false, %tmp                ; <bool> [#uses=1]
10         br bool %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