Fix some tests.

llvm-svn: 52245
This commit is contained in:
Evan Cheng 2008-06-12 21:23:38 +00:00
parent 89553cc42e
commit 2d788ce3fb
5 changed files with 8 additions and 9 deletions

View File

@ -1,12 +1,12 @@
; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att | grep {(\$bar)} | count 1
; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att | grep {(\$qux)} | count 1
; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att | grep {(\$hen)} | count 1
; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux | grep {(\$bar)} | count 1
; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux | grep {(\$qux)} | count 1
; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux | grep {(\$hen)} | count 1
; PR1339
@"$bar" = global i32 zeroinitializer
@"$qux" = external global i32
define i32 @"$foo"() {
define i32 @"$foo"() nounwind {
%m = load i32* @"$bar"
%n = load i32* @"$qux"
%t = add i32 %m, %n

View File

@ -1,4 +1,4 @@
// RUN: %llvmgcc -xc %s -c -o - | llc
// RUN: %llvmgcc -xc %s -w -c -o - | llc
#include <stdarg.h>

View File

@ -1,4 +1,4 @@
// RUN: %llvmgcc %s -S -o -
// RUN: %llvmgcc %s -S -o /dev/null
// PR910
struct l_struct_2E_FILE { char x; };

View File

@ -1,7 +1,6 @@
; RUN: llvm-as < %s > %t.out1.bc
; RUN: echo { %S = type \[8 x i32\] external global %S } | llvm-as > %t.out2.bc
; RUN: llvm-link %t.out1.bc %t.out2.bc | llvm-dis | grep %S | grep {\\{}
; RUN: llvm-link %t.out1.bc %t.out2.bc | llvm-dis | grep %S | grep \\{
%S = type { i32 }

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis | \
; RUN: grep alloca | grep {\\{}
; RUN: grep alloca | grep \\{
declare i32 @.callback_1(i8*)