Update tests now that opt no longer reads .ll files
authorChris Lattner <sabre@nondot.org>
Sun, 27 Aug 2006 22:47:14 +0000 (22:47 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 27 Aug 2006 22:47:14 +0000 (22:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29927 91177308-0d34-0410-b5e6-96231b3b80d8

18 files changed:
test/Analysis/DSGraph/2003-06-29-IncompleteTDPass.ll
test/Analysis/DSGraph/2003-06-29-NodeCollapsing2.ll
test/Analysis/DSGraph/2003-06-30-TopDownResolve.ll
test/Analysis/DSGraph/2003-07-01-FieldCollapse.ll
test/Analysis/DSGraph/2003-07-16-ConstantExprCollapse.ll
test/Analysis/DSGraph/2003-11-02-NodeCollapsing.ll
test/Analysis/DSGraph/2004-02-13-memcpy.ll
test/Analysis/DSGraph/2005-03-22-IncompleteGlobal.ll
test/Analysis/DSGraph/2006-04-25-ZeroArrayStructUse.ll
test/Analysis/DSGraph/FunctionPointerTable-const.ll
test/Analysis/DSGraph/GlobalsGraphFuncPtr.ll
test/Analysis/DSGraph/HardBUCase.ll
test/Analysis/DSGraph/PhysicalSubtyping.ll
test/Analysis/DSGraph/SCCSimpleExample.ll
test/Analysis/DSGraph/constant_globals.ll
test/Analysis/DSGraph/strcpy.ll
test/Analysis/Dominators/2003-05-12-UnreachableCode.ll
test/Analysis/LoopInfo/2003-05-15-NestingProblem.ll

index 4b919c1a57bfbb0603add969c7bc41b4e9125229..713a876536dc81b1c24d56e06941658240b77ffc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -analyze %s -datastructure-gc -dsgc-dspass=td -dsgc-check-flags=Ptr:HR
+; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-dspass=td -dsgc-check-flags=Ptr:HR
 
 
 
index f357694d7a259472e7071abaf3afe277b446895c..9909c20b78248c7540addab0bffeb795e60a56fe 100644 (file)
@@ -1,7 +1,7 @@
 ; This is the same testcase as 2003-06-29-NodeCollapsing2.ll, but it uses the 
 ; graph checker.
 ;
-; RUN: opt -analyze %s -datastructure-gc -dsgc-abort-if-any-collapsed
+; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-abort-if-any-collapsed
 ;
 %T = type { int}
 
index f0cd849a4a1a11bb44b43b2cca468ae40e22a0d3..631eb9f078e6cf7383b9bb962d1a49de8ec352d3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -analyze %s -datastructure-gc -dsgc-dspass=td -dsgc-check-flags=X:GM
+; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-dspass=td -dsgc-check-flags=X:GM
 
 %G = internal global int 5
 
index 58ddc46d49d3ef16cfaf35c8714e6b4754065ebf..fe13567e5e062f8ca97962cb2fdda0337fb5264e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -analyze %s -datastructure-gc -dsgc-abort-if-any-collapsed
+; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-abort-if-any-collapsed
 
 %X = internal global { int, short, short } { int 1, short 2, short 3 }
 
index 38e57b888c6efc6e87a2430459dc26dab5bf4c03..cd8919df0fae865796c6f945daa340c60f725cb2 100644 (file)
@@ -1,6 +1,6 @@
 ; This should cause the global node to collapse!!
 ; XFAIL: *
-; RUN: opt -analyze %s -datastructure-gc --dsgc-check-flags=test:GAU
+; RUN: llvm-as < %s | opt -analyze -datastructure-gc --dsgc-check-flags=test:GAU
 
 %Tree = type { int, %Tree*, %Tree* }
 %T5 = external global %Tree
index 3a58e057a7fcec2ac88e4e9b4f96f52062058045..846a3cb1e8818a44dc20cbf148346429dccf361c 100644 (file)
@@ -1,7 +1,7 @@
 ; This is the same testcase as 2003-06-29-NodeCollapsing2.ll, but it uses the 
 ; graph checker.
 ;
-; RUN: opt -analyze %s -datastructure-gc -dsgc-abort-if-any-collapsed
+; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-abort-if-any-collapsed
 ;
 
 %S = type { double, int }
index 3b06bae73c66d8e16a643f0ce0d9338a1f5ac333..835b42cbe43f08ef4a50212869056389d657b19e 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt -analyze %s -datastructure-gc -dsgc-check-flags=Xn:SMR
-; RUN: opt -analyze %s -datastructure-gc -dsgc-check-flags=X:SMR
+; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-check-flags=Xn:SMR &&
+; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-check-flags=X:SMR
 
 declare void %llvm.memcpy.i32(sbyte*, sbyte*, uint, uint)
 declare void %llvm.memmove.i32(sbyte*, sbyte*, uint, uint)
index 1d3240217af7bed2916b0f80081e4ef000c7c3d5..182876c039b688fab54643f6788ec25b78ca0170 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt -analyze %s -datastructure-gc  -dsgc-check-flags=G:GIM -dsgc-dspass=bu &&\
-; RUN: opt -analyze %s -datastructure-gc  -dsgc-check-flags=G:GIM -dsgc-dspass=td
+; RUN: llvm-as < %s | opt -analyze -datastructure-gc  -dsgc-check-flags=G:GIM -dsgc-dspass=bu &&\
+; RUN: llvm-as < %s | opt -analyze -datastructure-gc  -dsgc-check-flags=G:GIM -dsgc-dspass=td
 
 %S = type { double, int }
 
index aa41920252fc13fbaa19c90c40638e93333e44f1..db072d906d93a8acf8b127481dece6677b4fa11c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -analyze %s -datastructure-gc -dsgc-check-flags=x:IA
+; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-check-flags=x:IA
 
 ; ModuleID = 'bug3.bc'
 target endian = little
index 4031a09fb2328eda2565b5b0fcd4543a5ef8681f..1b8e198f2881bf591086571080b3204b4682cf9e 100644 (file)
@@ -1,7 +1,7 @@
 ; FIXME: this should be SHM for bu, but change it for now since besides incompleteness
 ;        this is working
-; RUN: opt -analyze %s -datastructure-gc -dsgc-dspass=bu -dsgc-check-flags=Y:SHIM && \
-; RUN: opt -analyze %s -datastructure-gc -dsgc-dspass=td -dsgc-check-flags=P1:SHM,P2:SHM
+; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-dspass=bu -dsgc-check-flags=Y:SHIM && \
+; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-dspass=td -dsgc-check-flags=P1:SHM,P2:SHM
 
 %G = internal constant [2 x int*(int*)*] [ 
   int*(int*)* %callee1, int*(int*)* %callee2
index ea5c04e4c037b362f4f1b3071f25d658ca9061af..a3c13852e5b95b1cf2fd3e269fdabb6d53599d7d 100644 (file)
@@ -5,7 +5,7 @@
 ; -- globals in GG pointed to by latter should be marked I, but not other nodes
 ;
 ; FIXME: KnownPtr should be just S.
-; RUN: opt -analyze %s -datastructure-gc -dsgc-check-flags=KnownPtr:SI,UnknownPtr:SI -dsgc-dspass=bu
+; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-check-flags=KnownPtr:SI,UnknownPtr:SI -dsgc-dspass=bu
 
 %Z = internal global int 0
 %X = internal global int 0
index 318b4f28b9e5e026fe71e2137210d259790678e4..63ec3faca063b0f406d1890723f1416a381f3cc6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -analyze %s -budatastructure -dont-print-ds
+; RUN: llvm-as < %s | opt -analyze -budatastructure -dont-print-ds
 
 %MidFnTy = type void (\2*)
 
index 59575484a43a74eca13cb35cb9f4110104718d4f..cdc2cf0238e253a771f617969adfc09264d18bc3 100644 (file)
@@ -1,6 +1,6 @@
 ; Test to check for support for "physical subtyping"
 ;
-; RUN: opt -analyze %s -datastructure-gc -dsgc-abort-if-any-collapsed
+; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-abort-if-any-collapsed
 ;
 %S = type { int }
 %T = type { int, float, double }
index 825c5797455b214044ac590335f762ae02124ba4..c742afa25f6fbe9bc37ee1f503a7a8f2081cb0c0 100644 (file)
@@ -1,5 +1,5 @@
 
-; RUN: opt -analyze %s -datastructure-gc --dsgc-abort-if-merged=Y,BVal
+; RUN: llvm-as < %s | opt -analyze -datastructure-gc --dsgc-abort-if-merged=Y,BVal
 
 implementation
 
index 2473d1dd831864b746ed41397a16567d04ffd88c..eef65c669a1ed2684b6a40f82d20beb0be9e4e0d 100644 (file)
@@ -1,5 +1,5 @@
 ; FIXME: A should just be SM
-; RUN: opt -analyze %s -datastructure-gc -dsgc-dspass=bu -dsgc-check-flags=A:SIM
+; RUN: llvm-as < %s | opt -analyze -datastructure-gc -dsgc-dspass=bu -dsgc-check-flags=A:SIM
 ; Constant globals should not mark stuff incomplete.  This should allow the 
 ; bu pass to resolve the indirect call immediately in "test", allowing %A to
 ; be marked complete and the store to happen.
index ae936d32a7d77f89e5b9c2e42e0ea18da59efa5e..7697c7ffa727c5ee11333f46f0d2850249a6fa5f 100644 (file)
@@ -3,7 +3,7 @@
 ; has no defined way to check for this, so DSA can know that strcpy doesn't
 ; require merging the input arguments.
 
-; RUN: opt -analyze %s -datastructure-gc --dsgc-abort-if-merged=A,B --dsgc-check-flags=A:ASM,B:ASR --dsgc-dspass=bu
+; RUN: llvm-as < %s | opt -analyze -datastructure-gc --dsgc-abort-if-merged=A,B --dsgc-check-flags=A:ASM,B:ASR --dsgc-dspass=bu
 
 implementation
 
index d781eb5374256ef530728c698061a81ce676a634..1df4f785fdb2e4d3d312ea7a33a3e77ada914a7e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -analyze %s -domset -disable-verify
+; RUN: llvm-as < %s | opt -analyze -domset -disable-verify
 ;
 int %re_match_2() {
 ENTRY:
index 96099a8da9740cf7940a1893a4a71f2758f7b904..6c5bb689b49d23fc6504dd08538ad7ca927e601d 100644 (file)
@@ -1,7 +1,7 @@
 ; This testcase was incorrectly computing that the loopentry.7 loop was
 ; not a child of the loopentry.6 loop.
 ;
-; RUN: opt -analyze %s -loops | grep "^            Loop Containing:  %loopentry.7"
+; RUN: llvm-as < %s | opt -analyze -loops | grep "^            Loop Containing:  %loopentry.7"
 
 void %getAndMoveToFrontDecode() {              ; No predecessors!
        br label %endif.2