1 ; RUN: llc < %s | FileCheck %s
2 target datalayout = "e-m:x-p:32:32-i64:64-f80:32-n8:16:32-a:0:32-S32"
3 target triple = "i386-pc-windows-msvc"
5 define x86_fastcallcc i32 @test1(i32 inreg %V, ptr byval([65533 x i8]) %p_arg) {
8 ; CHECK-LABEL: @test1@65540:
9 ; CHECK: movl %ecx, %eax
10 ; CHECK-NEXT: popl %ecx
11 ; CHECK-NEXT: addl $65536, %esp
12 ; CHECK-NEXT: pushl %ecx
15 define x86_stdcallcc void @test2(ptr byval([65533 x i8]) %p_arg) {
18 ; CHECK-LABEL: _test2@65536:
20 ; CHECK-NEXT: addl $65536, %esp
21 ; CHECK-NEXT: pushl %ecx