Fix test
authorChris Lattner <sabre@nondot.org>
Wed, 26 Feb 2003 22:01:58 +0000 (22:01 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 26 Feb 2003 22:01:58 +0000 (22:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5646 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/BasicAA/featuretest.ll
test/Transforms/BasicAA/featuretest.ll

index 385144d173b65efb026964c7a73cac6ee7f3a804..26516d551955435dfb5c7aa0928622d17e2307bf 100644 (file)
@@ -63,7 +63,9 @@ int %gep_distance_test2({int,int}* %A, long %distance) {
         ret int %r
 }
 
-int %foo(int * %A) {
+; Test that we can do funny pointer things and that distance calc will still 
+; work.
+int %gep_distance_test3(int * %A) {
        %X = load int* %A
        %B = cast int* %A to sbyte*
        %C = getelementptr sbyte* %B, long 4
index 385144d173b65efb026964c7a73cac6ee7f3a804..26516d551955435dfb5c7aa0928622d17e2307bf 100644 (file)
@@ -63,7 +63,9 @@ int %gep_distance_test2({int,int}* %A, long %distance) {
         ret int %r
 }
 
-int %foo(int * %A) {
+; Test that we can do funny pointer things and that distance calc will still 
+; work.
+int %gep_distance_test3(int * %A) {
        %X = load int* %A
        %B = cast int* %A to sbyte*
        %C = getelementptr sbyte* %B, long 4