[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-4'. Changed from c05dc391badd337ea8e2c2aa73883b0a35763e3d to 7f1381fcfff747ba7ddb41a2c3f1acddce679038 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 4b6a8d81da1a9eb1cee48c318b156ef2f2645c94 by GitHub (on behalf of Matt Arsenault) on 03/08/2026 at 05:24.. AMDGPU: Migrate most llvm-objdump tests to use subarch triple (#213589) https://invent.kde.org/qt/clang/llvm/-/commit/4b6a8d81da1a9eb1cee48c318b156ef2f2645c94 Git commit 04ea62bc5e2c5596866de7ee6a9c3a8b6aa54d35 by GitHub (on behalf of Arseniy Obolenskiy) on 03/08/2026 at 05:25.. [AMDGPU] Fix miscompile trimming sparse DMask on image stores (#213586) Dropping a channel from a sparse DMask removes that write entirely It does not zero-fill like a contiguous trim does Only simplify stores when DMask is a contiguous prefix https://invent.kde.org/qt/clang/llvm/-/commit/04ea62bc5e2c5596866de7ee6a9c3a8b6aa54d35 Git commit 4f607e3cd911ccc3d1aab73129aacea97d864663 by GitHub (on behalf of Matt Arsenault) on 03/08/2026 at 05:42.. AMDGPU: Migrate misc. tests to subarch triples (#213593) https://invent.kde.org/qt/clang/llvm/-/commit/4f607e3cd911ccc3d1aab73129aacea97d864663 Git commit 278b9af90c6fd32776ad3f4f4b5eab87f52587e2 by GitHub (on behalf of Sam Elliott) on 03/08/2026 at 06:02.. [RISCV][MC] Emit Better Token Diagnostics (#209700) This implements an old FIXME in the AsmMatcherEmitter, which can now emit a token-specific match error diagnostic id, and potentially a token-specific error message to go along with the diagnostic id. For RISC-V, the overall effect is to have fewer "invalid operand for instruction" diagnostics and have more "expected '<TOKEN>'" diagnostics, which, with multiple near miss support, gives the user the location that token was expected (but not found). The rejig to the order of checks in `validateOperandClass` do not prevent backends from having custom operand kinds which can accept tokens, as was available before. The TableGen parts have been implemented in an opt-in way. --- This was implemented with the assistance of AI. https://invent.kde.org/qt/clang/llvm/-/commit/278b9af90c6fd32776ad3f4f4b5eab87f52587e2 Git commit 187c39ba03cfed96c8aab9d0c951d0bea6f27b82 by GitHub (on behalf of Abhinav Gaba) on 03/08/2026 at 06:07.. [OpenMP] Propagate ALWAYS/DELETE/CLOSE map-type modifiers to mapper entries (#210210) Per OpenMP, when a map/motion clause uses a mapper, any map-type-modifying modifier on that clause applies to each map the declared mapper specifies. This change propagates 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/187c39ba03cfed96c8aab9d0c951d0bea6f27b82 Git commit dc7adf8f5e7dc746e280cc00f2ecc121ab3fbe4e by Abhinav Gaba on 03/08/2026 at 06:07.. [OpenMP][Clang] Enable ATTACH-style maps for mappers. Track per-entry attach-ptr info (HasAttachPtr) through mapper codegen so that emitUserDefinedMapper does not add a new outer MEMBER_OF to pointee/combined entries (which occupy different storage than the struct) or to ATTACH entries. Clang and the MLIR translator populate the per-entry array in parallel with the other MapInfosTy arrays. Address review: - Rename MapSkipMemberOfArrayTy to MapHasAttachPtrArrayTy to match the HasAttachPtr field it backs. - Restructure the emitUserDefinedMapper comment into a bulleted (*)/(**)/(***) list keyed to the example entries. - Reword the Clang comments: HasAttachPtr marks pointee entries that have a base attach-ptr; a combined entry has a base attach-ptr if its constituents do; cross-reference emitUserDefinedMapper for the MEMBER_OF rationale. - Update the moved present-check tests to their now-correct behavior (the attach-style maps make the inbounds present checks pass and remove the "explicit extension" errors). Co-Authored-By: Claude Opus 4.8 <[email protected]> https://invent.kde.org/qt/clang/llvm/-/commit/dc7adf8f5e7dc746e280cc00f2ecc121ab3fbe4e Git commit 9dfd09764d54e970c772fdbe17e19f112fb78301 by Abhinav Gaba on 03/08/2026 at 06:07.. [OpenMP] Propagate PRESENT to pointee entries in mapper codegen Extend map-type-modifier propagation in emitUserDefinedMapper to the PRESENT modifier, but only for entries that have an attach ptr (the pointee data, whose storage differs from the struct's own). A present modifier on the outer clause must require that pointee to be present on the device. This is gated on a new PropagatePresentToPointee argument, which Clang sets from CGM.getLangOpts().OpenMP >= 60. Before 6.0 the present modifier is treated as not applying to the pointee: the spec committee confirmed the divergence between the present motion modifier (to/from) and the present map-type modifier (map) was unintentional, to be fixed as an OpenMP 6.0 erratum. Only propagation is gated; present written directly in a mapper's own clause applies at all versions. A TODO notes PRESENT should also propagate to the struct's own members, which is blocked while pointer members use PTR_AND_OBJ. Update the present-check tests to their final 6.0-gated behavior. Co-Authored-By: Claude Opus 4.8 <[email protected]> https://invent.kde.org/qt/clang/llvm/-/commit/9dfd09764d54e970c772fdbe17e19f112fb78301 Git commit 7ed335e622b66636490ea6d8cdd9292849dcae51 by Abhinav Gaba on 03/08/2026 at 06:22.. [OpenMP][NFC] Document HasAttachPtr semantics in mapper codegen comments Address review comments: - Add the struct declarations for the types used by the two worked examples in emitUserDefinedMapper, so the entry tables can be read without reconstructing the types from the entry sizes. - Spell out which entries HasAttachPtr is set on: every entry whose storage lies in a pointee block, i.e. the combined entry for the block and the individual member entries that are MEMBER_OF it, but never the ATTACH entry itself, and never an entry that maps the pointer as an object in its own right. Comment-only change. Co-Authored-By: Claude Opus 5 <[email protected]> https://invent.kde.org/qt/clang/llvm/-/commit/7ed335e622b66636490ea6d8cdd9292849dcae51 Git commit 7f1381fcfff747ba7ddb41a2c3f1acddce679038 by Abhinav Gaba on 03/08/2026 at 06:23.. Merge commit 'refs/pr3-final' into add-data-motion-map-type-bit https://invent.kde.org/qt/clang/llvm/-/commit/7f1381fcfff747ba7ddb41a2c3f1acddce679038