[Mlir-commits] [mlir] [MLIR] Add support for frame pointers in MLIR (PR #72145)

Tobias Gysi llvmlistbot at llvm.org
Sun Dec 3 23:25:15 PST 2023


================
@@ -0,0 +1,8 @@
+; RUN: mlir-translate -import-llvm -split-input-file %s | FileCheck %s
+
+define void @frame_pointer_func() "frame-pointer"="non-leaf" {
+  ; CHECK: llvm.func @frame_pointer_func()
+  ; CHECK-SAME: attributes {frame_pointer = #llvm.framePointerKind<"non-leaf">}
----------------
gysit wrote:

nit: same argument

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


More information about the Mlir-commits mailing list