mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 05:24:01 +00:00
Remove now-redundant llvm-as invocations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90626 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
// This is a regression test on debug info to make sure that we can get a
|
// This is a regression test on debug info to make sure that we can get a
|
||||||
// meaningful stack trace from a C++ program.
|
// 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: llc --disable-fp-elim -o %t.s -O0 -relocation-model=pic
|
||||||
// RUN: %compile_c %t.s -o %t.o
|
// RUN: %compile_c %t.s -o %t.o
|
||||||
// RUN: %link %t.o -o %t.exe
|
// RUN: %link %t.o -o %t.exe
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This is a regression test on debug info to make sure we don't hit a compile
|
// This is a regression test on debug info to make sure we don't hit a compile
|
||||||
// unit size issue with gdb.
|
// 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: llc --disable-fp-elim -o NoCompileUnit.s
|
||||||
// RUN: %compile_c NoCompileUnit.s -o NoCompileUnit.o
|
// RUN: %compile_c NoCompileUnit.s -o NoCompileUnit.o
|
||||||
// RUN: %link NoCompileUnit.o -o NoCompileUnit.exe
|
// RUN: %link NoCompileUnit.o -o NoCompileUnit.exe
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This is a regression test on debug info to make sure that we can access
|
// This is a regression test on debug info to make sure that we can access
|
||||||
// qualified global names.
|
// 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: llc --disable-fp-elim -o %t.s -O0
|
||||||
// RUN: %compile_c %t.s -o %t.o
|
// RUN: %compile_c %t.s -o %t.o
|
||||||
// RUN: %link %t.o -o %t.exe
|
// RUN: %link %t.o -o %t.exe
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This is a regression test on debug info to make sure that we can
|
// This is a regression test on debug info to make sure that we can
|
||||||
// print line numbers in asm.
|
// 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}
|
// RUN: llc --disable-fp-elim -O0 -relocation-model=pic | grep {SrcLine 25}
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -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
|
// RUN: opt -std-compile-opts -disable-output
|
||||||
// PR580
|
// PR580
|
||||||
|
|
||||||
|
@ -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
|
// RUN: not grep _foo2
|
||||||
|
|
||||||
void foo() __asm__("foo2");
|
void foo() __asm__("foo2");
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// PR691
|
// 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
|
// RUN: llvm-dis | grep llvm.stacksave
|
||||||
|
|
||||||
void test(int N) {
|
void test(int N) {
|
||||||
|
@ -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
|
// RUN: llvm-dis | grep {foo\[12345\]} | count 5
|
||||||
|
|
||||||
__asm__ ("foo1");
|
__asm__ ("foo1");
|
||||||
|
@ -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}
|
// RUN: llvm-dis | grep {@nate.*internal global i32 0}
|
||||||
|
|
||||||
struct X { int *XX; int Y;};
|
struct X { int *XX; int Y;};
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// Verify that the %c modifier works and strips off any prefixes from
|
// Verify that the %c modifier works and strips off any prefixes from
|
||||||
// immediates.
|
// immediates.
|
||||||
// RUN: %llvmgcc -S %s -o - | llvm-as | llc | grep {pickANumber: 789514}
|
// RUN: %llvmgcc -S %s -o - | llc | grep {pickANumber: 789514}
|
||||||
|
|
||||||
void foo() {
|
void foo() {
|
||||||
__asm__ volatile("/* " "pickANumber" ": %c0 */"::"i"(0xC0C0A));
|
__asm__ volatile("/* " "pickANumber" ": %c0 */"::"i"(0xC0C0A));
|
||||||
|
@ -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; };
|
struct V { short X, Y; };
|
||||||
int bar() {
|
int bar() {
|
||||||
|
@ -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; };
|
union U { int x; float p; };
|
||||||
void foo() {
|
void foo() {
|
||||||
|
@ -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 | 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 {
|
struct p {
|
||||||
char a;
|
char a;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// RUN: %llvmgcc -S -g -O %s -o - | llvm-as | llc
|
// RUN: %llvmgcc -S -g -O %s -o - | llc
|
||||||
// RUN: %llvmgcc -S -g %s -o - | llvm-as | llc
|
// RUN: %llvmgcc -S -g %s -o - | llc
|
||||||
|
|
||||||
extern void foo (void);
|
extern void foo (void);
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// Check bitfields.
|
// 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: 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: %compile_c 2009-02-17-BitField-dbg.s -o 2009-02-17-BitField-dbg.o
|
||||||
// RUN: echo {ptype mystruct} > %t2
|
// RUN: echo {ptype mystruct} > %t2
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// This file can be used to see what a native C compiler is generating for a
|
// This file can be used to see what a native C compiler is generating for a
|
||||||
// variety of interesting operations.
|
// 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) {
|
unsigned int udiv(unsigned int X, unsigned int Y) {
|
||||||
return X/Y;
|
return X/Y;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | grep extern_weak
|
// 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__) && \
|
#if !defined(__linux__) && !defined(__FreeBSD__) && \
|
||||||
!defined(__OpenBSD__) && !defined(__CYGWIN__) && !defined(__DragonFly__)
|
!defined(__OpenBSD__) && !defined(__CYGWIN__) && !defined(__DragonFly__)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// RUN: %llvmgcc %s -S -emit-llvm -o - | llvm-as | llc
|
// RUN: %llvmgcc %s -S -emit-llvm -o - | llc
|
||||||
|
|
||||||
void bork() {
|
void bork() {
|
||||||
char Qux[33] = {0};
|
char Qux[33] = {0};
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// This is a regression test on debug info to make sure that we can set a
|
// This is a regression test on debug info to make sure that we can set a
|
||||||
// breakpoint on a objective message.
|
// 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: %compile_c %t.s -o %t.o
|
||||||
// RUN: %link %t.o -o %t.exe -framework Foundation
|
// RUN: %link %t.o -o %t.exe -framework Foundation
|
||||||
// RUN: echo {break randomFunc\n} > %t.in
|
// RUN: echo {break randomFunc\n} > %t.in
|
||||||
|
@ -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: llc --disable-fp-elim -o %t.s -O0
|
||||||
// RUN: grep id %t.s | grep DW_AT_name
|
// RUN: grep id %t.s | grep DW_AT_name
|
||||||
@interface A
|
@interface A
|
||||||
|
Reference in New Issue
Block a user