forked from OSchip/llvm-project
parent
c46bf3577d
commit
debe91c78a
|
@ -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…
Reference in New Issue