[flang-commits] [flang] [Flang] External subprograms should be allowed as proc_target in procedure pointers. (PR #183268)
via flang-commits
flang-commits at lists.llvm.org
Tue Apr 7 22:15:57 PDT 2026
================
@@ -164,3 +158,10 @@ end subroutine
! CHECK-LABEL: func.func @_QPtest_module_var()
! CHECK: cuf.allocate {{.*}} {data_attr = #cuf.cuda<managed>, hasDoubleDescriptor}
! CHECK: cuf.allocate {{.*}} {data_attr = #cuf.cuda<device>, hasDoubleDescriptor}
+
----------------
ShashwathiNavada wrote:
Thanks for the suggestion, I have a doubt.
With this PR, the _fir.global_ declarations now appear after the _func_ declarations, and that is the reason I’ve reordered the CHECK blocks. Now the blocks are aligned with the output.
Please let me know if you’d prefer using CHECK-DAG instead, happy to update.
https://github.com/llvm/llvm-project/pull/183268
More information about the flang-commits
mailing list