update testcases for x86 fastcc changes.
[oota-llvm.git] / test / CodeGen / X86 / fast-cc-pass-in-regs.ll
1 ; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=intel -enable-x86-fastcc  | grep 'mov %EDX, 1'
2 ; check that fastcc is passing stuff in regs.
3
4 ; Argument reg passing is disabled due to regalloc issues.  FIXME!
5 ; XFAIL: *
6
7 declare fastcc long %callee(long)
8
9 long %caller() {
10         %X = call fastcc long %callee(long 4294967299)  ;; (1ULL << 32) + 3
11         ret long %X
12 }
13
14 fastcc long %caller2(long %X) {
15         ret long %X
16 }