[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/shiltian/unclause_prefetch'.
Changed from 0000000000000000000000000000000000000000 to cec86581b3bb6938cfc8cff724286d150acc10ad
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 dbacea2912ae76f162ed622212a2804f2b32bd00 by GitHub (on behalf of Arseniy Obolenskiy) on 05/08/2026 at 03:10..
[AMDGPU] Reject non-fp16 image sample data in D16 detection while lowering image (#213272)
https://invent.kde.org/qt/clang/llvm/-/commit/dbacea2912ae76f162ed622212a2804f2b32bd00

Git commit c15a90d299f4cab284f9d5e78922a86395de40a1 by GitHub (on behalf of Zeyi Xu) on 05/08/2026 at 03:15..
[RISCV][MC] Add experimental Smijt, Ssijt, Smehv, and Ssehv support (#213431)

Add support for version 0.19 of the Smijt, Ssijt, Smehv, and Ssehv
extensions from the RISC-V fast interrupt specification.
https://invent.kde.org/qt/clang/llvm/-/commit/c15a90d299f4cab284f9d5e78922a86395de40a1

Git commit cec86581b3bb6938cfc8cff724286d150acc10ad by Shilei Tian on 05/08/2026 at 03:52..
[AMDGPU][GFX1250] Use null register for global_prefetch_b8 instead of s[0:1]

Fixes ROCM-28799.
https://invent.kde.org/qt/clang/llvm/-/commit/cec86581b3bb6938cfc8cff724286d150acc10ad