721b2d80118bb8da98f9429fd1b309e2c3688e8c
[oota-llvm.git] / test / CodeGen / X86 / fast-cc-pass-in-regs.ll
1 ; RUN:  llvm-as < %s | llc -march=x86 -x86-asm-syntax=intel | grep 'mov EDX, 1'
2 ; check that fastcc is passing stuff in regs.
3
4 declare x86_fastcallcc i64 @callee(i64)
5
6 define i64 @caller() {
7         %X = callx86_fastcallcc  i64 @callee( i64 4294967299 )          ; <i64> [#uses=1]
8         ret i64 %X
9 }
10
11 define x86_fastcallcc i64 @caller2(i64 %X) {
12         ret i64 %X
13 }
14