diff --git a/test/Transforms/LevelRaise/2002-02-11-ArrayShape.ll b/test/Transforms/LevelRaise/2002-02-11-ArrayShape.ll index d1359175dc7..7b78a8d2d37 100644 --- a/test/Transforms/LevelRaise/2002-02-11-ArrayShape.ll +++ b/test/Transforms/LevelRaise/2002-02-11-ArrayShape.ll @@ -51,10 +51,9 @@ bb3: ;[#uses=5] %reg111 = add uint %reg110, %cast1039 ; [#uses=1] %reg113 = shl uint %reg111, ubyte 2 ; [#uses=1] %cast115 = cast uint %reg113 to ulong ; [#uses=1] - %cast114 = cast ulong %cast115 to sbyte * ; [#uses=1] - %cast1040 = cast [200 x int] * %cast1032 to sbyte * ; [#uses=1] - %reg118 = add sbyte * %cast1040, %cast114 ; [#uses=1] - %cast1041 = cast sbyte * %reg118 to int * ; [#uses=1] + %cast1040 = cast [200 x int] * %cast1032 to ulong ; [#uses=1] + %reg118 = add ulong %cast1040, %cast115 ; [#uses=1] + %cast1041 = cast ulong %reg118 to int * ; [#uses=1] %reg120 = load int * %cast1041 ; [#uses=1] %cast119 = cast int %reg120 to double ; [#uses=1] %reg128 = add double %reg126, %cast119 ; [#uses=2] diff --git a/test/Transforms/LevelRaise/2002-03-20-BadCodegen.ll b/test/Transforms/LevelRaise/2002-03-20-BadCodegen.ll index 84f05058721..b14bc2db2a4 100644 --- a/test/Transforms/LevelRaise/2002-03-20-BadCodegen.ll +++ b/test/Transforms/LevelRaise/2002-03-20-BadCodegen.ll @@ -16,8 +16,7 @@ begin ret void end -void "main"(int %argc, sbyte **%argv) -begin +int %main(int %argc, sbyte **%argv) { ;