Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51357 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Gabor Greif
2008-05-20 22:07:21 +00:00
parent eb0fdc150a
commit 5edf210bdf
93 changed files with 94 additions and 94 deletions

View File

@@ -2,7 +2,7 @@
; one...
; RUN: echo {define internal i32 @foo() \{ ret i32 7 \} } | llvm-as > %t.1.bc
; RUN: llvm-as < %s -o %t.2.bc -f
; RUN: llvm-as %s -o %t.2.bc -f
; RUN: llvm-link %t.1.bc %t.2.bc | llvm-dis | grep @foo() | grep -v internal
define i32 @foo() { ret i32 0 }

View File

@@ -1,6 +1,6 @@
; RUN: echo {@X = linkonce global i32 5 \
; RUN: define linkonce i32 @foo() \{ ret i32 7 \} } | llvm-as > %t.1.bc
; RUN: llvm-as < %s -o %t.2.bc -f
; RUN: llvm-as %s -o %t.2.bc -f
; RUN: llvm-link %t.1.bc %t.2.bc
@X = external global i32

View File

@@ -3,7 +3,7 @@
; RUN: echo { define linkonce void @foo() \{ ret void \} } | \
; RUN: llvm-as -o %t.2.bc -f
; RUN: llvm-as < %s -o %t.1.bc -f
; RUN: llvm-as %s -o %t.1.bc -f
; RUN: llvm-link %t.1.bc %t.2.bc | llvm-dis | grep foo | grep linkonce
declare void @foo()

View File

@@ -2,7 +2,7 @@
; the same type to be created!
; RUN: echo {%T = type i32} | llvm-as > %t.2.bc
; RUN: llvm-as < %s -f > %t.1.bc
; RUN: llvm-as %s -f -o %t.1.bc
; RUN: llvm-link %t.1.bc %t.2.bc
%T = type opaque

View File

@@ -1,4 +1,4 @@
; RUN: llvm-as < %s -f -o %t1.bc
; RUN: llvm-as %s -f -o %t1.bc
; RUN: llvm-as < %p/2004-05-07-TypeResolution2.ll -o %t2.bc -f
; RUN: llvm-link -f -o %t3.bc %t1.bc %t2.bc

View File

@@ -1,4 +1,4 @@
; RUN: llvm-as < %s -f -o %t1.bc
; RUN: llvm-as %s -f -o %t1.bc
; RUN: llvm-link -f -o %t2.bc %t1.bc
target datalayout = "E-p:32:32"