mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
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:
parent
8d0dbdbe12
commit
1bb52e00ac
@ -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
Block a user