[llvm-commits] CVS: llvm/test/Regression/Analysis/Andersens/modreftest.ll
Chris Lattner
lattner at cs.uiuc.edu
Mon Apr 4 15:22:47 PDT 2005
Changes in directory llvm/test/Regression/Analysis/Andersens:
modreftest.ll added (r1.1)
---
Log message:
new testcase
---
Diffs of the changes: (+13 -0)
modreftest.ll | 13 +++++++++++++
1 files changed, 13 insertions(+)
Index: llvm/test/Regression/Analysis/Andersens/modreftest.ll
diff -c /dev/null llvm/test/Regression/Analysis/Andersens/modreftest.ll:1.1
*** /dev/null Mon Apr 4 17:22:41 2005
--- llvm/test/Regression/Analysis/Andersens/modreftest.ll Mon Apr 4 17:22:30 2005
***************
*** 0 ****
--- 1,13 ----
+ ; RUN: llvm-as < %s | opt -anders-aa -load-vn -gcse -instcombine | llvm-dis | grep 'ret bool true'
+
+ %G = internal global int* null
+ declare int *%ext()
+ bool %bar() {
+ %V1 = load int** %G
+ %X2 = call int *%ext()
+ %V2 = load int** %G
+ store int* %X2, int** %G
+
+ %C = seteq int* %V1, %V2
+ ret bool %C
+ }
More information about the llvm-commits
mailing list