[llvm] [CodeGen] Inline stack guard check on Windows (PR #136290)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 5 17:53:00 PDT 2025


================
@@ -107,9 +112,19 @@ define void @caller() sspreq {
 ; WINDOWS-LABEL: caller:
 ; WINDOWS: callq   callee
 ; WINDOWS: callq   callee
-; WINDOWS: cmpq    __security_cookie(%rip), %rcx
-; WINDOWS: jne
-; WINDOWS: callq   __security_check_cookie
+; WINDOWS: cmpq    %rax, %rcx
----------------
efriedma-quic wrote:

This test claims it's autogenerated... is this really what update_llc_test_checks.py generates?  It looks weird.  Please make sure all the tests with an "Assertions have been autogenerated" line are actually autogenerated.

https://github.com/llvm/llvm-project/pull/136290


More information about the llvm-commits mailing list