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

KDE Git Services - Bulk Change <[email protected]> Wed, 5 Aug 2026 06:12:12 +0000 (UTC)
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/hev/ve2gr-zext'.
Changed from 0000000000000000000000000000000000000000 to 15af95a889271800e76356e6076fdbf45483852a
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 66032aa8886cfffe19ecf4f3953eb9ced1455724 by GitHub (on behalf of Andres-Salamanca) on 04/08/2026 at 23:39..
[CIR] Change previous coroutine builtins to have their own coro intrinsic ops (#211699)

This PR introduces dedicated CIR operations for the coroutine intrinsics
(`coro.intrinsic.id`, `coro.intrinsic.alloc`, `coro.intrinsic.begin`,
`coro.intrinsic.free`, `coro.intrinsic.end`, `coro.intrinsic.size`)
instead of emitting them as calls to hand-created builtin functions.
LLVM IR already has its own dedicated ops for these cases, so this
follows the same pattern at CIR.

Along the way this also changes how coroutine builtins are handled in
`CIRGenBuiltin`: previously the intrinsics emitted automatically as part
of lowering `EmitCoroutineBody` and the ones triggered by an explicit
`__builtin_coro_*` call written in user source code were going through
the same path. This PR separates the two, since they're conceptually
different emission points.

New tests covering these builtins are included as well.

Also added explicit `errorNYI` messages for the remaining
`__builtin_coro_*` cases that aren't implemented yet (`coro_promise`,
`coro_resume`, `coro_noop`, `coro_destroy`, `coro_done`, `coro_end`,
`coro_suspend`, `coro_align`). @bcardosolopes The ClangIR Progress
Report (July 2026) showed 33 hits on the generic coroutine NYI error,
with no way to tell which specific builtin was missing these per case
messages fix that going forward.

A few things intentionally left out of scope for this PR, to keep it
reviewable:
- LLVM lowering for these new intrinsics  follow-up PR.
- The different `coro.size` variants for 32/64-bit  follow-up PR.
- `coro.end`'s current signature is wrong and needs fixing follow-up PR.
https://invent.kde.org/qt/clang/llvm/-/commit/66032aa8886cfffe19ecf4f3953eb9ced1455724

Git commit af2a0e9c8897060b4442e7d096459aad922f37d6 by GitHub (on behalf of hulxv) on 05/08/2026 at 00:38..
[compiler-rt][cmake] filter libc-backed builtins superseded by assembly (#213481)

apply
https://github.com/llvm/llvm-project/pull/209900#discussion_r3615454574

fix the duplication that causes issues like this:
```
 lit-23: /__w/llvm-project/llvm-project/compiler-rt/test/builtins/Unit/lit.cfg.py:186: fatal: builtins_source_features contains duplicates: ['librt_has_floatdidf', 'librt_has_floatdisf', 'librt_has_floatundidf', 'librt_has_floatundisf']
FAILED: compiler-rt/test/builtins/CMakeFiles/check-builtins /__w/llvm-project/llvm-project/build/compiler-rt/test/builtins/CMakeFiles/check-builtins 
cd /__w/llvm-project/llvm-project/build/compiler-rt/test/builtins && /usr/bin/python3 /usr/bin/lit-23 -sv --show-xfail --show-unsupported /__w/llvm-project/llvm-project/build/compiler-rt/test/builtins/TestCases /__w/llvm-project/llvm-project/build/compiler-rt/test/builtins/Unit/X86_64LinuxConfig
ninja: build stopped: subcommand failed.
```

Part of #197824
https://invent.kde.org/qt/clang/llvm/-/commit/af2a0e9c8897060b4442e7d096459aad922f37d6

Git commit 723eaa4f83396c81212784fb0006e3ca4be19441 by GitHub (on behalf of Prabhu Rajasekaran) on 05/08/2026 at 02:00..
[libc][cmake] Enable assertions and Werror for baremetal builds (#214093)

Enable LLVM_ENABLE_ASSERTIONS and LLVM_ENABLE_WERROR in
baremetal_common.cmake
to ensure pre-merge checks catch assertion failures and compiler
warnings for
baremetal targets.

Assisted-by: Gemini
https://invent.kde.org/qt/clang/llvm/-/commit/723eaa4f83396c81212784fb0006e3ca4be19441

Git commit 3d6ac5a9ba252cbaf8d12cecef89d015f1ffe0f7 by GitHub (on behalf of Longsheng Mou) on 05/08/2026 at 02:10..
[mlir][func] Fix a crash in DuplicateFunctionEliminationPass (#209667)

Previously, we used `SymbolUserMap::replaceAllUsesWith` to replace
symbols, but this could not update the symbol table cached by
`SymbolUserMap` during traversal, leading to a crash. This PR switches
to `SymbolTable::replaceAllSymbolUses`, which always operates on the
latest symbol table and avoids the crash. Fixes #209648.
https://invent.kde.org/qt/clang/llvm/-/commit/3d6ac5a9ba252cbaf8d12cecef89d015f1ffe0f7

Git commit 1c7ac386dcf0577614743ac07793c049ef18dfe3 by WANG Rui on 05/08/2026 at 02:28..
[LoongArch][NFC] Add tests for vector extraction with zero extension
https://invent.kde.org/qt/clang/llvm/-/commit/1c7ac386dcf0577614743ac07793c049ef18dfe3

Git commit 15af95a889271800e76356e6076fdbf45483852a by WANG Rui on 05/08/2026 at 02:45..
[LoongArch] Use unsigned vector extract for zero extension

Add patterns to select VPICKVE2GR_BU/HU and [X]VPICKVE2GR_WU for vector
extraction followed by zero extension, eliminating redundant masking
instructions.
https://invent.kde.org/qt/clang/llvm/-/commit/15af95a889271800e76356e6076fdbf45483852a