1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

Remove now-redundant llvm-as invocations.

llvm-svn: 90626
This commit is contained in:
Dan Gohman 2009-12-05 00:02:37 +00:00
parent 755852d0c3
commit e23727694c
20 changed files with 21 additions and 21 deletions

View File

@ -1,6 +1,6 @@
// This is a regression test on debug info to make sure that we can get a
// meaningful stack trace from a C++ program.
// RUN: %llvmgcc -S -O0 -g %s -o - | llvm-as | \
// RUN: %llvmgcc -S -O0 -g %s -o - | \
// RUN: llc --disable-fp-elim -o %t.s -O0 -relocation-model=pic
// RUN: %compile_c %t.s -o %t.o
// RUN: %link %t.o -o %t.exe

View File

@ -1,6 +1,6 @@
// This is a regression test on debug info to make sure we don't hit a compile
// unit size issue with gdb.
// RUN: %llvmgcc -S -O0 -g %s -o - | llvm-as | \
// RUN: %llvmgcc -S -O0 -g %s -o - | \
// RUN: llc --disable-fp-elim -o NoCompileUnit.s
// RUN: %compile_c NoCompileUnit.s -o NoCompileUnit.o
// RUN: %link NoCompileUnit.o -o NoCompileUnit.exe

View File

@ -1,6 +1,6 @@
// This is a regression test on debug info to make sure that we can access
// qualified global names.
// RUN: %llvmgcc -S -O0 -g %s -o - | llvm-as | \
// RUN: %llvmgcc -S -O0 -g %s -o - | \
// RUN: llc --disable-fp-elim -o %t.s -O0
// RUN: %compile_c %t.s -o %t.o
// RUN: %link %t.o -o %t.exe

View File

@ -1,6 +1,6 @@
// This is a regression test on debug info to make sure that we can
// print line numbers in asm.
// RUN: %llvmgcc -S -O0 -g %s -o - | llvm-as | \
// RUN: %llvmgcc -S -O0 -g %s -o - | \
// RUN: llc --disable-fp-elim -O0 -relocation-model=pic | grep {SrcLine 25}
#include <stdlib.h>

View File

@ -1,4 +1,4 @@
// RUN: %llvmgcc -std=c99 %s -S -o - | llvm-as | \
// RUN: %llvmgcc -std=c99 %s -S -o - | \
// RUN: opt -std-compile-opts -disable-output
// PR580

View File

@ -1,4 +1,4 @@
// RUN: %llvmgcc %s -S -o - | llvm-as | opt -std-compile-opts | llc | \
// RUN: %llvmgcc %s -S -o - | opt -std-compile-opts | llc | \
// RUN: not grep _foo2
void foo() __asm__("foo2");

View File

@ -1,5 +1,5 @@
// PR691
// RUN: %llvmgcc %s -S -o - | llvm-as | opt -std-compile-opts | \
// RUN: %llvmgcc %s -S -o - | opt -std-compile-opts | \
// RUN: llvm-dis | grep llvm.stacksave
void test(int N) {

View File

@ -1,4 +1,4 @@
// RUN: %llvmgcc %s -S -o - | llvm-as | opt -std-compile-opts | \
// RUN: %llvmgcc %s -S -o - | opt -std-compile-opts | \
// RUN: llvm-dis | grep {foo\[12345\]} | count 5
__asm__ ("foo1");

View File

@ -1,4 +1,4 @@
// RUN: %llvmgcc %s -S -o - | llvm-as | opt -std-compile-opts | \
// RUN: %llvmgcc %s -S -o - | opt -std-compile-opts | \
// RUN: llvm-dis | grep {@nate.*internal global i32 0}
struct X { int *XX; int Y;};

View File

@ -1,6 +1,6 @@
// Verify that the %c modifier works and strips off any prefixes from
// immediates.
// RUN: %llvmgcc -S %s -o - | llvm-as | llc | grep {pickANumber: 789514}
// RUN: %llvmgcc -S %s -o - | llc | grep {pickANumber: 789514}
void foo() {
__asm__ volatile("/* " "pickANumber" ": %c0 */"::"i"(0xC0C0A));

View File

@ -1,4 +1,4 @@
// RUN: %llvmgcc %s -S -emit-llvm -o - | llvm-as | llc
// RUN: %llvmgcc %s -S -emit-llvm -o - | llc
struct V { short X, Y; };
int bar() {

View File

@ -1,4 +1,4 @@
// RUN: %llvmgcc %s -S -emit-llvm -o - | llvm-as | llc
// RUN: %llvmgcc %s -S -emit-llvm -o - | llc
union U { int x; float p; };
void foo() {

View File

@ -1,5 +1,5 @@
// RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | grep {align 1} | count 2
// RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | llvm-as | llc
// RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | llc
struct p {
char a;

View File

@ -1,5 +1,5 @@
// RUN: %llvmgcc -S -g -O %s -o - | llvm-as | llc
// RUN: %llvmgcc -S -g %s -o - | llvm-as | llc
// RUN: %llvmgcc -S -g -O %s -o - | llc
// RUN: %llvmgcc -S -g %s -o - | llc
extern void foo (void);

View File

@ -1,5 +1,5 @@
// Check bitfields.
// RUN: %llvmgcc -S -O0 -g %s -o - | llvm-as | \
// RUN: %llvmgcc -S -O0 -g %s -o - | \
// RUN: llc --disable-fp-elim -o 2009-02-17-BitField-dbg.s
// RUN: %compile_c 2009-02-17-BitField-dbg.s -o 2009-02-17-BitField-dbg.o
// RUN: echo {ptype mystruct} > %t2

View File

@ -1,7 +1,7 @@
// This file can be used to see what a native C compiler is generating for a
// variety of interesting operations.
//
// RUN: %llvmgcc -S %s -o - | llvm-as | llc
// RUN: %llvmgcc -S %s -o - | llc
unsigned int udiv(unsigned int X, unsigned int Y) {
return X/Y;

View File

@ -1,5 +1,5 @@
// RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | grep extern_weak
// RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | llvm-as | llc
// RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | llc
#if !defined(__linux__) && !defined(__FreeBSD__) && \
!defined(__OpenBSD__) && !defined(__CYGWIN__) && !defined(__DragonFly__)

View File

@ -1,4 +1,4 @@
// RUN: %llvmgcc %s -S -emit-llvm -o - | llvm-as | llc
// RUN: %llvmgcc %s -S -emit-llvm -o - | llc
void bork() {
char Qux[33] = {0};

View File

@ -1,6 +1,6 @@
// This is a regression test on debug info to make sure that we can set a
// breakpoint on a objective message.
// RUN: %llvmgcc -S -O0 -g %s -o - | llvm-as | llc -o %t.s -O0
// RUN: %llvmgcc -S -O0 -g %s -o - | llc -o %t.s -O0
// RUN: %compile_c %t.s -o %t.o
// RUN: %link %t.o -o %t.exe -framework Foundation
// RUN: echo {break randomFunc\n} > %t.in

View File

@ -1,4 +1,4 @@
// RUN: %llvmgcc -S -O0 -g %s -o - | llvm-as | \
// RUN: %llvmgcc -S -O0 -g %s -o - | \
// RUN: llc --disable-fp-elim -o %t.s -O0
// RUN: grep id %t.s | grep DW_AT_name
@interface A