diff options
Diffstat (limited to 'test/Transforms/ScalarRepl')
4 files changed, 5 insertions, 5 deletions
diff --git a/test/Transforms/ScalarRepl/2003-05-30-InvalidIndices.ll b/test/Transforms/ScalarRepl/2003-05-30-InvalidIndices.ll index 6ec9adb..cda4403 100644 --- a/test/Transforms/ScalarRepl/2003-05-30-InvalidIndices.ll +++ b/test/Transforms/ScalarRepl/2003-05-30-InvalidIndices.ll @@ -2,6 +2,6 @@ void %main() { %E = alloca { { int, float, double, long }, { int, float, double, long } } ; <{ { int, float, double, long }, { int, float, double, long } }*> [#uses=1] - %tmp.151 = getelementptr { { int, float, double, long }, { int, float, double, long } }* %E, long 0, ubyte 1, ubyte 3 ; <long*> [#uses=0] + %tmp.151 = getelementptr { { int, float, double, long }, { int, float, double, long } }* %E, long 0, uint 1, uint 3 ; <long*> [#uses=0] ret void } diff --git a/test/Transforms/ScalarRepl/2003-05-30-MultiLevel.ll b/test/Transforms/ScalarRepl/2003-05-30-MultiLevel.ll index 958f33a..afba568 100644 --- a/test/Transforms/ScalarRepl/2003-05-30-MultiLevel.ll +++ b/test/Transforms/ScalarRepl/2003-05-30-MultiLevel.ll @@ -2,7 +2,7 @@ int %test() { %X = alloca { [ 4 x int] } - %Y = getelementptr { [ 4 x int] }* %X, long 0, ubyte 0, long 2 + %Y = getelementptr { [ 4 x int] }* %X, long 0, uint 0, long 2 store int 4, int* %Y %Z = load int* %Y ret int %Z diff --git a/test/Transforms/ScalarRepl/2003-10-29-ArrayProblem.ll b/test/Transforms/ScalarRepl/2003-10-29-ArrayProblem.ll index 6e8dc39..cfeff45 100644 --- a/test/Transforms/ScalarRepl/2003-10-29-ArrayProblem.ll +++ b/test/Transforms/ScalarRepl/2003-10-29-ArrayProblem.ll @@ -6,9 +6,9 @@ declare void %.iter_2(int (sbyte*)*, sbyte*) int %main() { %d = alloca { [80 x sbyte], int, uint } - %tmp.0 = getelementptr { [80 x sbyte], int, uint }* %d, long 0, ubyte 2 + %tmp.0 = getelementptr { [80 x sbyte], int, uint }* %d, long 0, uint 2 store uint 0, uint* %tmp.0 - %tmp.1 = getelementptr { [80 x sbyte], int, uint }* %d, long 0, ubyte 0, long 0 + %tmp.1 = getelementptr { [80 x sbyte], int, uint }* %d, long 0, uint 0, long 0 call void %.iter_2( int (sbyte*)* %.callback_1, sbyte* %tmp.1 ) ret int 0 } diff --git a/test/Transforms/ScalarRepl/basictest.ll b/test/Transforms/ScalarRepl/basictest.ll index df27b09..53d60c9 100644 --- a/test/Transforms/ScalarRepl/basictest.ll +++ b/test/Transforms/ScalarRepl/basictest.ll @@ -2,7 +2,7 @@ int %test() { %X = alloca { int, float } - %Y = getelementptr {int,float}* %X, long 0, ubyte 0 + %Y = getelementptr {int,float}* %X, long 0, uint 0 store int 0, int* %Y %Z = load int* %Y |