opt no longer reads .ll files. Run llvm-as explicitly.
authorChris Lattner <sabre@nondot.org>
Sun, 27 Aug 2006 22:41:58 +0000 (22:41 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 27 Aug 2006 22:41:58 +0000 (22:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29924 91177308-0d34-0410-b5e6-96231b3b80d8

13 files changed:
test/Transforms/DSAnalysis/arraymerge.ll
test/Transforms/DSAnalysis/arraytest.ll
test/Transforms/DSAnalysis/badcases.ll
test/Transforms/DSAnalysis/basictest.ll
test/Transforms/DSAnalysis/fieldmerge.ll
test/Transforms/DSAnalysis/goodcases.ll
test/Transforms/DSAnalysis/indcalltest.ll
test/Transforms/DSAnalysis/misctests.ll
test/Transforms/DSAnalysis/physicalsubtype.ll
test/Transforms/DSAnalysis/recursion.ll
test/Transforms/DSAnalysis/simplest-test.ll
test/Transforms/DSAnalysis/simpletest.ll
test/Transforms/DSAnalysis/structpadding.ll

index 30f458308e7b15236d3c83c3522b6f0a118eda67..da379ef9ebe77102ba4594ac40d1e36dc4c8aaa2 100644 (file)
@@ -2,7 +2,7 @@
 ; folded completely away if possible.  This is a very common case, so it should
 ; be efficient.
 ;
-; RUN: opt -analyze %s -tddatastructure
+; RUN: llvm-as < %s | opt -analyze -tddatastructure
 ;
 implementation
 
index bb6c4c148e06c39712574ddf300e5d50408b15ab..0484341c48ca3bef76c3af7fffc4669f3ce066a0 100644 (file)
@@ -1,5 +1,5 @@
 ;
-; RUN: opt -analyze %s -tddatastructure
+; RUN: llvm-as < %s | opt -analyze -tddatastructure
 %crazy = type [2 x { [2 x sbyte], short } ]
 
 implementation
index a977f23bb57147eba636d2d97cc20a8b249000a8..efae6463c51379407aeefed46843edfb96200ad1 100644 (file)
@@ -1,6 +1,6 @@
 ; This file contains a list of situations where node folding should happen...
 ;
-; RUN: opt -analyze %s -tddatastructure
+; RUN: llvm-as < %s | opt -analyze -tddatastructure
 
 implementation
 
index a3583a1475cefd4945a2e07a554cc12aa91e74e2..8bcb2f8888db3908491a108e36021daf4c53d884 100644 (file)
@@ -1,6 +1,6 @@
 ; very simple test
 ;
-; RUN: opt -analyze %s -tddatastructure
+; RUN: llvm-as < %s | opt -analyze -tddatastructure
 
 implementation
 
index a754d06643612e764ad117e6fdbd890301041531..e59a2d1a17ca40dcfac840783db6ed9868eb2378 100644 (file)
@@ -1,5 +1,5 @@
 ;
-; RUN: opt -analyze %s -tddatastructure
+; RUN: llvm-as < %s | opt -analyze -tddatastructure
 
 %str = type { int*, int* }
 
index f6d9ff9fa285d265e12045d1609e087df5f7abee..26066056eefd336e71fbb2cc320926a339647744 100644 (file)
@@ -1,6 +1,6 @@
 ; This file contains a list of cases where node folding should NOT happen
 ;
-; RUN: opt -analyze %s -tddatastructure
+; RUN: llvm-as < %s | opt -analyze -tddatastructure
 ;
 
 implementation
index 1ec92d30d74f1f0d7d015b13cfdb5ba5369f9a6c..71925c0c418b98caad098c1a457bb004b5b6578d 100644 (file)
@@ -1,5 +1,5 @@
 ;
-; RUN: opt -analyze %s -tddatastructure
+; RUN: llvm-as < %s | opt -analyze -tddatastructure
 
 %G = global int 2              ; <int*> [#uses=1]
 %H = global int* null
index acdbabf8362e23d5edcb16b7f9a2cc214f49a552..32aeb2bd32ba06e2df4c426439aca3c1346ba033 100644 (file)
@@ -1,5 +1,5 @@
 ;
-; RUN: opt -analyze %s -tddatastructure
+; RUN: llvm-as < %s | opt -analyze -tddatastructure
 
 int* %test1(int *%A) {
        %R = getelementptr int* %A, long 1
index 26fa511f40db7cc0ae2934a888038897767f4bc2..d06a8d2a4e39d79874e799faad7e6201421c61c8 100644 (file)
@@ -1,6 +1,6 @@
 ; A test for "physical subtyping" used in some C programs...
 ;
-; RUN: opt -analyze %s -tddatastructure
+; RUN: llvm-as < %s | opt -analyze -tddatastructure
 ;
 %ST = type { int, int* }            ; "Subtype"
 %DT = type { int, int*, int }       ; "derived type"
index da075cd9c37a41bd6d6ee23f01d113e9f094827d..4e686a6f848e76de6ffb15a60960083f54b92f4e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -analyze %s -tddatastructure
+; RUN: llvm-as < %s | opt -analyze -tddatastructure
 
 implementation   ; Functions:
 
index b398c28546768a593bd2b17f6cd118eeac0e9ad0..47c18b9c935a3daf8e0db80a71d15d3894151175 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -analyze %s -tddatastructure
+; RUN: llvm-as < %s | opt -analyze -tddatastructure
 
 void %foo(int* %X) {
        store int 4, int* %X
index 80b94335d3d9b863d3a058e733f188684179ceeb..9e6a2c240b15087435d10acb85a90c72b67f771a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -analyze %s -tddatastructure
+; RUN: llvm-as < %s | opt -analyze -tddatastructure
 
 implementation
 
index 5b3c8b86a4db5e081aefe9b18a04ad761fb4cdfc..2d6c2e33b461e8da48e120b4f591086164f9f910 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -analyze %s -tddatastructure
+; RUN: llvm-as < %s | opt -analyze -tddatastructure
 
 %str = type { int, int* }