diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-06-12 21:23:38 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-06-12 21:23:38 +0000 |
commit | 933b5065e5219538fdb70c661f90819a910433b9 (patch) | |
tree | efd7c1a9e9c74f76a8266b9aa22250a596b3be1a | |
parent | 502a4f5162498ec420e3cb22f667808d726dd7da (diff) | |
download | external_llvm-933b5065e5219538fdb70c661f90819a910433b9.zip external_llvm-933b5065e5219538fdb70c661f90819a910433b9.tar.gz external_llvm-933b5065e5219538fdb70c661f90819a910433b9.tar.bz2 |
Fix some tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52245 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/X86/dollar-name.ll | 8 | ||||
-rw-r--r-- | test/FrontendC/2004-02-13-IllegalVararg.c | 2 | ||||
-rw-r--r-- | test/FrontendC/2006-09-18-fwrite-cast-crash.c | 2 | ||||
-rw-r--r-- | test/Linker/2003-10-21-ConflictingTypesTolerance.ll | 3 | ||||
-rw-r--r-- | test/Transforms/ScalarRepl/2003-10-29-ArrayProblem.ll | 2 |
5 files changed, 8 insertions, 9 deletions
diff --git a/test/CodeGen/X86/dollar-name.ll b/test/CodeGen/X86/dollar-name.ll index 9d9235e..885700e 100644 --- a/test/CodeGen/X86/dollar-name.ll +++ b/test/CodeGen/X86/dollar-name.ll @@ -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 diff --git a/test/FrontendC/2004-02-13-IllegalVararg.c b/test/FrontendC/2004-02-13-IllegalVararg.c index 1f3eded..b6e5f2c 100644 --- a/test/FrontendC/2004-02-13-IllegalVararg.c +++ b/test/FrontendC/2004-02-13-IllegalVararg.c @@ -1,4 +1,4 @@ -// RUN: %llvmgcc -xc %s -c -o - | llc +// RUN: %llvmgcc -xc %s -w -c -o - | llc #include <stdarg.h> diff --git a/test/FrontendC/2006-09-18-fwrite-cast-crash.c b/test/FrontendC/2006-09-18-fwrite-cast-crash.c index 8ba2052..0e02907 100644 --- a/test/FrontendC/2006-09-18-fwrite-cast-crash.c +++ b/test/FrontendC/2006-09-18-fwrite-cast-crash.c @@ -1,4 +1,4 @@ -// RUN: %llvmgcc %s -S -o - +// RUN: %llvmgcc %s -S -o /dev/null // PR910 struct l_struct_2E_FILE { char x; }; diff --git a/test/Linker/2003-10-21-ConflictingTypesTolerance.ll b/test/Linker/2003-10-21-ConflictingTypesTolerance.ll index f61d886..4f98a20 100644 --- a/test/Linker/2003-10-21-ConflictingTypesTolerance.ll +++ b/test/Linker/2003-10-21-ConflictingTypesTolerance.ll @@ -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 } diff --git a/test/Transforms/ScalarRepl/2003-10-29-ArrayProblem.ll b/test/Transforms/ScalarRepl/2003-10-29-ArrayProblem.ll index e366a65..feadc3e 100644 --- a/test/Transforms/ScalarRepl/2003-10-29-ArrayProblem.ll +++ b/test/Transforms/ScalarRepl/2003-10-29-ArrayProblem.ll @@ -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*) |