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

KDE Git Services - Bulk Change <[email protected]> Tue, 4 Aug 2026 18:14:49 +0000 (UTC)
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/kovdan01/lld-pauth-undef-weak'.
Changed from 24a9427288a7eb2209544c68b30db9c8eac6bdd7 to 3b4fb49bcfbe196cf4266f4f69ee3aea7d876545
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 256f40dbe6b66dae8d08ddbe7d1ff7851c79764c by GitHub (on behalf of Jared Wyles) on 04/08/2026 at 11:19..
Cpu features cross platform (#205447)

Also adds the place holders for other OS's as well as the structure for
cross platform code going forward.

Prefer sys calls as we can't be sure what runtime we may end up linking
with
Some features can be controlled via the kernel so this makes it easier
than relying on __cpuid for now.

The triples are now more accurate and include the os version on darwin. 

All results are a string that are passed in the default map with the key are llvm subtarget features valid strings
orc-rt.Executor.SubtargetFeatures

Adds a new process regression test as well, with a best effort
guess that the triple returned is correct.
https://invent.kde.org/qt/clang/llvm-project/-/commit/256f40dbe6b66dae8d08ddbe7d1ff7851c79764c

Git commit 53f5999f0382624abdbae90df143e83c71cdb8ab by GitHub (on behalf of Keshav Vinayak Jha) on 04/08/2026 at 11:20..
[InstCombine] Rebuild type-changing PHIs in PointerReplacer (#212429)

PointerReplacer mutates PHI types when replacing an alloca with a
pointer in another address space. Mutating a value type in place can
invalidate existing users whose result types or operand constraints were
formed from the original pointer type.

For example:
```
%p = phi ptr addrspace(5) [ %a, %bb0 ], [ %b, %bb1 ]
%g = getelementptr i8, ptr addrspace(5) %p, i64 1
```

Changing `%p` to `ptr addrspace(4)` leaves the existing GEP result in
`AS5` while its pointer operand is now in `AS4`. (This is what exposed
the bug). This triggered:

https://github.com/llvm/llvm-project/blob/0bcff14b1740cf32f9e0983726238dcf353c6ac8/llvm/lib/IR/Operator.cpp#L129-L131

Create a new PHI when the replacement changes type so existing users
remain attached to the original well-typed graph while PointerReplacer
builds their replacements. Preserve in-place operand updates when the
PHI type is unchanged.

Assisted-by: Codex

---------

Signed-off-by: Keshav Vinayak Jha <[email protected]>
https://invent.kde.org/qt/clang/llvm-project/-/commit/53f5999f0382624abdbae90df143e83c71cdb8ab

Git commit 5156be95e21ca4ac6a0e26ddf1ea349e7199b7d9 by GitHub (on behalf of Harry Ramsey) on 04/08/2026 at 11:20..
[AArch64][ISel] Recover ADDHN from OR comparison masks (#210943)

InstCombine converts the high-half addition of vector comparison masks
into an OR. Recognise the resulting trunc(or(setcc, setcc)) DAG and
reconstruct the canonical ADDHN pattern for the supported NEON types.
https://invent.kde.org/qt/clang/llvm-project/-/commit/5156be95e21ca4ac6a0e26ddf1ea349e7199b7d9

Git commit ebd0cbfb372c42c499d021022975a60bbc6d0d27 by GitHub (on behalf of Dmitrii Makarenko) on 04/08/2026 at 11:29..
[mlir][tensor] Preserve encoding in more canonicalizers (pad, convertToStaticExpandShape) (#207241)

Fixes encoding drop in `tensor.*` canonicalizers.

Patterns that only refine a tensor's shape (never merge/combine data)
now propagate the encoding: `ConvertToStaticExpandShape`,
`PadOp::inferResultType` (and its callers `FoldSourceTensorCast`,
`FoldStaticPadding`). An encoding implementing
`VerifiableTensorEncoding` is re-verified against the refined shape and
dropped if invalid (e.g. sparse); an opaque encoding (no interface) is
propagated as-is.

Patterns that merge/combine tensors (`ConcatOp::inferResultType`,
`InferConcatOperandTypes`, `CollapseShapeOp::inferCollapsedType`) keep
the existing drop-encoding behavior - there's no static way to verify an
arbitrary encoding survives a merge or rank change when dynamic dims are
involved.

Documents this contract on `VerifiableTensorEncoding` in
`TensorEncoding.td`.

co-authored Claude Opus 4.7

Signed-off-by: Dmitrii Makarenko <[email protected]>
https://invent.kde.org/qt/clang/llvm-project/-/commit/ebd0cbfb372c42c499d021022975a60bbc6d0d27

Git commit 22508ac951966c321977cc2d51ab353b9e0ab453 by GitHub (on behalf of Simon Pilgrim) on 04/08/2026 at 11:55..
[X86] pr61923.ll - update IR to match middleend (#213908)

InstCombine converts vXi1 logic reductions to bitcasted scalar integer
ops - we should be testing that, not llvm.vector.reduce.and.v32i1 calls
https://invent.kde.org/qt/clang/llvm-project/-/commit/22508ac951966c321977cc2d51ab353b9e0ab453

Git commit 03435270d2662be52b360c929d19a2f666eb1af5 by GitHub (on behalf of Thibaut Goetghebuer-Planchon) on 04/08/2026 at 11:55..
[mlir][tosa] Fold reshape of dense resource constants (#213225)

Add support for `DenseResourceElementsAttr` in TOSA reshape folding.
https://invent.kde.org/qt/clang/llvm-project/-/commit/03435270d2662be52b360c929d19a2f666eb1af5

Git commit 4d349761f5bf7cc42ffbae5d7819bf87315dbafb by GitHub (on behalf of theRonShark) on 04/08/2026 at 12:05..
Reland "Revert "[OpenMP] target-fast implies teams/threads oversubscription"" (#213911)

Reverts llvm/llvm-project#213769
https://invent.kde.org/qt/clang/llvm-project/-/commit/4d349761f5bf7cc42ffbae5d7819bf87315dbafb

Git commit 61a8d42409f596def8befa1350f79609de08027c by GitHub (on behalf of Nikolas Klauser) on 04/08/2026 at 12:08..
[libc++] Optimize std::swap of locales (#209760)

Currently we copy construct `locale`s whenever we swap, which is quite
expensive for locales since that does atomic increments and decrements.
We can just swap the pointers instead.
https://invent.kde.org/qt/clang/llvm-project/-/commit/61a8d42409f596def8befa1350f79609de08027c

Git commit 2deffca50638d88b6df28316db2e6d3f617413da by GitHub (on behalf of Ramkumar Ramachandra) on 04/08/2026 at 12:21..
[LangRef] Fix language around strictfp semantics (#213879)

The LangRef wording changed in 15bb4a97a7 ([IR] Make semantics of
strictfp consistent v2, #211769) is unfortunately incorrect. There are
some open questions around its semantics, but a simple revert should do
for the moment.

Reported-by: Ömer Sinan Ağacan <[email protected]>
https://invent.kde.org/qt/clang/llvm-project/-/commit/2deffca50638d88b6df28316db2e6d3f617413da

Git commit 12ba81515969bcd0555fddb1eb3907cdc5e10e24 by Daniil Kovalev on 04/08/2026 at 12:36..
[PAC][ELF] Support R_AARCH64_AUTH_TLSDESC_CALL relocation

The R_AARCH64_AUTH_TLSDESC_CALL is introduced to allow linker relaxation of
AUTH TLSDESC call sequences for non-preemptible undefined weak symbols.

The lld patch introducing the relaxation: #194636

Corresponding ARM docs PR: https://github.com/ARM-software/abi-aa/pull/395
https://invent.kde.org/qt/clang/llvm-project/-/commit/12ba81515969bcd0555fddb1eb3907cdc5e10e24

Git commit 4bae498f206f16439e34093c70eb2c1797cc9a84 by Daniil Kovalev on 04/08/2026 at 12:36..
Address review comments
https://invent.kde.org/qt/clang/llvm-project/-/commit/4bae498f206f16439e34093c70eb2c1797cc9a84

Git commit a26ebc0bd4b0163e96d9ef796e1efa0591ccac8e by Daniil Kovalev on 04/08/2026 at 12:36..
`.tlsdescauthcall` -> `.tlsauthdesccall` (per documentation)
https://invent.kde.org/qt/clang/llvm-project/-/commit/a26ebc0bd4b0163e96d9ef796e1efa0591ccac8e

Git commit fdc4d8ad70c87f8029651bf6891ca78b4bcb10da by Daniil Kovalev on 04/08/2026 at 12:36..
Address review comments
https://invent.kde.org/qt/clang/llvm-project/-/commit/fdc4d8ad70c87f8029651bf6891ca78b4bcb10da

Git commit b48bca9225adb58e865c661a43fb1165b419f30e by Daniil Kovalev on 04/08/2026 at 12:37..
[PAC][lld] Do not emit AUTH relocs against undef weak non-preemptible symbols

Undefined weak non-preemptible symbols should be statically resolved
and not signed.

See the corresponding relaxation described in docs:
https://github.com/ARM-software/abi-aa/blob/6e0d6611ac977628af7b2444ff841e76931a3557/design-documents/pauthabi-tls.rst

Previously, a dynamic relocation against such symbols was emitted,
which is not a correct behavior.

See also: https://github.com/ARM-software/abi-aa/pull/391

Depends on: #198327

Resolves #173296
https://invent.kde.org/qt/clang/llvm-project/-/commit/b48bca9225adb58e865c661a43fb1165b419f30e

Git commit 3b4fb49bcfbe196cf4266f4f69ee3aea7d876545 by Daniil Kovalev on 04/08/2026 at 12:37..
`.tlsdescauthcall` -> `.tlsauthdesccall` (per documentation)
https://invent.kde.org/qt/clang/llvm-project/-/commit/3b4fb49bcfbe196cf4266f4f69ee3aea7d876545