mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-26 07:34:06 +00:00
Eliminate enable-x86-fastcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34753 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3f09fc2ff8
commit
ba3f7c6e83
@ -1,5 +1,5 @@
|
||||
; XFAIL: *
|
||||
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -enable-x86-fastcc | grep 'jmp \*ecx'
|
||||
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | grep 'jmp \*ecx'
|
||||
declare int %putchar(int)
|
||||
|
||||
int %main(){
|
||||
|
@ -1,5 +1,4 @@
|
||||
; RUN: llvm-upgrade < %s | llvm-as | llc &&
|
||||
; RUN: llvm-upgrade < %s | llvm-as | llc -enable-x86-fastcc
|
||||
; RUN: llvm-upgrade < %s | llvm-as | llc
|
||||
; PR933
|
||||
|
||||
fastcc bool %test() {
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -x86-asm-syntax=intel -enable-x86-fastcc -mcpu=yonah | grep 'ret 28'
|
||||
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -x86-asm-syntax=intel -mcpu=yonah | grep 'ret 28'
|
||||
|
||||
; Check that a fastcc function pops its stack variables before returning.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -x86-asm-syntax=intel -enable-x86-fastcc | grep 'add ESP, 8'
|
||||
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -x86-asm-syntax=intel | grep 'add ESP, 8'
|
||||
|
||||
target triple = "i686-pc-linux-gnu"
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
; XFAIL: *
|
||||
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -x86-asm-syntax=intel -enable-x86-fastcc | not grep call
|
||||
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -x86-asm-syntax=intel | not grep call
|
||||
|
||||
fastcc int %bar(int %X, int(double, int) *%FP) {
|
||||
%Y = tail call fastcc int %FP(double 0.0, int %X)
|
||||
|
Loading…
x
Reference in New Issue
Block a user