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

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Mon Dec 11 03:05:11 PST 2023


================
@@ -6,7 +6,7 @@
 subroutine func
 end subroutine func
 
-! CHECK-NONEFP: attributes #0 = { "frame-pointer"="none" }
+! CHECK-NONEFP: attributes #0 = {{{.*}}}
----------------
tblah wrote:

Instead of `{{.*}}` could you check that there are no attributes here? This way we check that no frame pointer attributes are added for `None`. `{{.*}}` can match anything.

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


More information about the flang-commits mailing list