[llvm] [LTT] mark the CFI jumptable naked on Windows (PR #170371)

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 2 14:13:47 PST 2025


================
@@ -115,7 +115,7 @@ define i1 @foo(ptr %p) {
 ; NATIVE-SAME: "s"(ptr @g.cfi)
 
 ; X86-LINUX: attributes #[[ATTR]] = { naked nocf_check noinline }
-; X86-WIN32: attributes #[[ATTR]] = { nocf_check noinline }
+; X86-WIN32: attributes #[[ATTR]] = { naked nocf_check noinline }
----------------
pcc wrote:

`; X86: ` and get rid of the `X86-LINUX` and `X86-WIN32` patterns.

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


More information about the llvm-commits mailing list