Fix testcase
authorChris Lattner <sabre@nondot.org>
Sun, 29 Jun 2003 01:09:07 +0000 (01:09 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 29 Jun 2003 01:09:07 +0000 (01:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6976 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/DSGraph/incompletenode.ll

index 44934a2c1cb034e0f951aecc20a4879e12227677..c6f0ad79a20be04a5b8b3e3684d84c7c6ee22724 100644 (file)
@@ -1,14 +1,14 @@
-; This test is failing because the globals X and Y are marked incomplete
+; This test was failing because the globals X and Y are marked incomplete
 ; in the TD graph for %test
 
-; RUN: as < %s | opt -no-aa -ds-aa -load-vn -gcse | dis | not grep seteq
+; RUN: as < %s | opt -no-aa -ds-aa -load-vn -gcse -instcombine | dis | not grep seteq
 
 %X = internal global int 20
 %Y = internal global int* null
 
 implementation
 
-bool %test(int** %P) { 
+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