[qt/clang/llvm-project]: 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-project Pushed by mirror-service into branch 'upstream/users/abhinavgaba/attach-maps-in-mappers-4'. Changed from 0000000000000000000000000000000000000000 to 0229ace8ee05917efd8c60ffe26cd1819965ca11 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-project/-/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-project/-/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-project/-/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-project/-/commit/b4111b96ef23ebe415187a28957617c7100f44a4 Git commit 0229ace8ee05917efd8c60ffe26cd1819965ca11 by Abhinav Gaba on 14/07/2026 at 04:12.. [OpenMP] Propagate PRESENT to pointee entries in mapper codegen Extend mapper map-type-modifier propagation to include PRESENT, gated to entries that have an attach pointer (HasAttachPtr): the pointee data, whose storage differs from the struct being mapped. A present modifier on the outer map/motion clause must require that pointee to be present on the device; the present-check on the struct's own storage does not cover it. Regular struct members still receive only ALWAYS/DELETE/CLOSE (mask 1036); attach-ptr/pointee entries receive ALWAYS/DELETE/CLOSE/PRESENT (mask 5132). ATTACH entries receive no modifier bits. TODO: PRESENT should also propagate to the struct's own members (e.g. s.x, s.y of map(present, mapper(id): s)) so an absent member triggers the present-check. That is blocked while pointer members use PTR_AND_OBJ (a single combined entry allocates the whole struct including the pointer's storage, so propagating PRESENT there would wrongly require the pointer's pointee to be present). Enable it once Clang emits attach-style maps throughout instead of PTR_AND_OBJ. Co-Authored-By: Claude Opus 4.8 <[email protected]> https://invent.kde.org/qt/clang/llvm-project/-/commit/0229ace8ee05917efd8c60ffe26cd1819965ca11