1 ; RUN: llc %s -mtriple=x86_64-windows-msvc -o /dev/null 2>&1
5 declare token @llvm.call.preallocated.setup(i32)
6 declare ptr @llvm.call.preallocated.arg(token, i32)
8 %Foo = type { i32, i32 }
10 declare x86_thiscallcc void @f(i32, ptr preallocated(%Foo))
13 %t = call token @llvm.call.preallocated.setup(i32 1)
14 %a = call ptr @llvm.call.preallocated.arg(token %t, i32 0) preallocated(%Foo)
15 call void @f(i32 0, ptr preallocated(%Foo) %a) ["preallocated"(token %t)]