Files
clang-p2996/llvm/test/CodeGen/X86/fentry.mir
2025-03-17 10:35:53 +05:30

22 lines
354 B
YAML

# 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" }
...
---
name: with_fentry
body: |
bb.0:
; CHECK-LABEL: name: with_fentry
; CHECK: FENTRY_CALL
; CHECK-NEXT: RET 0
RET 0
...