[Hexagon] Use A2_tfrsi for constant pool and jump table addresses
[oota-llvm.git] / test / CodeGen / PowerPC / 2008-04-23-CoalescerCrash.ll
index 32c928e66001748b3ebe8f52a10f427e4de0a0a4..45d43997fefb5f4e17b0c8d99f943d32106dd5f0 100644 (file)
@@ -24,7 +24,7 @@ bb:           ; preds = %entry
 
 bb31:          ; preds = %_Z24unlock_then_erase_sectory.exit, %bb
        %Pos.0.reg2mem.0 = phi i64 [ %tmp93, %_Z24unlock_then_erase_sectory.exit ], [ %Offset, %bb ]            ; <i64> [#uses=3]
-       %tmp35 = load i16* @_ZL10DeviceCode, align 2            ; <i16> [#uses=1]
+       %tmp35 = load i16, i16* @_ZL10DeviceCode, align 2               ; <i16> [#uses=1]
        %tmp3536 = zext i16 %tmp35 to i32               ; <i32> [#uses=2]
        %tmp37 = and i32 %tmp3536, 65520                ; <i32> [#uses=1]
        %tmp38 = icmp eq i32 %tmp37, 35008              ; <i1> [#uses=1]
@@ -39,11 +39,11 @@ bb41:               ; preds = %bb31
        ret i32 0
 
 bb68:          ; preds = %bb31
-       tail call void (i8*, ...)* @IOLog( i8* getelementptr ([68 x i8]* @.str34, i32 0, i32 0), i64 %tmp34, i64 0, i32 131072 ) nounwind 
+       tail call void (i8*, ...) @IOLog( i8* getelementptr ([68 x i8], [68 x i8]* @.str34, i32 0, i32 0), i64 %tmp34, i64 0, i32 131072 ) nounwind 
        %tmp2021.i = trunc i64 %Pos.0.reg2mem.0 to i32          ; <i32> [#uses=1]
        %tmp202122.i = inttoptr i32 %tmp2021.i to i8*           ; <i8*> [#uses=1]
        tail call void @IODelay( i32 500 ) nounwind 
-       %tmp53.i = load volatile i16* null, align 2             ; <i16> [#uses=2]
+       %tmp53.i = load volatile i16, i16* null, align 2                ; <i16> [#uses=2]
        %tmp5455.i = zext i16 %tmp53.i to i32           ; <i32> [#uses=1]
        br i1 false, label %bb.i, label %bb65.i
 
@@ -55,7 +55,7 @@ bb65.i:               ; preds = %bb68
        br i1 %tmp67.i, label %_Z24unlock_then_erase_sectory.exit, label %bb70.i
 
 bb70.i:                ; preds = %bb65.i
-       tail call void (i8*, ...)* @IOLog( i8* getelementptr ([64 x i8]* @.str19, i32 0, i32 0), i32 %tmp5455.i ) nounwind 
+       tail call void (i8*, ...) @IOLog( i8* getelementptr ([64 x i8], [64 x i8]* @.str19, i32 0, i32 0), i32 %tmp5455.i ) nounwind 
        ret i32 0
 
 _Z24unlock_then_erase_sectory.exit:            ; preds = %bb65.i
@@ -66,11 +66,11 @@ _Z24unlock_then_erase_sectory.exit:         ; preds = %bb65.i
        br i1 %tmp100, label %bb31, label %bb103
 
 bb103:         ; preds = %_Z24unlock_then_erase_sectory.exit, %bb
-       tail call void (i8*, ...)* @IOLog( i8* getelementptr ([37 x i8]* @.str35, i32 0, i32 0) ) nounwind 
+       tail call void (i8*, ...) @IOLog( i8* getelementptr ([37 x i8], [37 x i8]* @.str35, i32 0, i32 0) ) nounwind 
        ret i32 0
 
 bb107:         ; preds = %entry
-       tail call void (i8*, ...)* @IOLog( i8* getelementptr ([48 x i8]* @.str36, i32 0, i32 0) ) nounwind 
+       tail call void (i8*, ...) @IOLog( i8* getelementptr ([48 x i8], [48 x i8]* @.str36, i32 0, i32 0) ) nounwind 
        %tmp114115 = bitcast i8* %buffer to i16*                ; <i16*> [#uses=1]
        %tmp256 = lshr i64 %bufferSize, 1               ; <i64> [#uses=1]
        %tmp256257 = trunc i64 %tmp256 to i32           ; <i32> [#uses=1]