revert a hunk of r82018 that wasn't supposed to go in yet.
[llvm/avr.git] / test / CodeGen / X86 / fast-cc-pass-in-regs.ll
blobfe96c0c8be2a17e500bcfd959a649430ccc35fd3
1 ; RUN: llc < %s -march=x86 -x86-asm-syntax=intel | \
2 ; RUN:   grep {mov      EDX, 1}
3 ; check that fastcc is passing stuff in regs.
5 declare x86_fastcallcc i64 @callee(i64)
7 define i64 @caller() {
8         %X = call x86_fastcallcc  i64 @callee( i64 4294967299 )          ; <i64> [#uses=1]
9         ret i64 %X
12 define x86_fastcallcc i64 @caller2(i64 %X) {
13         ret i64 %X