[qt/clang/llvm]: Summary of bulk changes made

KDE Git Services - Bulk Change <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git repository change summary for qt/clang/llvm
Pushed by mirror-service into branch 'upstream/users/abhinavgaba/attach-maps-in-mappers-3'.
Changed from 0000000000000000000000000000000000000000 to b4111b96ef23ebe415187a28957617c7100f44a4
Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository.

This change contains the following new commits:

Git commit ce311346af97c8608599fae5fc3373481b53447f by Abhinav Gaba on 17/06/2026 at 21:18..
Merge remote-tracking branch 'origin/main' into add-mapper-tests-that-need-attach-type-codegen
https://invent.kde.org/qt/clang/llvm/-/commit/ce311346af97c8608599fae5fc3373481b53447f

Git commit 6d1aca816903bc475d108472096f7f972b6eb471 by Abhinav Gaba on 13/07/2026 at 23:26..
Merge remote-tracking branch 'upstream/main' into add-mapper-tests-that-need-attach-type-codegen
https://invent.kde.org/qt/clang/llvm/-/commit/6d1aca816903bc475d108472096f7f972b6eb471

Git commit 83f9d209739e6e835716b52ae4c4ce85125cf153 by Abhinav Gaba on 14/07/2026 at 03:15..
[OpenMP] Propagate ALWAYS/DELETE/CLOSE map-type modifiers to mapper entries

Per OpenMP 6.0:281:34, when a map/motion clause uses a mapper modifier, any
map-type-modifying modifier on that clause applies to each map the declared
mapper specifies. Propagate the ALWAYS, DELETE, and CLOSE bits from the outer
clause's map type into every entry emitted by emitUserDefinedMapper, except
ATTACH entries (ATTACH|ALWAYS is reserved for attach(always), and the other
bits have no meaning for an ATTACH entry).

PRESENT is intentionally NOT propagated here: it requires distinguishing
pointee entries from the struct's own storage and is handled in a follow-up.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
https://invent.kde.org/qt/clang/llvm/-/commit/83f9d209739e6e835716b52ae4c4ce85125cf153

Git commit b4111b96ef23ebe415187a28957617c7100f44a4 by Abhinav Gaba on 14/07/2026 at 03:31..
[OpenMP] Track attach-ptr entries in mapper codegen (HasAttachPtr)

Add a per-entry HasAttachPtr flag to MapInfosTy. It is set for entries that
have an attach pointer (and thus an accompanying ATTACH entry linking that ptr
to its pointee): pointee/combined entries whose storage differs from the struct
being mapped. It is NOT set for the ATTACH entries themselves.

In emitUserDefinedMapper, entries with HasAttachPtr (or the ATTACH bit, or the
Flang/MLIR PreserveMemberOfFlags) do not receive a new outer MEMBER_OF: pointee
data occupies a different storage block than the struct, and ATTACH entries
just link a ptr to its ptee. Existing inner MEMBER_OF bits are still shifted.

Clang (CGOpenMPRuntime) and the MLIR translator populate HasAttachPtr in
parallel with the other per-entry arrays; the MLIR/Flang side currently pushes
false with a TODO to set it for pointee-storage entries (e.g. s%p(0:10)) and
eventually drop PreserveMemberOfFlags in favor of it.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
https://invent.kde.org/qt/clang/llvm/-/commit/b4111b96ef23ebe415187a28957617c7100f44a4
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.