1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

Use -disable-output and to suppress output and don't use a temporary file unless we need one.

llvm-svn: 188843
This commit is contained in:
Bill Wendling 2013-08-20 23:00:25 +00:00
parent 47043cf547
commit f0d4bdaaa3
5 changed files with 5 additions and 7 deletions

View File

@ -1,4 +1,4 @@
; RUN: opt < %s -constprop | llvm-dis
; RUN: opt < %s -constprop | llvm-dis -disable-output
; PR3465
define double @test() {

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llvm-dis -o /dev/null
; RUN: llvm-as < %s | llvm-dis -disable-output
%0 = type { %object.ModuleInfo.__vtbl*, i8*, %"byte[]", %1, %"ClassInfo[]", i32, void ()*, void ()*, void ()*, i8*, void ()* } ; type %0
%1 = type { i64, %object.ModuleInfo* } ; type %1
%2 = type { i32, void ()* } ; type %2

View File

@ -1,6 +1,5 @@
; RUN: llvm-as < %s | llvm-dis -o /dev/null
; RUN: llvm-as < %s | llvm-dis -disable-output
!llvm.foo = !{!0}
!0 = metadata !{i32 42}
@my.str = internal constant [4 x i8] c"foo\00"

View File

@ -1,5 +1,4 @@
; RUN: not llvm-dis < %s.bc > /dev/null 2> %t
; RUN: FileCheck %s < %t
; RUN: not llvm-dis < %s.bc 2>&1 | FileCheck %s
; PR8494
; CHECK: Invalid MODULE_CODE_FUNCTION record

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llvm-dis
; RUN: llvm-as < %s | llvm-dis -disable-output
; <rdar://problem/8622574>
; tests the bitcodereader can handle the case where the reader will initially