[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/arsenm/machine-ir-getdefblock'.
Changed from 0000000000000000000000000000000000000000 to 453929a9a69afaafec45c1be4737e82379c15ef2
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 db75e39e977563df8ac247871012e7ca56cdc1cb by GitHub (on behalf of Abhina Sree) on 13/08/2026 at 17:14..
[SystemZ][z/OS] Fix typo in CHECK line in systemz-charset.cpp (#216101)
This patch fixes a typo of `CHECK=UTF8` to `CHECK-UTF8` in the following
testcase
clang/test/CodeGen/systemz-charset.cpp
https://invent.kde.org/qt/clang/llvm/-/commit/db75e39e977563df8ac247871012e7ca56cdc1cb
Git commit 26538e8007591edd6e8b50929657afb0b27d0d03 by GitHub (on behalf of Arseniy Obolenskiy) on 13/08/2026 at 17:16..
[SPIR-V] Drop storage-class MemorySemantics bit for relaxed Vulkan atomics (#215802)
VUID-StandaloneSpirv-MemorySemantics-10871 forbids combining a storage
class semantics bit with a relaxed memory order
The backend unconditionally OR'd the two together, which was untested
until #215634 moved this test under the SPIR-V backend where spirv-val
actually runs
Unblocks the currently failing on main
`llvm/test/CodeGen/SPIRV/hlsl-intrinsics/InterlockedOr-scope.ll` test
https://invent.kde.org/qt/clang/llvm/-/commit/26538e8007591edd6e8b50929657afb0b27d0d03
Git commit 2dd35f8ff91fbea3d898474851f78dfad2332c18 by GitHub (on behalf of Eli Friedman) on 13/08/2026 at 17:29..
[DAGCombine] Fix alignment of store in replaceStoreOfInsertLoad. (#215895)
For the variable index case, the alignment of the original store was
used, which is too large.
Fixes #215530
https://invent.kde.org/qt/clang/llvm/-/commit/2dd35f8ff91fbea3d898474851f78dfad2332c18
Git commit 113256a89baf248e294ea4db32b552ddb9989d0a by GitHub (on behalf of David Meng) on 13/08/2026 at 17:34..
[clang-tidy] Fix `misc-const-correctness` false positive on writes through assigned pointers (#216050)
`ExprPointeeResolve` did not resolve through `=`, so a write such as
`*(p = q) = 0` was not recognized as mutating `p`'s pointee and the
check suggested a `const` pointee that does not compile:
```cpp
void func(int *ptr1) {
int *ptr2 = ptr1;
int *ptr3 = ptr1;
*(ptr2 = ptr3) = 0; // warning: pointee of 'ptr2' can be declared 'const'
}
```
Godbolt: https://godbolt.org/z/3o8qnEKs3
An assignment yields an lvalue for the LHS holding the value of the RHS,
so
the dereferenced object is reachable through both operands. Resolve
through
both, like the existing additive case.
The RHS is already covered indirectly by AssignToNonConst, so the fix is
the LHS.
Fixes https://github.com/llvm/llvm-project/issues/216048.
https://invent.kde.org/qt/clang/llvm/-/commit/113256a89baf248e294ea4db32b552ddb9989d0a
Git commit 5e4d13ef093458b714c9913eb40199e1f4c45f0a by GitHub (on behalf of Reid Kleckner) on 13/08/2026 at 17:38..
[clang][docs] Migrate AttributeReference to markdown (#215631)
Tracking issue: #201242
This change is a one-off using a different methodology, described here.
AttributeReference.rst is generated, not checked in, so there's no
separate rename PR. The reST markup lives in AttrDocs.td, which is
essentially a tablegen wrapper that we can "join" with Attr.td to
produce complete reference. I can't simply stream AttrDocs.td through
rst2myst to migrate it.
Instead, my agent used Python regexes to match `let Content = [{` and
similar blocks (`code Intro = [{`) through to the closing delimiters
(`}];`). The one-off script imported the `rst_to_myst` module and called
the `rst_to_myst` library function on the inner reST body text. It then
built up a list of alternating fragments of tablegen and markdown
strings that were concatenated to produce the new contents of
AttrDocs.td.
The point of mentioning this is to explain that only 11% of the inserted
lines in this change were agent-generated, based on the split of the
diff state between the two commits:
```
❯ jj diff --stat
...
5 files changed, 526 insertions(+), 537 deletions(-)
❯ jj diff --stat -r @-
...
1 file changed, 4630 insertions(+), 4671 deletions(-)
```
So, if you want to trust rst2myst and only focus on the agentic and
manual cleanups, you can look at the *second commit* in the PR, which is
only +526 lines. If you dig into the second diff, you'll notice that
most of it is just removing block quotes that were caused by bugs from
extra indentation in the original AttrDocs.td reST.
I also have an elaborate new pixel diff strategy that shows me that all
of the visual diffs look good. I paged through the new
AttributeReference.html, but it was too long for me personally visually
diff. The change passed all my other existing validation scripts that
ensure that all the id= anchors are all still present in the new output.
https://invent.kde.org/qt/clang/llvm/-/commit/5e4d13ef093458b714c9913eb40199e1f4c45f0a
Git commit 84f08dbe9135330e1546ad00dcc911ed0c928e75 by GitHub (on behalf of Matt Arsenault) on 13/08/2026 at 17:52..
GlobalISel: Fix missing dependency on TargetParser (#216122)
https://invent.kde.org/qt/clang/llvm/-/commit/84f08dbe9135330e1546ad00dcc911ed0c928e75
Git commit bb123b2208060bf3ec8a5f22f2111bd194c4ad4d by GitHub (on behalf of Nuri Amari) on 13/08/2026 at 17:56..
[Clang][Frontend] Fix fix-it size overflow in emitted .dia (#216075)
When fix-its are emitted into a .dia, we previously stored the fix-it
text in a blob of arbitrary size, but the size of the text was stored in
a separate 16 bit field. For really large fix-its, the size won't fit it
those 16 bits, and the compiler crashes.
Switch to a variable length encoding of the fit-it size. This is similar
to this issue:
https://github.com/llvm/llvm-project/commit/e26aea5b290165f3bccffab662a706d4a56f7540
We also remove a hard coded check in the clang library used to load .dia
files that failed for fix-its whose size doesn't fit in 16 bits.
Generated with codex
Co-authored-by: Nuri Amari <[email protected]>
https://invent.kde.org/qt/clang/llvm/-/commit/bb123b2208060bf3ec8a5f22f2111bd194c4ad4d
Git commit 03e81eabcdb7ef913e5cc0491e9083c2b31fcb39 by GitHub (on behalf of Adrian Prantl) on 13/08/2026 at 17:57..
[LLDB] Add a GetTargetSP() accessor to ObjectFileJITDelegate. (NFC) (#215893)
This is needed to implement the Swift REPL and potentially generally
useful to other expression evaluators.
https://invent.kde.org/qt/clang/llvm/-/commit/03e81eabcdb7ef913e5cc0491e9083c2b31fcb39
Git commit dbac58277733fb87f5df02acf688b92b4b378cf3 by GitHub (on behalf of Adrian Prantl) on 13/08/2026 at 17:57..
[LLDB] Fix tool dependency tracking on windows (#215927)
On Windows $(CXX) is converted into "$(CXX)" which doesn't work as a
path as needed by dependency tracking. Separate the two uses.
https://invent.kde.org/qt/clang/llvm/-/commit/dbac58277733fb87f5df02acf688b92b4b378cf3
Git commit df7a7ee37bf5508e817f3b99473368004875a0b9 by GitHub (on behalf of Louis Dionne) on 13/08/2026 at 18:08..
[libc++] Cache anchor commits in the benchmark cron (#216124)
Selecting the anchor commits is the only step that needs a full monorepo
clone, so we instead cache it and recompute it once per day.
Fixes #215447
https://invent.kde.org/qt/clang/llvm/-/commit/df7a7ee37bf5508e817f3b99473368004875a0b9
Git commit 47f7a590e579ef44c32a1da28fb8b8b01432e1de by GitHub (on behalf of Alex Langford) on 13/08/2026 at 18:13..
[clang] Move DefaultedFunctionKind from Sema to AST (#214846)
I plan on using this to implement DW_AT_defaulted in CGDebugInfo.
Putting this on FunctionDecl itself seems like a better move than
reaching into Sema from CGDebugInfo.
See: https://github.com/llvm/llvm-project/pull/213188
https://invent.kde.org/qt/clang/llvm/-/commit/47f7a590e579ef44c32a1da28fb8b8b01432e1de
Git commit dabc3833ba1d2c9994bcf3a94ee66790f470ba82 by GitHub (on behalf of Joachim) on 13/08/2026 at 18:15..
[OpenMP][OMPT] Make omp_control_tool enums available in omp-tools.h (#216076)
OpenMP 6.1 will introduce this change: the enums must be available by
including either header file, but including both must also be valid.
https://invent.kde.org/qt/clang/llvm/-/commit/dabc3833ba1d2c9994bcf3a94ee66790f470ba82
Git commit 4f4a268a65ba69279fed5f2063ad49eb5d5d89a4 by GitHub (on behalf of Florian Hahn) on 13/08/2026 at 18:19..
[LAA] Add more tests with symblic strides with different scales (NFC) (#216128)
Add more test coverage for various cases with strides with different
scales.
https://invent.kde.org/qt/clang/llvm/-/commit/4f4a268a65ba69279fed5f2063ad49eb5d5d89a4
Git commit 199678b395de15401a7eb751fe3e24c10997b470 by GitHub (on behalf of Jan André Reuter) on 13/08/2026 at 18:20..
[OpenMP][OMPT] Mark dispatch callback as sometimes on registration (#212991)
Recently, multiple issues in the implementation of the `dispatch`
callback have been found (e.g., #212784, #207746). In these, the code
generation done by Clang and Flang does not provide a sufficient amount
of information for the runtime to dispatch the correct amount of flags,
or a callback for a given event at all.
These missing and incorrect events do not satisfy OpenMP's requirement
for `ompt_set_always` as a registration result, as the runtime does not
trace or invoke the correct callback whenever an associated event occurs
(OpenMP v5.2, p. 457, l.5-6).
As such, change the registration result for the `dispatch` callback to
`ompt_set_sometimes` for now, which is fulfilled. Here, an
implementation can dispatch callbacks or trace an implementation-defined
subset of associated event occurrences.
Based on the changed registration result, a tool can then decide if they
are still interested in recording the information provided by the
runtime implementation.
Signed-off-by: Jan André Reuter <[email protected]>
https://invent.kde.org/qt/clang/llvm/-/commit/199678b395de15401a7eb751fe3e24c10997b470
Git commit 98d84e38b867b984d1d33e6f73e0f5c7191f7ccb by GitHub (on behalf of Chinmay Deshpande) on 13/08/2026 at 18:22..
[AMDGPU][GlobalISel] Fix wide multiply with known-zero parts (#215356)
Materialize a zero accumulator when all partial products for a
destination part are skipped, avoiding an invalid null register during
legalization.
https://invent.kde.org/qt/clang/llvm/-/commit/98d84e38b867b984d1d33e6f73e0f5c7191f7ccb
Git commit 453929a9a69afaafec45c1be4737e82379c15ef2 by Matt Arsenault on 13/08/2026 at 21:12..
CodeGen: Add getDefBlock helper
A reasonable number of places check getVRegDef just to
return the parent block, so introduce a helper for it.
Co-authored-by: Claude (Claude-Opus-4.8) <[email protected]>
https://invent.kde.org/qt/clang/llvm/-/commit/453929a9a69afaafec45c1be4737e82379c15ef2