1 ; RUN: llc < %s | not grep rep
2 ; RUN: llc < %s | grep memset
6 declare void @llvm.memset.i32(i8*, i8, i32, i32) nounwind
8 define fastcc i32 @cli_scanzip(i32 %desc) nounwind {
12 bb8.i.i.i.i: ; preds = %bb8.i.i.i.i, %entry
13 icmp eq i32 0, 0 ; <i1>:0 [#uses=1]
14 br i1 %0, label %bb61.i.i.i, label %bb8.i.i.i.i
16 bb32.i.i.i: ; preds = %bb61.i.i.i
17 ptrtoint i8* %tail.0.i.i.i to i32 ; <i32>:1 [#uses=1]
18 sub i32 0, %1 ; <i32>:2 [#uses=1]
19 icmp sgt i32 %2, 19 ; <i1>:3 [#uses=1]
20 br i1 %3, label %bb34.i.i.i, label %bb61.i.i.i
22 bb34.i.i.i: ; preds = %bb32.i.i.i
23 load i32* null, align 4 ; <i32>:4 [#uses=1]
24 icmp eq i32 %4, 101010256 ; <i1>:5 [#uses=1]
25 br i1 %5, label %bb8.i11.i.i.i, label %bb61.i.i.i
27 bb8.i11.i.i.i: ; preds = %bb8.i11.i.i.i, %bb34.i.i.i
28 icmp eq i32 0, 0 ; <i1>:6 [#uses=1]
29 br i1 %6, label %cli_dbgmsg.exit49.i, label %bb8.i11.i.i.i
31 cli_dbgmsg.exit49.i: ; preds = %bb8.i11.i.i.i
32 icmp eq [32768 x i8]* null, null ; <i1>:7 [#uses=1]
33 br i1 %7, label %bb1.i28.i, label %bb8.i.i
35 bb61.i.i.i: ; preds = %bb61.i.i.i, %bb34.i.i.i, %bb32.i.i.i, %bb8.i.i.i.i
36 %tail.0.i.i.i = getelementptr [1024 x i8]* null, i32 0, i32 0 ; <i8*> [#uses=2]
37 load i8* %tail.0.i.i.i, align 1 ; <i8>:8 [#uses=1]
38 icmp eq i8 %8, 80 ; <i1>:9 [#uses=1]
39 br i1 %9, label %bb32.i.i.i, label %bb61.i.i.i
41 bb1.i28.i: ; preds = %cli_dbgmsg.exit49.i
42 call void @llvm.memset.i32( i8* null, i8 0, i32 88, i32 1 ) nounwind
45 bb8.i.i: ; preds = %bb8.i.i, %cli_dbgmsg.exit49.i