[qt/clang/llvm]: 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 Pushed by mirror-service into branch 'upstream/users/pierre-vh/split-waitcntbrackets'. Changed from 5201a4fd1e7a30f8845ffafcb72731245e8b780c to 2ab35930222df24720f1bd8597ecbb61a4181ca6 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 f2ef5670cf70371153caeb0ebbeae2323a61f8e0 by GitHub (on behalf of Carl Ritson) on 17/07/2026 at 05:23.. [AMDGPU] Refactor GFX11 VALU Mask Hazard Waitcnt Merging (#169213) Move GFX11 SGPR VALU mask hazard waitcnt merging to the a forward scan within the AMDGPUWaitSGPRHazard pass. This simplifies the hazard recognizer code and allows merging of waitcnt instructions in cases where SGPRs unaffected by pending writes are used. In turn this greatly decreasing numbers of waits inserted in sequences of V_CMP instructions writing SGPRs improving VALU pipeline performance. https://invent.kde.org/qt/clang/llvm/-/commit/f2ef5670cf70371153caeb0ebbeae2323a61f8e0 Git commit 78ed03f555ea75d2337f618930c062f4d881a08b by GitHub (on behalf of Eugene Epshteyn) on 17/07/2026 at 05:29.. [flang] Add lowering tests for parenthesized initial values (#209664) Add a LIT test that baselines the current lowering of parenthesized initial values in fir.global initializer regions. Today a parenthesized scalar or derived constant survives constant folding as a Parentheses node and is lowered to a fir.no_reassoc operation inside the global init region, while parentheses around characters, array named-constants, and structure-constructor components are stripped before lowering. This test pins that behavior so that an upcoming change to the initializer-lowering path shows its behavior delta explicitly and has a regression guard. Assisted-by: AI https://invent.kde.org/qt/clang/llvm/-/commit/78ed03f555ea75d2337f618930c062f4d881a08b Git commit 15ae01dd24261bd70947aab884098e5dcd4096dd by GitHub (on behalf of David Zbarsky) on 17/07/2026 at 05:38.. [clangd][Support] Outline LSP payload decode errors (#203121) Move failed payload handling from `clangd::LSPBinder::parse<T>` and `llvm::lsp::MessageHandler::parse<T>` into their non-inline `handleParseError` functions, while keeping successful payload conversion specialized in each `parse<T>` instantiation. For a Darwin arm64 build, stripped clangd decreased by 32,848 bytes and `__TEXT,__text` decreased by 25,180 bytes. `ClangdTests --gtest_filter=LSPBinderTest.*` passes, and `llvm/lib/Support/LSP/Transport.cpp` passes a standalone syntax compile. Work towards #202616 AI tool disclosure: Co-authored with OpenAI Codex. Co-authored-by: OpenAI Codex <[email protected]> https://invent.kde.org/qt/clang/llvm/-/commit/15ae01dd24261bd70947aab884098e5dcd4096dd Git commit c488b2c2407bf29bb20f67bb8f3cf39c637d231e by GitHub (on behalf of Sameer Sahasrabuddhe) on 17/07/2026 at 05:39.. [Docs][AMDGPU] Consistent use of "wave-uniform", "per-lane" and "immediate" (#209974) When documenting DMA operations, use consistent qualifiers (wave-uniform, per-lane, immediate) instead of referring to SGPRs and VGPRs. Assisted-By: Claude Opus 4.6 https://invent.kde.org/qt/clang/llvm/-/commit/c488b2c2407bf29bb20f67bb8f3cf39c637d231e Git commit a376783e2ed3a44f63991c97513711faad09525b by GitHub (on behalf of maflcko) on 17/07/2026 at 05:42.. [compiler-rt][ubsan] Fix suppressions for inlined functions (#206735) Align suppression PC handling with getCallerLocation(), so function suppressions identify the inlined function that caused a report. Intentionally match only the innermost inline frame. Extend suppressions-nested-calls.c coverage to -O1. Fixes https://github.com/llvm/llvm-project/issues/209501 --------- Co-authored-by: MarcoFalke <*~=`'#}+{/-|&$^[email protected]> https://invent.kde.org/qt/clang/llvm/-/commit/a376783e2ed3a44f63991c97513711faad09525b Git commit 30bc042395a6cf0aa1e5de4fcc625d5b8c611767 by GitHub (on behalf of maflcko) on 17/07/2026 at 05:50.. [compiler-rt][test] Use configured Python for lit page-size probe (#209175) Use the same Python executable configured for the test suite, rather than relying on python3 being on PATH. Co-authored-by: MarcoFalke <*~=`'#}+{/-|&$^[email protected]> https://invent.kde.org/qt/clang/llvm/-/commit/30bc042395a6cf0aa1e5de4fcc625d5b8c611767 Git commit c5837b469c6d6f35eb0822cd9ebd7c2aa7e2ab75 by GitHub (on behalf of Pavel Labath) on 17/07/2026 at 05:54.. [libc][bazel] Add remaining sys/socket functions and tests (#209798) This patch adds the following sys/socket functions and syscall wrapper libraries to BUILD.bazel: - accept - accept4 - bind - connect - getpeername - getsockname - listen - sockatmark I'm also enabling the unit tests for these functions. Running AF_UNIX socket tests under Bazel ran into a problem where the absolute path to the test sandbox directory exceeds the 108-byte limit of sockaddr_un::sun_path. To work around that, I added a TestDirectoryScope helper that temporarily chdirs into the test directory so the tests can use short relative filenames, and restores the original working directory on exit. Assisted by Gemini. https://invent.kde.org/qt/clang/llvm/-/commit/c5837b469c6d6f35eb0822cd9ebd7c2aa7e2ab75 Git commit 9445ad3f91d4331eead867f8b3c9c8a3818edac0 by GitHub (on behalf of Rana Pratap Reddy) on 17/07/2026 at 06:20.. [CIR][AMDGPU] Adds `__amdgpu_buffer_rsrc_t` in the buffer-resource address space (#204782) CIR previously lowering every AMDGPU opaque pointer to `!cir.ptr<!void>`. Now `__amdgpu_buffer_rsrc_t` lower to `!cir.ptr<!void, target_address_space(8)>` similar to (`ptr addrspace(8)` in LLVM IR) matching CodeGen. This change requires for upcoming raw buffer load/store/atomic builtins. Those builtins `__builtin_amdgcn_raw_buffer_load/store_b*, __builtin_amdgcn_raw_ptr_buffer_atomic_*` take a `__amdgpu_buffer_rsrc_t` as operand, and the corresponding LLVM intrinsics expect a `ptr addrspace(8)` resource argument. https://invent.kde.org/qt/clang/llvm/-/commit/9445ad3f91d4331eead867f8b3c9c8a3818edac0 Git commit 513ac13e7e5037af4b39c8c582dd7927f4c807fc by GitHub (on behalf of SiHuaN) on 17/07/2026 at 06:21.. [Clang][RISCV] Add P extension reinterpret cast intrinsics (#210241) Implement the "Reinterpret casts" section of the RISC-V P extension intrinsic spec in `riscv_packed_simd.h`. The 82 `__riscv_preinterpret_<from>_<to>` intrinsics provide bit-pattern-preserving conversions between packed types and equal-width scalars, and between equal-width packed types. They generate no instructions; each is a `__builtin_bit_cast`. https://invent.kde.org/qt/clang/llvm/-/commit/513ac13e7e5037af4b39c8c582dd7927f4c807fc Git commit 61fa8d3db491c4a864242f22ce31b730fb78ecb5 by GitHub (on behalf of Matt Arsenault) on 17/07/2026 at 06:22.. CodeGen: Rename LibcallLoweringModuleAnalysisResult to ModuleLibcallLoweringInfo (#210176) https://invent.kde.org/qt/clang/llvm/-/commit/61fa8d3db491c4a864242f22ce31b730fb78ecb5 Git commit 6f2bd9fd1a5e7c61893abf2f1e9246610e6a32f8 by GitHub (on behalf of Valentin Clement (バレンタイン クレメン)) on 17/07/2026 at 06:28.. [flang][cuda] Add option to flag descriptor I/O as error (#210170) Descriptor I/O is too expensive in some compilation mode (nordc). Add ability to emit an error if they are found in device code. https://invent.kde.org/qt/clang/llvm/-/commit/6f2bd9fd1a5e7c61893abf2f1e9246610e6a32f8 Git commit 02f55a9e5e4775bc17cc23f9d1e7f5ee23cf63cd by GitHub (on behalf of Pavel Labath) on 17/07/2026 at 06:44.. [libc] add net/if.h to the list of installed headers (#210021) on aarch64, riscv and x86_64. https://invent.kde.org/qt/clang/llvm/-/commit/02f55a9e5e4775bc17cc23f9d1e7f5ee23cf63cd Git commit c571b0bd7330a4b737ad7dec31e7f2b52edd3953 by GitHub (on behalf of Pavel Labath) on 17/07/2026 at 06:45.. [libc] Fix size of struct sockaddr_storage (#210037) My cleverness with the union backfired as it introduced an (architecture-specific) padding between before it. Drop the union to avoid that. This probably wouldn't break much as the structure exists just to allocate space (and this made it larger), but we should fix it nonetheless. https://invent.kde.org/qt/clang/llvm/-/commit/c571b0bd7330a4b737ad7dec31e7f2b52edd3953 Git commit c4903855b64ee801d1b9caeb970921a63475c98b by GitHub (on behalf of Michael Kruse) on 17/07/2026 at 07:01.. [fakeflang] Also detect CMakeTestGNU.c (#210175) Two fixes when using CMake < 3.28 after #209482: * In addition to `flang`, also recognize `fakeflang` to determine whether any workaround for CMake not completely supporting Flang is needed. `fakeflang` is used as a shim in #209482. * For CMake < 3.24, CMake does not reognize Flang at all and tries other methods to detect to the compiler, including the file `CMakeTestGNU.c`. Make `fakeflang` recognize it as a probe attempt. This should fix the [openmp-offload-amdgpu-clang-flang](https://lab.llvm.org/buildbot/#/builders/67) buildbot. The buildbot is currently upgrade to a newer CMake version, and the minimum required version of CMake will become 3.31 soon. https://invent.kde.org/qt/clang/llvm/-/commit/c4903855b64ee801d1b9caeb970921a63475c98b Git commit 66b4c2a23af4e2d61d708ad96a9da7fe3bcf3480 by pvanhout on 17/07/2026 at 07:14.. [RFC][AMDGPU][InsertWaitcnts] Move `WaitcntBrackets` to a separate file My previous stack of patches de-tangled quite a bit of InsertWaitcnt, and now `WaitcntBrackets` can be moved into a separate file fairly easily. I'm proposing this as a RFC. While I think this is a net positive, I don't want to force this through if others feel it's unnecessary. Implementation: This pretty much moves `WaitcntBrackets` as-is, with a few changes: - Instead of having a pointer to `SIInsertWaitcnts` for the "context" there is now a "Info" class that `SIInsertWaitcnts` implements. This enforces a small separation between the classes, not enough to force a massive redesign, but enough that we can't just access the entire state of `InsertWaitcnts` at will. - Some unused/unnecessary functions were removed or made private. - I reorganized the code a bit: moved all private functions together, moved method implementations to the .cpp if they had more than 2 lines of code. The goal is to keep things somewhat organized so it's easy to glance at the file and see how this works. Motivation: While we have no use for a reusable `WaitcntBrackets` yet, separating it in another file and acting as-if it's meant to be reusable has the big advantage of removing the "god-object" connection between `WaitcntBrackets` and `WaitcntGenerator` via the `SIInsertWaitcnt` class. This helps separate concerns better which, IMHO, will reduce the maintenance burden a bit. This also allows for splitting the decl and definition of `WaitcntBrackets` method, making the API easier to digest at a glance. It gives the implementation a bit more room to grow as well. Future direction: I can imagine splitting `WaitcntGenerator` similarly, but I am not sure yet if that's desirable so we will see. Now that `WaitcntBrackets` is split up, it'd also be nice too move towards a simpler API for it so that the way things are tracked is opaque to `InsertWaitcnt`. Maybe then we can start playing with alternative implementations of `WaitcntBrackets`, like having a more precise, newer tracking system that can be selected dynamically. That's something I'd like to eventually explore as there's been a mention of having a "per-event timeline instead of per-counter timeline" for many years. Assisted-By: Claude Sonnet 5 Claude was only used to generate the boilerplate of the files (create header/cpp + add to CMakeLists). I wrote all the code/logic myself. https://invent.kde.org/qt/clang/llvm/-/commit/66b4c2a23af4e2d61d708ad96a9da7fe3bcf3480 Git commit 565fc186dd26e1cba6dca431f1f47676ec593f7a by pvanhout on 17/07/2026 at 08:13.. Avoid virtual dispatch https://invent.kde.org/qt/clang/llvm/-/commit/565fc186dd26e1cba6dca431f1f47676ec593f7a Git commit 2ab35930222df24720f1bd8597ecbb61a4181ca6 by pvanhout on 17/07/2026 at 10:14.. Fix merge https://invent.kde.org/qt/clang/llvm/-/commit/2ab35930222df24720f1bd8597ecbb61a4181ca6