[Mlir-commits] [mlir] [MLIR] Add support for frame pointers in MLIR (PR #72145)
Christian Ulmann
llvmlistbot at llvm.org
Tue Dec 5 00:43:06 PST 2023
================
@@ -0,0 +1,9 @@
+; RUN: mlir-translate -import-llvm -split-input-file %s | FileCheck %s
+
+; CHECK-LABEL: llvm.func @frame_pointer_func
+; CHECK-SAME: attributes {frame_pointer = #llvm.framePointerKind<"non-leaf">}
+
+define void @frame_pointer_func() "frame-pointer"="non-leaf" {
+
----------------
Dinistro wrote:
```suggestion
```
https://github.com/llvm/llvm-project/pull/72145
More information about the Mlir-commits
mailing list