Eliminate the use of gccas in the test suite.

llvm-svn: 34088
This commit is contained in:
Reid Spencer 2007-02-09 15:15:21 +00:00
parent 2193b85ab0
commit a83a1dc3dd
5 changed files with 12 additions and 8 deletions

View File

@ -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");

View File

@ -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>

View File

@ -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;

View File

@ -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");

View File

@ -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;};