[flang-commits] [flang] [llvm] [clang] [clang-tools-extra] [flang] Pass to add frame pointer attribute (PR #74598)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Thu Dec 21 03:34:32 PST 2023


================
@@ -349,4 +349,24 @@ def VScaleAttr : Pass<"vscale-attr", "mlir::func::FuncOp"> {
   let constructor = "::fir::createVScaleAttrPass()";
 }
 
+def FunctionAttr : Pass<"function-attr", "mlir::func::FuncOp"> {
+  let summary = "This is a generic pass that adds function attributes expected at LLVM IR level";
----------------
kiranchandramohan wrote:

```suggestion
  let summary = "Pass that adds function attributes expected at LLVM IR level";
```

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


More information about the flang-commits mailing list