[all-commits] [llvm/llvm-project] c9ab97: [flang][acc] Fix cache directive with mapped compo...
khaki3 via All-commits
all-commits at lists.llvm.org
Tue Feb 3 02:05:54 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c9ab97ff9569842c2bc91e140e6ab24a5fda0351
https://github.com/llvm/llvm-project/commit/c9ab97ff9569842c2bc91e140e6ab24a5fda0351
Author: khaki3 <47756807+khaki3 at users.noreply.github.com>
Date: 2026-02-03 (Tue, 03 Feb 2026)
Changed paths:
M flang/lib/Lower/OpenACC.cpp
M flang/test/Lower/OpenACC/acc-cache.f90
Log Message:
-----------
[flang][acc] Fix cache directive with mapped component (#179335)
When a derived type component is mapped via a data clause (e.g.,
`copyin(data%A(...))`), the base address inside the parallel region
comes from an `hlfir.declare` op (for the mapped address) instead of
an `hlfir.designate` op. Use `FortranVariableOpInterface` to extract
shape/typeparams/attrs, which works for both cases since both ops
implement this interface.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list