[llvm-branch-commits] [llvm] [CodeGen][NPM] Port FEntryInserter to NPM (PR #129857)

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Mar 11 09:15:16 PDT 2025


================
@@ -0,0 +1,19 @@
+# RUN: llc -mtriple=x86_64-- -passes=fentry-insert %s -o - | FileCheck %s
+
+--- |
+  target triple = "x86_64--"
+  define i32 @with_fentry() #1 {
+  entry:
+    ret i32 0
+  }
+
+  attributes #1 = { "fentry-call"="true" }
----------------
arsenm wrote:

```suggestion
  attributes #1 = { "fentry-call"="true" }
  ...
```

I'm not sure why the parses 

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


More information about the llvm-branch-commits mailing list