[flang-commits] [flang] [flang][acc] Ensure fir.class is handled in type categorization (PR #146174)
Razvan Lupusoru via flang-commits
flang-commits at lists.llvm.org
Mon Jun 30 13:23:30 PDT 2025
================
@@ -0,0 +1,18 @@
+module mm
+ type, public :: polyty
+ real :: field
+ end type
+contains
+ subroutine init(this)
+ class(polyty), intent(inout) :: this
+ !$acc enter data copyin(this, this%field)
+ end subroutine
+end module
+
+! RUN: bbc -fopenacc -emit-hlfir %s -o - | fir-opt -pass-pipeline='builtin.module(test-fir-openacc-interfaces)' --mlir-disable-threading 2>&1 | FileCheck %s
----------------
razvanlupusoru wrote:
Fixed. It was on accident.
https://github.com/llvm/llvm-project/pull/146174
More information about the flang-commits
mailing list