[llvm-commits] CVS: llvm/test/Regression/Transforms/BasicAA/2003-11-04-SimpleCases.ll
Chris Lattner
lattner at cs.uiuc.edu
Tue Nov 4 10:41:01 PST 2003
Changes in directory llvm/test/Regression/Transforms/BasicAA:
2003-11-04-SimpleCases.ll added (r1.1)
---
Log message:
While working on the pool allocator, I noticed that basicaa is failing a scary
number of simple cases. Someday when I get a chance to work on it again, this
testcase should be corrected.
---
Diffs of the changes: (+15 -0)
Index: llvm/test/Regression/Transforms/BasicAA/2003-11-04-SimpleCases.ll
diff -c /dev/null llvm/test/Regression/Transforms/BasicAA/2003-11-04-SimpleCases.ll:1.1
*** /dev/null Tue Nov 4 10:40:51 2003
--- llvm/test/Regression/Transforms/BasicAA/2003-11-04-SimpleCases.ll Tue Nov 4 10:40:40 2003
***************
*** 0 ****
--- 1,15 ----
+ ; This testcase consists of alias relations which should be completely
+ ; resolvable by basicaa.
+
+ ; RUN: llvm-as < %s | opt -aa-eval -print-may-aliases 2>&1 -disable-output | not grep May:
+
+ %T = type { uint, [10 x ubyte] }
+
+ void %test(%T* %P) {
+ %A = getelementptr %T* %P, long 0
+ %B = getelementptr %T* %P, long 0, ubyte 0
+ %C = getelementptr %T* %P, long 0, ubyte 1
+ %D = getelementptr %T* %P, long 0, ubyte 1, long 0
+ %E = getelementptr %T* %P, long 0, ubyte 1, long 5
+ ret void
+ }
More information about the llvm-commits
mailing list