summaryrefslogtreecommitdiffstats
path: root/llvm/test/Regression/Analysis/DSGraph/incompletenode.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Regression/Analysis/DSGraph/incompletenode.ll')
-rw-r--r--llvm/test/Regression/Analysis/DSGraph/incompletenode.ll23
1 files changed, 0 insertions, 23 deletions
diff --git a/llvm/test/Regression/Analysis/DSGraph/incompletenode.ll b/llvm/test/Regression/Analysis/DSGraph/incompletenode.ll
deleted file mode 100644
index c94faf08946..00000000000
--- a/llvm/test/Regression/Analysis/DSGraph/incompletenode.ll
+++ /dev/null
@@ -1,23 +0,0 @@
-; This test was failing because the globals X and Y are marked incomplete
-; in the TD graph for %test
-; XFAIL: *
-; RUN: llvm-upgrade < %s | llvm-as | opt -no-aa -ds-aa -load-vn -gcse -instcombine | llvm-dis | not grep seteq
-
-%X = internal global int 20
-%Y = internal global int* null
-
-implementation
-
-internal bool %test(int** %P) {
- %A = load int** %P ;; We know P == Y!
- %B = load int** %Y ;; B = A
- %c = seteq int* %A, %B ;; Always true
- ret bool %c
-}
-
-int %main() {
- store int* %X, int** %Y
- call bool %test(int** %Y)
- ret int 0
-}
-
OpenPOWER on IntegriCloud