diff options
Diffstat (limited to 'test/CodeGen/Mips/prevent-hoisting.ll')
-rw-r--r-- | test/CodeGen/Mips/prevent-hoisting.ll | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/test/CodeGen/Mips/prevent-hoisting.ll b/test/CodeGen/Mips/prevent-hoisting.ll index 210fe3b..81b14d7 100644 --- a/test/CodeGen/Mips/prevent-hoisting.ll +++ b/test/CodeGen/Mips/prevent-hoisting.ll @@ -46,7 +46,7 @@ define void @readLumaCoeff8x8_CABAC(%struct.img_par* %img, i32 %b8) { - %1 = load i32* undef, align 4 + %1 = load i32, i32* undef, align 4 br i1 false, label %2, label %3 ; <label>:2 ; preds = %0 @@ -65,7 +65,7 @@ switch.lookup: ; preds = %3 br label %6 ; <label>:6 ; preds = %5, %4 - %7 = phi [2 x i8]* [ getelementptr inbounds ([64 x [2 x i8]]* @FIELD_SCAN8x8, i32 0, i32 0), %4 ], [ null, %5 ] + %7 = phi [2 x i8]* [ getelementptr inbounds ([64 x [2 x i8]], [64 x [2 x i8]]* @FIELD_SCAN8x8, i32 0, i32 0), %4 ], [ null, %5 ] br i1 undef, label %switch.lookup6, label %8 switch.lookup6: ; preds = %6 @@ -77,7 +77,7 @@ switch.lookup6: ; preds = %6 ; <label>:9 ; preds = %8 %10 = and i32 %b8, 1 %11 = shl nuw nsw i32 %10, 3 - %12 = getelementptr inbounds %struct.Slice* null, i32 0, i32 9 + %12 = getelementptr inbounds %struct.Slice, %struct.Slice* null, i32 0, i32 9 br i1 undef, label %.preheader, label %.preheader11 .preheader11: ; preds = %21, %9 @@ -92,19 +92,19 @@ switch.lookup6: ; preds = %6 br label %15 ; <label>:15 ; preds = %14, %13 - %16 = getelementptr inbounds [0 x [20 x i32]]* @assignSE2partition, i32 0, i32 %1, i32 undef - %17 = load i32* %16, align 4 - %18 = getelementptr inbounds %struct.datapartition* null, i32 %17, i32 2 - %19 = load i32 (%struct.syntaxelement*, %struct.img_par*, %struct.datapartition*)** %18, align 4 + %16 = getelementptr inbounds [0 x [20 x i32]], [0 x [20 x i32]]* @assignSE2partition, i32 0, i32 %1, i32 undef + %17 = load i32, i32* %16, align 4 + %18 = getelementptr inbounds %struct.datapartition, %struct.datapartition* null, i32 %17, i32 2 + %19 = load i32 (%struct.syntaxelement*, %struct.img_par*, %struct.datapartition*)*, i32 (%struct.syntaxelement*, %struct.img_par*, %struct.datapartition*)** %18, align 4 %20 = call i32 %19(%struct.syntaxelement* undef, %struct.img_par* %img, %struct.datapartition* undef) br i1 false, label %.loopexit, label %21 ; <label>:21 ; preds = %15 %22 = add i32 %coef_ctr.013, 1 %23 = add i32 %22, 0 - %24 = getelementptr inbounds [2 x i8]* %7, i32 %23, i32 0 + %24 = getelementptr inbounds [2 x i8], [2 x i8]* %7, i32 %23, i32 0 %25 = add nsw i32 0, %11 - %26 = getelementptr inbounds %struct.img_par* %img, i32 0, i32 27, i32 undef, i32 %25 + %26 = getelementptr inbounds %struct.img_par, %struct.img_par* %img, i32 0, i32 27, i32 undef, i32 %25 store i32 0, i32* %26, align 4 %27 = add nsw i32 %k.014, 1 %28 = icmp slt i32 %27, 65 @@ -122,21 +122,21 @@ switch.lookup6: ; preds = %6 br label %31 ; <label>:31 ; preds = %30, %29 - %32 = getelementptr inbounds [0 x [20 x i32]]* @assignSE2partition, i32 0, i32 %1, i32 undef - %33 = load i32* %32, align 4 - %34 = getelementptr inbounds %struct.datapartition* null, i32 %33 + %32 = getelementptr inbounds [0 x [20 x i32]], [0 x [20 x i32]]* @assignSE2partition, i32 0, i32 %1, i32 undef + %33 = load i32, i32* %32, align 4 + %34 = getelementptr inbounds %struct.datapartition, %struct.datapartition* null, i32 %33 %35 = call i32 undef(%struct.syntaxelement* undef, %struct.img_par* %img, %struct.datapartition* %34) br i1 false, label %.loopexit, label %36 ; <label>:36 ; preds = %31 - %37 = load i32* undef, align 4 + %37 = load i32, i32* undef, align 4 %38 = add i32 %coef_ctr.29, 1 %39 = add i32 %38, %37 - %40 = getelementptr inbounds [2 x i8]* %7, i32 %39, i32 0 - %41 = load i8* %40, align 1 + %40 = getelementptr inbounds [2 x i8], [2 x i8]* %7, i32 %39, i32 0 + %41 = load i8, i8* %40, align 1 %42 = zext i8 %41 to i32 %43 = add nsw i32 %42, %11 - %44 = getelementptr inbounds %struct.img_par* %img, i32 0, i32 27, i32 undef, i32 %43 + %44 = getelementptr inbounds %struct.img_par, %struct.img_par* %img, i32 0, i32 27, i32 undef, i32 %43 store i32 0, i32* %44, align 4 %45 = add nsw i32 %k.110, 1 %46 = icmp slt i32 %45, 65 |