forked from OSchip/llvm-project
Eliminate the use of gccas in the test suite.
llvm-svn: 34088
This commit is contained in:
parent
2193b85ab0
commit
a83a1dc3dd
|
@ -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");
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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;};
|
||||
|
||||
|
|
Loading…
Reference in New Issue