1 ; RUN: llc < %s -mtriple=i686-- -x86-asm-syntax=intel | FileCheck %s
2 ; check that fastcc is passing stuff in regs.
4 declare x86_fastcallcc i64 @callee(i64 inreg)
7 %X = call x86_fastcallcc i64 @callee( i64 4294967299 ) ; <i64> [#uses=1]
8 ; CHECK: mov{{.*}}edx, 1
12 define x86_fastcallcc i64 @caller2(i64 inreg %X) {
14 ; CHECK: mov{{.*}}eax, ecx
17 declare x86_thiscallcc i64 @callee2(i32)
19 define i64 @caller3() {
20 %X = call x86_thiscallcc i64 @callee2( i32 3 )
21 ; CHECK: mov{{.*}}ecx, 3
25 define x86_thiscallcc i32 @caller4(i32 %X) {
27 ; CHECK: mov{{.*}}eax, ecx