Eliminate the use of gccas in the test suite.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34088 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2007-02-09 15:15:21 +00:00
parent 8d0dbdbe12
commit 1bb52e00ac
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;};