[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/kparzysz/c03-directives'.
Changed from d080767430ac7431aa86e19c6acd2006cae3ac78 to 6e4eadc20e8519b3ecc92ff20f41cca3b4e8641e
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 1faa9f73119f007583ca829e07d78e82a40f1bae by GitHub (on behalf of Ramkumar Ramachandra) on 18/07/2026 at 11:14..
[VPlan] Infer SrcTy in createScalarExtOrTrunc (NFC) (#210423)

The argument is redundant and can be inferred from Op.
https://invent.kde.org/qt/clang/llvm-project/-/commit/1faa9f73119f007583ca829e07d78e82a40f1bae

Git commit d46a352ecf9708255a938e6d5e972b5221de4c2c by GitHub (on behalf of David Mentler) on 18/07/2026 at 11:23..
[lldb] Fix TestSBValueSetTypeSyntheticOverride with libstdc++ (#210495)

My test added in #209056 assumed that a `CXXSyntheticChildren`
implementation for `std::vector` is readily available on all platforms,
that is not the case.

Do the simplest thing and remove this part of the test for now.

Fixes: https://lab.llvm.org/buildbot/#/builders/59/builds/35839
```
FAIL: test (TestSBValueSetTypeSyntheticOverride.TestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/test/API/python_api/sbvalue_set_type_synthetic_override/TestSBValueSetTypeSyntheticOverride.py", line 22, in test
    self.checkOverride(vec, before=None)
  File "/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/test/API/python_api/sbvalue_set_type_synthetic_override/TestSBValueSetTypeSyntheticOverride.py", line 43, in checkOverride
    self.assertIsNone(impl_before)
AssertionError: <lldb.formatters.cpp.gnu_libstdcpp.StdVectorSynthProvider object at 0xfb088f787bb0> is not None
```
https://invent.kde.org/qt/clang/llvm-project/-/commit/d46a352ecf9708255a938e6d5e972b5221de4c2c

Git commit e96755f08bab48f1578bd70a1f55d336b5e44a69 by GitHub (on behalf of Ramkumar Ramachandra) on 18/07/2026 at 11:25..
[VPlan] Factor vputils::getOpcodeOrIntrinsicID (NFC) (#208993)

The check for recipes in vputils::isElementWise is necessary to prevent
regressions.
https://invent.kde.org/qt/clang/llvm-project/-/commit/e96755f08bab48f1578bd70a1f55d336b5e44a69

Git commit 1f4d6acc935f93eca55cfef67348c8abcc1415db by GitHub (on behalf of pzoln) on 18/07/2026 at 11:58..
[mlir][bufferization] Avoid invalid memref.cast in to_buffer folding (#208973)

Fixes #202782

When folding bufferization.to_buffer(bufferization.to_tensor(...)), only
create a memref.cast if the source and destination memref types are
cast-compatible.

This avoids asserting on unranked memrefs with different memory spaces
and leaves the original bufferization ops in place instead.

 Assisted-by: OpenAI Codex
https://invent.kde.org/qt/clang/llvm-project/-/commit/1f4d6acc935f93eca55cfef67348c8abcc1415db

Git commit c69896aa8733ceed6e8cc982eec64b97f277f926 by GitHub (on behalf of lonely eagle) on 18/07/2026 at 12:16..
[mlir][interface] Use populateAndCompare cleanup compare (NFC) (#200156)
https://invent.kde.org/qt/clang/llvm-project/-/commit/c69896aa8733ceed6e8cc982eec64b97f277f926

Git commit af0aa9440f1121bd5041a3dd7abef0d78b0f91cd by GitHub (on behalf of Anatoly Trosinenko) on 18/07/2026 at 12:18..
[AArch64][PAC] Rework the expansion of AUT/AUTPAC pseudos (#169699)

Refactor `AArch64AsmPrinter::emitPtrauthAuthResign` to improve
readability and tune the conditions when `emitPtrauthDiscriminator` is
allowed to clobber address discriminator operands.

When resigning, do not clobber address discriminator register used for
authentication if it is also used for signing. Such clobbering would
prevent passing raw, 64-bit value as the new discriminator. Clarify
other corner cases of clobbering address discriminator operands.

Reuse `enum PtrauthCheckMode` instead of separate `ShouldCheck` and
`ShouldTrap` flags and drop its `Default` enumerator.
https://invent.kde.org/qt/clang/llvm-project/-/commit/af0aa9440f1121bd5041a3dd7abef0d78b0f91cd

Git commit 0c5b2258f0b517c0822e5b2f8e6a8de311d6db9d by GitHub (on behalf of Florian Hahn) on 18/07/2026 at 12:36..
[SCEV] Infer no-wrap flags for shl by a constant. (#208434)

Treat `shl %a, C` as `mul %a, 1 << C` in
getStrengthenedNoWrapFlagsFromBinOp
if possible.

Only transfer NSW from shl to mul, if the shift amount is < Bitwidth -
1, otherwise the result would be more poisonous.

Alive2 proofs: https://alive2.llvm.org/ce/z/iBPpkv

Compile-time impact in noise:
https://llvm-compile-time-tracker.com/compare.php?from=a037729976f91dc11b41a76834dfca9d8812c4fe&to=2050d622aed5606774f0902b352bbb2142e654e1&stat=instructions:u

PR: https://github.com/llvm/llvm-project/pull/208434
https://invent.kde.org/qt/clang/llvm-project/-/commit/0c5b2258f0b517c0822e5b2f8e6a8de311d6db9d

Git commit d199b284c7d3f98bb7afbbca9e79e078a1da55fe by GitHub (on behalf of Lang Hames) on 18/07/2026 at 13:14..
[orc-rt] Drop callManagedCodeAsync; tokens guard execution (#210508)

callManagedCodeSync is renamed to callManagedCode, and
callManagedCodeAsync is removed.

callManagedCodeAsync held a ManagedCodeTaskGroup token from the initial
call until the async continuation ran -- across the gap in which the
call is suspended and no managed code is executing. A token is meant to
guard managed code that is executing on a stack, so holding one across
that gap guards nothing while blocking shutdown.

callManagedCode holds a token only for the synchronous call to the
wrapped function, including anything the function runs inline on the
same thread before returning. An async function is called the same way,
with its continuation passed as an ordinary argument. Work deferred past
the function's return -- stashed, or handed to another thread -- runs on
a stack the token no longer guards; whoever later runs it is responsible
for ensuring a token covers it, acquiring one and aborting if the
acquire is denied.

See the new "Managed code execution and shutdown" section in
docs/Design.md for the full model (what a token guards, nested entries,
context-free acquire, and the abortability obligation).
https://invent.kde.org/qt/clang/llvm-project/-/commit/d199b284c7d3f98bb7afbbca9e79e078a1da55fe

Git commit 7b446294e098c7c02bbc998da1b4a438f7270879 by GitHub (on behalf of Krzysztof Parzyszek) on 18/07/2026 at 13:22..
[Support] Add constexpr versions of Add/Sub/MulOverflow (#210404)

<sub>Stack created with <a
href="https://github.com/github/gh-stack">GitHub Stacks CLI</a> • <a
href="https://gh.io/stacks-feedback">Give Feedback 💬</a></sub>
https://invent.kde.org/qt/clang/llvm-project/-/commit/7b446294e098c7c02bbc998da1b4a438f7270879

Git commit 36c812f77142aa77b99b4e4d059ccba591a944c0 by GitHub (on behalf of Krzysztof Parzyszek) on 18/07/2026 at 13:22..
[ADT] Make enum iterators constexpr (#210405)

<sub>Stack created with <a
href="https://github.com/github/gh-stack">GitHub Stacks CLI</a> • <a
href="https://gh.io/stacks-feedback">Give Feedback 💬</a></sub>
https://invent.kde.org/qt/clang/llvm-project/-/commit/36c812f77142aa77b99b4e4d059ccba591a944c0

Git commit fdf1adc8910ce4083d4c18205f665ef3c30cc851 by GitHub (on behalf of Lang Hames) on 18/07/2026 at 13:28..
[orc-rt] Add comment for Session::HandlerTag type. NFC. (#210510)
https://invent.kde.org/qt/clang/llvm-project/-/commit/fdf1adc8910ce4083d4c18205f665ef3c30cc851

Git commit af0c933eda31b6beb436026a22121ec637f3cb53 by GitHub (on behalf of Ramkumar Ramachandra) on 18/07/2026 at 13:49..
[IR] Make semantics of strictfp consistent (#209465)

Although the section on constrainedfp in the LangRef clearly states "All
function definitions that use constrained floating point intrinsics must
have the strictfp attribute", indicating that a function with strictfp
calls must be marked with strictfp, the general description of strictfp
does not specify this. Refine its semantics and make it so, eliminating
the inconsistency.
https://invent.kde.org/qt/clang/llvm-project/-/commit/af0c933eda31b6beb436026a22121ec637f3cb53

Git commit 94b08b5de90dc21453a1dcde10cc1cd44ba93f7c by GitHub (on behalf of Alex Rønne Petersen) on 18/07/2026 at 13:50..
[Support] Improve the logic for re-raising signals (#177864)

On most systems, checking `si_pid` is not actually valid unless
`si_code` equals one of the relevant signal codes (`SI_USER`,
`SI_QUEUE`, and on some OSs, `SI_LWP`), or the signal is `SIGCHLD`. So
on e.g. NetBSD, we would misinterpret the `SIGSEGV` fault address as the
sending PID and incorrectly conclude that the signal came from a
different process.

But as far as I can tell, there's not even a valid reason for us to be
checking `si_pid != getpid()`, because the signal could very well have
been explicitly sent by another thread in the current process. So we
really just need to check `si_code` for the aforementioned signal codes.

Darwin is the exception because it just doesn't set `si_code` at all in
the case of the `SI_*` signal codes. So keep the old logic there, even
though it misses the corner case of signals sent by a thread in the
current process.

While here, I also changed the error check for Linux
`rt_tgsigqueueinfo()` as it was not at all clear to me how we would ever
see `EPERM` from sending a signal to the current thread. Besides, it's
sensible to go to the `raise()` path as a last resort regardless of how
`rt_tgsigqueueinfo()` failed (e.g. `ENOSYS` on an old kernel).
https://invent.kde.org/qt/clang/llvm-project/-/commit/94b08b5de90dc21453a1dcde10cc1cd44ba93f7c

Git commit f6d9ec41d30b453c939bbaa1c73b876ce1389ee9 by GitHub (on behalf of 陈子昂) on 18/07/2026 at 14:39..
[RISCV] Add packed narrowing convert intrinsics (#210389)

Add RISC-V P-extension packed narrowing convert header APIs for `pncvt`
and `pncvth`.

The new APIs lower through generic IR: RV32 uses truncate / logical
shift plus truncate forms, while RV64 uses existing packed unzip shuffle
forms. This reuses the existing backend lowering and TableGen aliases
rather than adding intrinsic-specific lowering.

Tests cover Clang IR generation and cross-project header assembly checks
for RV32/RV64 spec-listed mnemonics.
https://invent.kde.org/qt/clang/llvm-project/-/commit/f6d9ec41d30b453c939bbaa1c73b876ce1389ee9

Git commit be68a8829d6d6a2186f962b37d83984961cedeb1 by GitHub (on behalf of Krzysztof Parzyszek) on 18/07/2026 at 15:17..
[ADT] Fix non-assertion build after 36c812f771 (#210511)

E.g. https://lab.llvm.org/buildbot/#/builders/228/builds/5253
https://invent.kde.org/qt/clang/llvm-project/-/commit/be68a8829d6d6a2186f962b37d83984961cedeb1

Git commit 53096b7a2d268ab92617436915bc6f9f3cf8d82e by GitHub (on behalf of AntonyCJ30) on 18/07/2026 at 15:35..
[X86][APX] Optimize usub.sat(X,1) to cmp+adc with NDD (#208475)

When NDD is available, usub.sat(X, 1) is lowered from xor+sub+cmov (3
insns) to cmp+adc (2 insns).

All X86 tests pass.

Fixes #207888

Co-authored-by: AntonyCJ30 <cj6186609@[email protected]>
https://invent.kde.org/qt/clang/llvm-project/-/commit/53096b7a2d268ab92617436915bc6f9f3cf8d82e

Git commit c739ce632b1489dcdbaad72df64a9cec9a8ed359 by GitHub (on behalf of Taimuraz Kaitmazov) on 18/07/2026 at 15:41..
[TableGen] Diagnose sub-register indices that overflow their register (#206346)
https://invent.kde.org/qt/clang/llvm-project/-/commit/c739ce632b1489dcdbaad72df64a9cec9a8ed359

Git commit 6e4eadc20e8519b3ecc92ff20f41cca3b4e8641e by Krzysztof Parzyszek on 18/07/2026 at 15:42..
[OpenMP] Add constexpr enum ranges for all clauses and all directives
https://invent.kde.org/qt/clang/llvm-project/-/commit/6e4eadc20e8519b3ecc92ff20f41cca3b4e8641e
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.