[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/kovdan01/ptrauth-clang-driver-test-fix'.
Changed from 0000000000000000000000000000000000000000 to 214f296b2908811fcd4e32d1c6e36cef3d30d687
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 776971a11fdce76b243bd94b1fe7d2b1957da969 by GitHub (on behalf of Pengcheng Wang) on 28/07/2026 at 05:25..
Revert "[RISCV] Add TuneNoDefaultUnroll to generic CPUs (#135318)" (#212400)

This reverts commit 9c5858eb699390c2cac5f7f032279be275fa6aef which
causes some regressions.
https://invent.kde.org/qt/clang/llvm-project/-/commit/776971a11fdce76b243bd94b1fe7d2b1957da969

Git commit 2f6ec89938aa12ba5190477032b974524c956b54 by GitHub (on behalf of Corentin Jabot) on 28/07/2026 at 05:46..
[Clang] Implement P3658R1 (#212131)

As a DR in all C++ language modes.
Because we already supported the feature this is only modifying the
extensions warnings.
https://invent.kde.org/qt/clang/llvm-project/-/commit/2f6ec89938aa12ba5190477032b974524c956b54

Git commit 0a30b0c8909dca8764d994a748bd7d53c68d94f7 by GitHub (on behalf of Matt Arsenault) on 28/07/2026 at 06:03..
AMDGPU: Declare FeatureDPP with AMDGPUSubtargetFeature (#212408)

All other features were defined using the AMDGPUSubtargetFeature
subclass of SubtargetFeature, so fix the odd one out.
https://invent.kde.org/qt/clang/llvm-project/-/commit/0a30b0c8909dca8764d994a748bd7d53c68d94f7

Git commit de962dda125154abb64446c198b5349cf05311cb by GitHub (on behalf of Hui) on 28/07/2026 at 06:15..
[libc++] Implement P0528R3 `std::atomic` CAS for types with padding (#76180)

Fixes #99984

Implement P0528R3 The Curious Case of Padding Bits, Featuring Atomic
Compare-and-Exchange


The unit test padding.pass.cpp is assisted by Cursor. However, all tests
have been modified to test what I wanted to test

---------

Co-authored-by: Louis Dionne <[email protected]>
https://invent.kde.org/qt/clang/llvm-project/-/commit/de962dda125154abb64446c198b5349cf05311cb

Git commit ed4090047fb6c40d8d014559da16cee934f124c0 by GitHub (on behalf of Kazu Hirata) on 28/07/2026 at 06:17..
[SampleProfile] Fix symbol partitioning in Eytzinger name table (#211906)

This patch fixes the symbol partitioning between context-sensitive
and flat profiles in writeEytzingerNameTableSection.

In split-layout profiles, top-level symbols in the Eytzinger name
table are partitioned into two bins -- context-sensitive and flat keys
-- so that they form parallel arrays with function offsets.

Without this patch, writeEytzingerNameTableSection uses:

  if (Ctx.hasContext())

to decide which bin to use even though splitProfileMapToTwo uses:

  if (!I.second.getCallsiteSamples().empty())

to partition the profile.  This difference causes certain symbols to
be classified into FlatKeys in the name table but into
ContextProfileMap in the LBR profile.

The patch fixes the problem by using the same condition to partition
keys.

This misclassification happens to top-level symbols (like main or
un-inlined root callers) that lack context delimiters in their
function names (hasContext() == false) but still contain inlined
callees in their profile hierarchies.

RFC:
https://discourse.llvm.org/t/rfc-faster-sample-profile-loading/90957/8

Assisted-by: Antigravity
https://invent.kde.org/qt/clang/llvm-project/-/commit/ed4090047fb6c40d8d014559da16cee934f124c0

Git commit d1ce5f95fb661999bcc99a3a816cc72c1220a36d by GitHub (on behalf of Alexis Engelke) on 28/07/2026 at 06:18..
[ASan] Instrument ptrtoaddr as pointer difference (#211988)

We want to emit ptrtoaddr instead of ptrtoint for pointer differences to
not expose the provenance. Adjust ASan instrumentation to handle this
case as well.
https://invent.kde.org/qt/clang/llvm-project/-/commit/d1ce5f95fb661999bcc99a3a816cc72c1220a36d

Git commit f2c7e2bcd57ef2a9db23e5071618d3e02ee9c33d by GitHub (on behalf of Pavel Labath) on 28/07/2026 at 06:20..
[libc] Fix atexit_test in hermetic mode (#210656)

We never unlocked the ThreadAtExit mutex, which meant the second call to
exit deadlocked. This was detected in the unit tests as they were
calling __cxa_thread_atexit from the system C library.
https://invent.kde.org/qt/clang/llvm-project/-/commit/f2c7e2bcd57ef2a9db23e5071618d3e02ee9c33d

Git commit ee8bf569630bd45559227434f6cdf7aa67eb6a77 by GitHub (on behalf of Heejin Ahn) on 28/07/2026 at 06:37..
[lld][WebAssembly] Fix SharedTagKind in toString (#212385)
https://invent.kde.org/qt/clang/llvm-project/-/commit/ee8bf569630bd45559227434f6cdf7aa67eb6a77

Git commit d81bb91dfe1a32bdb9621d483c7a059ddd56970b by GitHub (on behalf of Yuyang Zhang) on 28/07/2026 at 06:37..
[DAGCombiner] Fold insert_vector_elt into a shared BUILD_VECTOR (#210905)

The `insert_vector_elt -> build_vector` fold requires the source
`BUILD_VECTOR` to have a single use, to avoid duplicating it. Allow it
for a multi-use base when the target sets
`aggressivelyPreferBuildVectorSources`: a `BUILD_VECTOR` is just glue
there (e.g. `REG_SEQUENCE` on AMDGPU), so rebuilding re-references the
base's existing scalar operands and adds no real work. This un-shares a
CSE-shared base produced by `insertelement` on a poison vector, so each
derived vector is built from scalars independently, as GlobalISel
already does.

The gate mirrors the sibling `extract_vector_elt` fold: `hasOneUse() ||
TLI.aggressivelyPreferBuildVectorSources(VT)`.

Split out from #199631 per review. Opted-in targets are AMDGPU, NVPTX,
and AArch64: AMDGPU and NVPTX improve, AArch64 is unchanged; non-opted
targets are unaffected. Affected AMDGPU and NVPTX tests are regenerated.

The undef-deprecator flag on `splitkit-getsubrangeformask.ll` is a false
positive — those are MIR subregister-def flags (`undef %reg.sub`), not
IR `undef` values.
https://invent.kde.org/qt/clang/llvm-project/-/commit/d81bb91dfe1a32bdb9621d483c7a059ddd56970b

Git commit 9a5434468bf5a5aa77f46de98d17ec2eccdce39d by GitHub (on behalf of jeanPerier) on 28/07/2026 at 06:39..
[flang][NFC] Extract StackArrays analysis and rewrite into a header - memory passes unification [1/5] (#210721)

Move InsertionPoint, StackArraysAnalysisWrapper, and AllocMemConversion
out of the anonymous namespace in StackArrays.cpp into a new
StackArrays.h header (in namespace fir), so the "which fir.allocmem can
be safely moved to the stack, and where" analysis and the heap-to-stack
rewrite pattern can be reused by other passes.

The dataflow internals (AllocationState, LatticePoint,
AllocationAnalysis), the command-line options, and all method
definitions remain in the .cpp. No functional change intended.

RFC:
https://discourse.llvm.org/t/rfc-flang-improving-temporary-and-local-array-allocations-unify-stackarray-memoryallocation/91353

Assisted-by: AI
https://invent.kde.org/qt/clang/llvm-project/-/commit/9a5434468bf5a5aa77f46de98d17ec2eccdce39d

Git commit 4b60d133e3f80bac153bef496f56ee85936dfea1 by GitHub (on behalf of Sean Clarke) on 28/07/2026 at 06:51..
[RISCV] Add custom lowering for fixed-vector `CLMUL`/`CLMULH` (#210429)

`CLMUL` and `CLMULH` currently expand for fixed vector types on RISC-V,
even if `Zvbc` and/or `Zvbc32e` are available. Add custom lowering to
convert to scalable vector operations according to extension
availability.

Assisted-by: Claude Opus 4.8
https://invent.kde.org/qt/clang/llvm-project/-/commit/4b60d133e3f80bac153bef496f56ee85936dfea1

Git commit b59d69d79e547a432485c18611efd2ec8d9540ca by GitHub (on behalf of Craig Topper) on 28/07/2026 at 06:51..
[RISCV][P-Ext] Unify pncvt(h) intrinsics between RV32 and RV64. (#210996)

Use __builtin_convertvector for pncvt and __builtin_shufflevector for
pncvth.

Alternatively we could use shift+__builtin_convertvector for pncvth but
that requires combining psrl+unzip(8/16)p to unzip(8/16)hp. I'm not sure
which is better right now.
https://invent.kde.org/qt/clang/llvm-project/-/commit/b59d69d79e547a432485c18611efd2ec8d9540ca

Git commit ce62aab97e58c52e6bb0972c49d6fd1aaa6a08a0 by GitHub (on behalf of Pavel Labath) on 28/07/2026 at 06:57..
[libc] Add aligned_alloc and delete[] to hermetic tests (#210693)

This lets us run (at least) <search.h> tests in hermetic mode.
https://invent.kde.org/qt/clang/llvm-project/-/commit/ce62aab97e58c52e6bb0972c49d6fd1aaa6a08a0

Git commit f75eef2acb00eb8ff99cf9d7abb0d1649d0cbc90 by GitHub (on behalf of Alexis Engelke) on 28/07/2026 at 07:07..
[InstCombine] Handle icmp+ptrtoint/addr folds for non-int ptrs (#212101)

Followup of #211991. icmp ptrtoint, ptrtoint cannot be folded away for
non-integral pointers, this is only possible with ptrtoaddr.

For consistency, this also restricts the inttoptr direction, which
causes the change in the phase ordering test. (Note that in this
particular case, not doing the folding is actualle beneficial, as it
keeps the inttoptr-inttoptr comparison outside the loop avoiding one
comparison inside the loop. I wouldn't expect any practical impact,
though.)
https://invent.kde.org/qt/clang/llvm-project/-/commit/f75eef2acb00eb8ff99cf9d7abb0d1649d0cbc90

Git commit 022bf7ba97fa1897bf52cf3db2e3fa42cd19b29f by GitHub (on behalf of Fangrui Song) on 28/07/2026 at 07:08..
[LoopInfo] Take no dominator tree in verify(). NFC (#212414)

Similar to the recent change that makes analyze() lazy in building
DomTree.
https://invent.kde.org/qt/clang/llvm-project/-/commit/022bf7ba97fa1897bf52cf3db2e3fa42cd19b29f

Git commit 9ccf2a81a1b86c6b4d953259bbbdc678cc791493 by GitHub (on behalf of Akimasa Watanuki) on 28/07/2026 at 07:09..
[MLIR][LLVM] Preserve default function attributes on invokes (#212263)

Represent `default_func_attrs` on `LLVM::InvokeOp` and translate the
collection onto the generated LLVM invoke instruction. Preserve default
call-site attributes when throwing calls are lowered through the LLVM
dialect, including CIR `try_call` operations.
https://invent.kde.org/qt/clang/llvm-project/-/commit/9ccf2a81a1b86c6b4d953259bbbdc678cc791493

Git commit 4df68548fcfd82ddfdfe5ae52e691966065cf2e1 by GitHub (on behalf of Lang Hames) on 28/07/2026 at 07:14..
[orc-rt] Reorder wrapper-fn args to trailing-callback style. (#212243)

Bring the wrapper-function call and return prototypes into line with the
convention adopted for orc_rt_Session_callController: the session handle
comes first, then the payload buffer, then the completion callback
immediately followed by its threaded token, with the token last.

  orc_rt_WrapperFunctionReturn: (S, CallId, ResultBytes)
                             -> (S, ResultBytes, CallId)
  orc_rt_WrapperFunction:       (S, CallId, Return, ArgBytes)
                             -> (S, ArgBytes, Return, CallId)

The C++ adapters that mirror these signatures are updated to match --
WrapperFunction::handle, SPSWrapperFunction::handle, the
ORC_RT_SPS_WRAPPER macro, and StructuredYield -- along with the Session
dispatch path and the affected unit tests. No functional change beyond
argument order.
https://invent.kde.org/qt/clang/llvm-project/-/commit/4df68548fcfd82ddfdfe5ae52e691966065cf2e1

Git commit 7bc2770064d3afbb4ce49c159d99c69a9e4b5c5b by GitHub (on behalf of Pavel Labath) on 28/07/2026 at 07:25..
[libc] Make assert_test hermetic (#210700)

Call our own close() instead of the system one.
https://invent.kde.org/qt/clang/llvm-project/-/commit/7bc2770064d3afbb4ce49c159d99c69a9e4b5c5b

Git commit 214f296b2908811fcd4e32d1c6e36cef3d30d687 by Daniil Kovalev on 28/07/2026 at 09:46..
[PAC][clang][test] Fix incorrect usage of `-NOT` suffix for FileCheck

Previously, `-NOT` checks were not doing what was intended: checking
that given strings are not present within the same line where other
patterns are confirmed present by other checks. `-NOT` semantics is
checking pattern absense in between other checks, not total absense.

This patch makes use of `--implicit-check-not` instead for this purpose.
https://invent.kde.org/qt/clang/llvm-project/-/commit/214f296b2908811fcd4e32d1c6e36cef3d30d687
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.