commit | 2271fddb6da21528edd015fbde8a3da3b7c5df02 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Wed Feb 26 21:39:52 2003 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Wed Feb 26 21:39:52 2003 +0000 |
tree | 1212fe206a1c188c3fe0ea8d3cdb8b573392045a | |
parent | a36635aba78d46d0e80dd296c3b0aff56ca94d5e [diff] [blame] |
New testcase for size tracking brokenness git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5644 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Analysis/BasicAA/featuretest.ll b/test/Analysis/BasicAA/featuretest.ll index cd57ef1..385144d 100644 --- a/test/Analysis/BasicAA/featuretest.ll +++ b/test/Analysis/BasicAA/featuretest.ll
@@ -62,3 +62,11 @@ %r = sub int %REMOVEu, %REMOVEv ret int %r } + +int %foo(int * %A) { + %X = load int* %A + %B = cast int* %A to sbyte* + %C = getelementptr sbyte* %B, long 4 + %Y = load sbyte* %C + ret int 8 +}