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

Radu Salavat via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 22 09:53:26 PST 2023


================
@@ -51,9 +51,9 @@
 ! Content to check from the MLIR outputs
 !--------------------------
 ! MLIR-FIR-NOT: llvm.func
-! MLIR-FIR: func.func @{{.*}}main() {
+! MLIR-FIR: func.func @{{.*}}main(){{.*}}{
----------------
Radu2k wrote:

Since this is target dependent, frame pointer will be added or not. It is either adding `{{.*}}` or adding `-fomit-frame-pointer`.

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


More information about the cfe-commits mailing list