brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.4 KiB · 8b523cc Raw
40 lines · plain
1; RUN: opt < %s -passes=licm,simple-loop-unswitch -disable-output2	%struct.III_scalefac_t = type { [22 x i32], [13 x [3 x i32]] }3	%struct.gr_info = type { i32, i32, i32, i32, i32, i32, i32, i32, [3 x i32], [3 x i32], i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, [4 x i32] }4 5define i32 @scale_bitcount_lsf(ptr %scalefac, ptr %cod_info) {6entry:7	br i1 false, label %bb28, label %bb133.preheader8 9bb133.preheader:		; preds = %entry10	ret i32 011 12bb28:		; preds = %entry13	br i1 false, label %bb63.outer, label %bb7914 15bb63.outer:		; preds = %bb73, %bb2816	br i1 false, label %bb35, label %bb7317 18bb35:		; preds = %cond_next60, %bb63.outer19	%window.34 = phi i32 [ %tmp62, %cond_next60 ], [ 0, %bb63.outer ]		; <i32> [#uses=1]20	%tmp44 = getelementptr [4 x i32], ptr null, i32 0, i32 0		; <ptr> [#uses=1]21	%tmp46 = load i32, ptr %tmp44, align 4		; <i32> [#uses=0]22	br i1 false, label %cond_true50, label %cond_next6023 24cond_true50:		; preds = %bb3525	%tmp59 = getelementptr [4 x i32], ptr null, i32 0, i32 0		; <ptr> [#uses=1]26	store i32 0, ptr %tmp59, align 427	br label %cond_next6028 29cond_next60:		; preds = %cond_true50, %bb3530	%tmp62 = add i32 %window.34, 1		; <i32> [#uses=1]31	br i1 false, label %bb35, label %bb7332 33bb73:		; preds = %cond_next60, %bb63.outer34	%tmp76 = icmp slt i32 0, 0		; <i1> [#uses=1]35	br i1 %tmp76, label %bb63.outer, label %bb7936 37bb79:		; preds = %bb73, %bb2838	ret i32 039}40