summaryrefslogtreecommitdiff
path: root/test/Analysis
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-02-26 22:01:58 +0000
committerChris Lattner <sabre@nondot.org>2003-02-26 22:01:58 +0000
commitcd4d41cd4ff557d1d792a8ae2473ab445b881bc7 (patch)
treeacf0e000fe1d801859c8aefc753557fef2bbd0f5 /test/Analysis
parentc330ee6f0245569ade06f72af30bd85ae3cb3341 (diff)
downloadllvm-cd4d41cd4ff557d1d792a8ae2473ab445b881bc7.tar.gz
llvm-cd4d41cd4ff557d1d792a8ae2473ab445b881bc7.tar.bz2
llvm-cd4d41cd4ff557d1d792a8ae2473ab445b881bc7.tar.xz
Fix test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5646 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis')
-rw-r--r--test/Analysis/BasicAA/featuretest.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Analysis/BasicAA/featuretest.ll b/test/Analysis/BasicAA/featuretest.ll
index 385144d173..26516d5519 100644
--- a/test/Analysis/BasicAA/featuretest.ll
+++ b/test/Analysis/BasicAA/featuretest.ll
@@ -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