[mlir][py] Enable loading only specified dialects during creation. (#121421)
[llvm-project.git] / mlir / test / Target / LLVMIR / frame-pointer.mlir
blob5224e97a40805518bd0e4ef94eb4aab86081feec
1 // RUN: mlir-translate -mlir-to-llvmir %s | FileCheck %s
3 // CHECK-LABEL: define void @frame_pointer_func() 
4 // CHECK-SAME: #[[ATTRS:[0-9]+]]
5 llvm.func @frame_pointer_func() attributes {frame_pointer = #llvm.framePointerKind<"non-leaf">}  {
6   llvm.return
8 // CHECK: attributes #[[ATTRS]] = { "frame-pointer"="non-leaf" }