[llvm-branch-commits] [flang] [flang][OpenACC] remap component references in structured constructs (PR #171501)

Razvan Lupusoru via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Dec 9 13:04:05 PST 2025


================
@@ -18,9 +18,10 @@ subroutine test()
   call vadd(b)
   !$acc end host_data
 ! CHECK: %[[C:.*]] = acc.use_device var(%[[A]]#0 : !fir.box<!fir.array<?xf64>>) -> !fir.box<!fir.array<?xf64>> {name = "b"}
-! CHECK: %[[D:.*]] = acc.use_device varPtr(%[[A]]#1 : !fir.ref<!fir.array<?xf64>>) -> !fir.ref<!fir.array<?xf64>> {name = "b"}
----------------
razvanlupusoru wrote:

Sounds great to me. @nvptm FYI

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


More information about the llvm-branch-commits mailing list