diff options
Diffstat (limited to 'polly/test/ScopInfo/parameter-constant-division.ll')
-rw-r--r-- | polly/test/ScopInfo/parameter-constant-division.ll | 57 |
1 files changed, 28 insertions, 29 deletions
diff --git a/polly/test/ScopInfo/parameter-constant-division.ll b/polly/test/ScopInfo/parameter-constant-division.ll index f105f526b6db..cd6b9e3526aa 100644 --- a/polly/test/ScopInfo/parameter-constant-division.ll +++ b/polly/test/ScopInfo/parameter-constant-division.ll @@ -29,21 +29,21 @@ ; ModuleID = 'bugpoint-reduced-simplified.bc' target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" -%struct.frame_store = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.picture*, %struct.picture*, %struct.picture* } -%struct.picture = type { i32, i32, i32, i32, i32, i32, [6 x [33 x i64]], [6 x [33 x i64]], [6 x [33 x i64]], [6 x [33 x i64]], i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i16**, i16*, i16*, i16**, i16**, i16***, i8*, i16***, i64***, i64***, i16****, i8**, i8**, %struct.picture*, %struct.picture*, %struct.picture*, i32, i32, i32, i32, i32, i32, i32 } +%struct.frame_store = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr } +%struct.picture = type { i32, i32, i32, i32, i32, i32, [6 x [33 x i64]], [6 x [33 x i64]], [6 x [33 x i64]], [6 x [33 x i64]], i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32 } ; Function Attrs: nounwind uwtable -define void @dpb_split_field(%struct.frame_store* %fs) #0 { +define void @dpb_split_field(ptr %fs) #0 { entry: - %frame = getelementptr inbounds %struct.frame_store, %struct.frame_store* %fs, i64 0, i32 10 + %frame = getelementptr inbounds %struct.frame_store, ptr %fs, i64 0, i32 10 br label %for.cond538.preheader.lr.ph for.cond538.preheader.lr.ph: ; preds = %entry - %bottom_field578 = getelementptr inbounds %struct.frame_store, %struct.frame_store* %fs, i64 0, i32 12 + %bottom_field578 = getelementptr inbounds %struct.frame_store, ptr %fs, i64 0, i32 12 br label %for.cond538.preheader for.cond538.preheader: ; preds = %for.inc912, %for.cond538.preheader.lr.ph - %tmp0 = phi %struct.picture* [ undef, %for.cond538.preheader.lr.ph ], [ %tmp11, %for.inc912 ] + %tmp0 = phi ptr [ undef, %for.cond538.preheader.lr.ph ], [ %tmp11, %for.inc912 ] br i1 undef, label %land.lhs.true563, label %for.inc912 land.lhs.true563: ; preds = %for.cond538.preheader @@ -55,38 +55,37 @@ land.lhs.true563: ; preds = %for.cond538.prehead %tmp10a = shl i32 %tmp9a, 1 %add559 = add i32 %tmp10a, %rem558 %idxprom564 = sext i32 %add559 to i64 - %mb_field566 = getelementptr inbounds %struct.picture, %struct.picture* %tmp0, i64 0, i32 31 - %tmp1 = load i8*, i8** %mb_field566, align 8 - %arrayidx567 = getelementptr inbounds i8, i8* %tmp1, i64 %idxprom564 - %tmp2 = load i8, i8* %arrayidx567, align 1 - store i8 0, i8* %arrayidx567 + %mb_field566 = getelementptr inbounds %struct.picture, ptr %tmp0, i64 0, i32 31 + %tmp1 = load ptr, ptr %mb_field566, align 8 + %arrayidx567 = getelementptr inbounds i8, ptr %tmp1, i64 %idxprom564 + %tmp2 = load i8, ptr %arrayidx567, align 1 + store i8 0, ptr %arrayidx567 br i1 false, label %if.end908, label %if.then570 if.then570: ; preds = %land.lhs.true563 - %tmp3 = load %struct.picture*, %struct.picture** %frame, align 8 - %mv = getelementptr inbounds %struct.picture, %struct.picture* %tmp3, i64 0, i32 35 - %tmp4 = load i16****, i16***** %mv, align 8 - %tmp5 = load %struct.picture*, %struct.picture** %bottom_field578, align 8 - %mv612 = getelementptr inbounds %struct.picture, %struct.picture* %tmp5, i64 0, i32 35 - %tmp6 = load i16****, i16***** %mv612, align 8 - %arrayidx647 = getelementptr inbounds i16***, i16**** %tmp4, i64 1 - %ref_id726 = getelementptr inbounds %struct.picture, %struct.picture* %tmp3, i64 0, i32 34 - %tmp7 = load i64***, i64**** %ref_id726, align 8 - %arrayidx746 = getelementptr inbounds i64**, i64*** %tmp7, i64 5 - %tmp8 = load %struct.picture*, %struct.picture** %frame, align 8 - %mv783 = getelementptr inbounds %struct.picture, %struct.picture* %tmp8, i64 0, i32 35 - %tmp9 = load i16****, i16***** %mv783, align 8 - %arrayidx804 = getelementptr inbounds i16***, i16**** %tmp9, i64 1 - %tmp10 = load i16***, i16**** %arrayidx804, align 8 - %arrayidx805 = getelementptr inbounds i16**, i16*** %tmp10, i64 0 - store i16*** %tmp10, i16**** %arrayidx804 + %tmp3 = load ptr, ptr %frame, align 8 + %mv = getelementptr inbounds %struct.picture, ptr %tmp3, i64 0, i32 35 + %tmp4 = load ptr, ptr %mv, align 8 + %tmp5 = load ptr, ptr %bottom_field578, align 8 + %mv612 = getelementptr inbounds %struct.picture, ptr %tmp5, i64 0, i32 35 + %tmp6 = load ptr, ptr %mv612, align 8 + %arrayidx647 = getelementptr inbounds ptr, ptr %tmp4, i64 1 + %ref_id726 = getelementptr inbounds %struct.picture, ptr %tmp3, i64 0, i32 34 + %tmp7 = load ptr, ptr %ref_id726, align 8 + %arrayidx746 = getelementptr inbounds ptr, ptr %tmp7, i64 5 + %tmp8 = load ptr, ptr %frame, align 8 + %mv783 = getelementptr inbounds %struct.picture, ptr %tmp8, i64 0, i32 35 + %tmp9 = load ptr, ptr %mv783, align 8 + %arrayidx804 = getelementptr inbounds ptr, ptr %tmp9, i64 1 + %tmp10 = load ptr, ptr %arrayidx804, align 8 + store ptr %tmp10, ptr %arrayidx804 br label %if.end908 if.end908: ; preds = %if.then570, %land.lhs.true563 br label %for.inc912 for.inc912: ; preds = %if.end908, %for.cond538.preheader - %tmp11 = phi %struct.picture* [ %tmp0, %for.cond538.preheader ], [ undef, %if.end908 ] + %tmp11 = phi ptr [ %tmp0, %for.cond538.preheader ], [ undef, %if.end908 ] br i1 undef, label %for.cond538.preheader, label %for.cond1392.preheader for.cond1392.preheader: ; preds = %for.inc912 |