summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/CFrontend/2005-09-24-AsmUserPrefix.c7
-rw-r--r--test/CFrontend/2006-01-13-Includes.c3
-rw-r--r--test/CFrontend/2006-01-13-StackSave.c4
-rw-r--r--test/CFrontend/2006-01-23-FileScopeAsm.c3
-rw-r--r--test/CFrontend/2006-03-03-MissingInitializer.c3
5 files changed, 12 insertions, 8 deletions
diff --git a/test/CFrontend/2005-09-24-AsmUserPrefix.c b/test/CFrontend/2005-09-24-AsmUserPrefix.c
index 06600fa..9db7f69 100644
--- a/test/CFrontend/2005-09-24-AsmUserPrefix.c
+++ b/test/CFrontend/2005-09-24-AsmUserPrefix.c
@@ -1,6 +1,7 @@
-// RUN: %llvmgcc %s -S -o - | gccas &&
-// RUN: %llvmgcc %s -S -o - | gccas | llc &&
-// RUN: %llvmgcc %s -S -o - | gccas | llc | not grep _foo2
+// RUN: %llvmgcc %s -S -o - | llvm-as | opt -std-compile-opts &&
+// RUN: %llvmgcc %s -S -o - | llvm-as | opt -std-compile-opts | llc &&
+// RUN: %llvmgcc %s -S -o - | llvm-as | llc -std-compile-opts | llc | \
+// RUN: not grep _foo2
void foo() __asm__("foo2");
diff --git a/test/CFrontend/2006-01-13-Includes.c b/test/CFrontend/2006-01-13-Includes.c
index fcaf374..5847e9ee 100644
--- a/test/CFrontend/2006-01-13-Includes.c
+++ b/test/CFrontend/2006-01-13-Includes.c
@@ -1,4 +1,5 @@
-// RUN: %llvmgcc %s -g -S -o - | gccas | llvm-dis | grep "test/CFrontend"
+// RUN: %llvmgcc %s -g -S -o - | llvm-as | opt -std-compile-opts | \
+// RUN: llvm-dis | grep "test/CFrontend"
// PR676
#include <stdio.h>
diff --git a/test/CFrontend/2006-01-13-StackSave.c b/test/CFrontend/2006-01-13-StackSave.c
index 7522dd5..dfe00fb 100644
--- a/test/CFrontend/2006-01-13-StackSave.c
+++ b/test/CFrontend/2006-01-13-StackSave.c
@@ -1,6 +1,6 @@
-// RUN: %llvmgcc %s -S -o - | gccas | llvm-dis | grep llvm.stacksave
-
// PR691
+// RUN: %llvmgcc %s -S -o - | llvm-as | opt -std-compile-opts | \
+// RUN: llvm-dis | grep llvm.stacksave
void test(int N) {
int i;
diff --git a/test/CFrontend/2006-01-23-FileScopeAsm.c b/test/CFrontend/2006-01-23-FileScopeAsm.c
index 8fae8c7..14f85ac 100644
--- a/test/CFrontend/2006-01-23-FileScopeAsm.c
+++ b/test/CFrontend/2006-01-23-FileScopeAsm.c
@@ -1,4 +1,5 @@
-// RUN: %llvmgcc %s -S -o - | gccas | llvm-dis | grep foo[12345] | wc -l | grep 5
+// RUN: %llvmgcc %s -S -o - | llvm-as | opt -std-compile-opts | \
+// RUN: llvm-dis | grep foo[12345] | wc -l | grep 5
__asm__ ("foo1");
__asm__ ("foo2");
diff --git a/test/CFrontend/2006-03-03-MissingInitializer.c b/test/CFrontend/2006-03-03-MissingInitializer.c
index 5a2acb5..e791784 100644
--- a/test/CFrontend/2006-03-03-MissingInitializer.c
+++ b/test/CFrontend/2006-03-03-MissingInitializer.c
@@ -1,4 +1,5 @@
-// RUN: %llvmgcc %s -S -o - | gccas | llvm-dis | grep nate | grep 'global i32 0'
+// RUN: %llvmgcc %s -S -o - | llvm-as | opt -std-compile-opts | \
+// RUN: llvm-dis | grep '@nate.*internal global i32 0'
struct X { int *XX; int Y;};