1 ; RUN: llc < %s -march=ppc64 2 ; RUN: llc < %s -march=ppc32 3 ; RUN: llc < %s 4 ; REQUIRES: default_triple 5 6 define void @bitap() { 7 entry: 8 %RMask.i = alloca [256 x i32], align 16 ; <[256 x i32]*> [#uses=1] 9 %buffer = alloca [147456 x i8], align 16 ; <[147456 x i8]*> [#uses=0] 10 br i1 false, label %bb19, label %bb.preheader 11 bb.preheader: ; preds = %entry 12 ret void 13 bb19: ; preds = %entry 14 br i1 false, label %bb12.i, label %cond_next39 15 bb12.i: ; preds = %bb12.i, %bb19 16 %i.0.i = phi i32 [ %tmp11.i, %bb12.i ], [ 0, %bb19 ] ; <i32> [#uses=2] 17 %gep.upgrd.1 = zext i32 %i.0.i to i64 ; <i64> [#uses=1] 18 %tmp9.i = getelementptr [256 x i32], [256 x i32]* %RMask.i, i32 0, i64 %gep.upgrd.1 ; <i32*> [#uses=1] 19 store i32 0, i32* %tmp9.i 20 %tmp11.i = add i32 %i.0.i, 1 ; <i32> [#uses=1] 21 br label %bb12.i 22 cond_next39: ; preds = %bb19 23 ret void 24 } 25 26