[Mlir-commits] [mlir] [MLIR][LLVMIR] Translation: honor frame-pointer fn attribute (PR #130335)

Bruno Cardoso Lopes llvmlistbot at llvm.org
Fri Mar 7 18:10:09 PST 2025


================
@@ -1606,6 +1606,9 @@ static void convertFunctionAttributes(LLVMFuncOp func,
     llvmFunc->addFnAttr(llvm::Attribute::NoUnwind);
   if (func.getWillReturnAttr())
     llvmFunc->addFnAttr(llvm::Attribute::WillReturn);
+  if (FramePointerKindAttr fpAttr = func.getFramePointerAttr())
----------------
bcardosolopes wrote:

> Did you see it on declarations in real inputs?

I do! Will update

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


More information about the Mlir-commits mailing list