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

Andrzej WarzyƄski via flang-commits flang-commits at lists.llvm.org
Fri Dec 22 10:03:48 PST 2023


================

----------------
banach-space wrote:

Thanks for the explanation!

> Therefore it is mandatory to add omitting frame pointer

No. You can also update the expected output. So there are 2 options. And what would be preferred - this test is checking pass pipelines and including `-fomit-frame-pointer` suggests that that flag will impact those pipelines. That's not the case though.

You can do this:
```
! ALL-LABEL: Fortran::lower::VerifierPass
! ALL-NEXT: 'func.func' Pipeline
! ALL: InlineElementals
! ALL-NEXT: LowerHLFIROrderedAssignments
```

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


More information about the flang-commits mailing list