1 ; RUN: llc -mtriple=x86_64-windows-msvc %s -o - -verify-machineinstrs | FileCheck %s
3 declare void @h(ptr, i64, ptr)
5 define tailcc void @tailcall_frame(ptr %0, i64 %1) sspreq {
6 ; CHECK-LABEL: tailcall_frame:
7 ; CHECK: callq __security_check_cookie
8 ; CHECK: xorl %ecx, %ecx
11 tail call tailcc void @h(ptr null, i64 0, ptr null)
16 define void @tailcall_unrelated_frame() sspreq {
17 ; CHECK-LABEL: tailcall_unrelated_frame:
18 ; CHECK: subq [[STACK:\$.*]], %rsp
20 ; CHECK: callq __security_check_cookie
21 ; CHECK: addq [[STACK]], %rsp