[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/ergawy/namelist_empty_scalar_value'.
Changed from d00d24ba16992c4eee07ddad085428820592a51d to 2be863b8ad21de08cb6ee3d56ef1c29b2e239e2c
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 7d13e22df93ba9905851d6ea8d1536e67894998d by GitHub (on behalf of jinge90) on 24/07/2026 at 05:38..
Create symlink for llvm-link in libc docker image (#210929)
https://invent.kde.org/qt/clang/llvm-project/-/commit/7d13e22df93ba9905851d6ea8d1536e67894998d
Git commit bac13e7ea2cfcb250de462537b0e84d4403f5029 by GitHub (on behalf of Roland McGrath) on 24/07/2026 at 05:56..
[libc] Fix compilation when AVX is not available (#211726)
https://invent.kde.org/qt/clang/llvm-project/-/commit/bac13e7ea2cfcb250de462537b0e84d4403f5029
Git commit 906f520af01a4c788935f24caea00237b42624e2 by GitHub (on behalf of Vitaly Buka) on 24/07/2026 at 06:04..
[mlir] Fix alignment assertion for empty DenseArrayAttr (#211730)
After #207274, libc++ fails __assume_aligned assertion in
__assume_valid_range.
https://lab.llvm.org/buildbot/#/builders/25/builds/18994
`DenseArrayAttrImpl<T>::operator ArrayRef<T>()` is just a cast of
`raw.data()`. `raw` is aligned copy of range from
from BytecodeReader done by
Builtin_DenseArrayRawDataParameter allocator.
However, if range is empty, aligned copying was
omitted, leaving unaligned `ArrayRef<char>`.
The fix is to replace unaligned `ArrayRef<>` with
aligned default constructed.
https://invent.kde.org/qt/clang/llvm-project/-/commit/906f520af01a4c788935f24caea00237b42624e2
Git commit 9edfdc231c9811124bbb7e3943c578c538d46aba by GitHub (on behalf of Antonio Frighetto) on 24/07/2026 at 06:42..
[AggressiveInstCombine] Avoid converting first table element when folding table-based cttz (#211202)
Do not attempt to zext (or truncate) the table's first element into the
cttz input type, as the element type may be wider than the input type.
Instead, convert the cttz result and emit the select directly in the
table's access type, which is the final expected type as well. Minor
opportunity to favor using APInt when the first element has more than 64
active bits to avoid crashing.
Fixes: https://github.com/llvm/llvm-project/issues/210890.
https://invent.kde.org/qt/clang/llvm-project/-/commit/9edfdc231c9811124bbb7e3943c578c538d46aba
Git commit 3cba2943a9d391e2ba301dd37948ef8b248bb031 by GitHub (on behalf of Cullen Rhodes) on 24/07/2026 at 06:47..
[TableGen] Add register-info statistics (#211528)
Add statistics for the numbers of explicit and synthesized register
classes, along with the number of register pressure sets. This makes
growth in the generated register model easier to spot since it can be
surprising.
Assisted-by: codex
https://invent.kde.org/qt/clang/llvm-project/-/commit/3cba2943a9d391e2ba301dd37948ef8b248bb031
Git commit ee407f7e7069cccfdc1815de07e17cebf83d19f9 by GitHub (on behalf of Pavel Labath) on 24/07/2026 at 06:53..
Reapply "[libc] Port process utilities to hermetic mode and enable some tests" (#211484)
This reverts https://github.com/llvm/llvm-project/pull/210889
(https://github.com/labath/llvm-project/commit/b7f642fdb262e2ed3c2209b9a10017084e1595ad,
"Revert
recent changes to the hermetic tests"), re-applying
https://github.com/llvm/llvm-project/pull/209999
(https://github.com/labath/llvm-project/commit/9e2e9b33e14808541c0470b92ade34bee6608bf6,
"[libc] Port process
utilities to hermetic mode and enable some tests") and
https://github.com/llvm/llvm-project/pull/210715
(https://github.com/labath/llvm-project/commit/4bd1a447e136e60ea441370ac5d7b898aa4efab0,
"[libc] Make hermetic test
syscall deps linux-only"), which was reverted due to failures on the GPU
bots.
There are a couple of small changes w.r.t the original patches:
- This version disables the exit tests on builds that do not
support subprocess tests (via the newly introduced
LIBC_TEST_SUBPROCESS_TESTS). This is necessary because the GPU builds
contain the relevant entry points, which means their tests are not
skipped automatically.
- fix a typo in a variable name
- make the dependencies conditional on LIBC_TEST_SUBPROCESS_TESTS
instead of listing the target OSs directly. This is a no-op, as that's
exactly how the variable is defined, but it makes the code cleaner.
https://invent.kde.org/qt/clang/llvm-project/-/commit/ee407f7e7069cccfdc1815de07e17cebf83d19f9
Git commit aa590d15f2c9f035ad70cd532bba859e7d127160 by GitHub (on behalf of Arseniy Obolenskiy) on 24/07/2026 at 06:56..
[SPIR-V] Fix SPIRVTools download step failing on rerun (#211561)
Customized DOWNLOAD_COMMAND ran a raw `git clone`, which fails with
"destination path already exists" whenever ninja reruns the download
step against an already cloned checkout. Use the native
GIT_REPOSITORY/GIT_TAG (with default DOWNLOAD_COMMAND) step instead,
which handles this case correctly
https://invent.kde.org/qt/clang/llvm-project/-/commit/aa590d15f2c9f035ad70cd532bba859e7d127160
Git commit 6e68094d4bdd3d0cc7ea08f97992cc0436456637 by GitHub (on behalf of Fangrui Song) on 24/07/2026 at 07:02..
[UniformityAnalysis] Make BlockLabels transient and switch to SmallVector. NFC (#211734)
Drop the field from the descriptor and keep the labels in a
propagator-local SmallVector indexed by block number.
https://invent.kde.org/qt/clang/llvm-project/-/commit/6e68094d4bdd3d0cc7ea08f97992cc0436456637
Git commit 9e1be60f660c8cd78653ac6ddd6b73d7735079f9 by GitHub (on behalf of Thrrreeee) on 24/07/2026 at 07:07..
[BOLT][DebugInfo] Add DWARF64 support for BOLT (#206437)
BOLT currently assumes the DWARF32 format when it rewrites debug
sections. As a result, rewriting a binary that was compiled with
`-gdwarf64` either produces a corrupted output or fails `llvm-dwarfdump
--verify`. This patch adds DWARF64 support to the BOLT DWARF rewriter,
honoring each unit's DwarfFormat and emitting correct encodings DWARF64
for binaries, including mix DWARF32 and DWARF64.
https://invent.kde.org/qt/clang/llvm-project/-/commit/9e1be60f660c8cd78653ac6ddd6b73d7735079f9
Git commit 2be863b8ad21de08cb6ee3d56ef1c29b2e239e2c by ergawy on 24/07/2026 at 08:10..
[flang-rt] enable IsNamelistNameOrSlash lookahead for scalar namelist items
Problem
-------
An empty NAMELIST assignment on a scalar item — e.g. `l =` in
&nml l= i_count=7 r_value=2.72/
— aborted at runtime with
fatal Fortran runtime error: Bad character 'i' in LOGICAL input field
Every EditIntegerInput / EditRealInput / EditLogicalInput /
EditCharacterInput function starts its list-directed arm with
if (IsNamelistNameOrSlash(io)) return false; // no value
which peeks ahead (via SavedPosition, no stream consumption) for a
`<name>=` / `<name>%` / `<name>(` shape or one of the terminators
`/` `&` `$`, letting the reader bail cleanly for empty values and
short-array ends. That helper's first line is
if (!listInput || !listInput->namelistGroup()) return false;
InputNamelist however called ResetForNextNamelistItem with
`useDescriptor->rank() > 0 ? &group : nullptr`, so `namelistGroup_`
stayed null for scalars. The peek was silently disabled and the
value reader consumed the next namelist item's name as a bare token,
producing the abort above. Legacy nvfortran / gfortran accept empty
scalar assignments as "keep current value".
Solution
--------
Pass `&group` unconditionally to `ResetForNextNamelistItem`. Today
`IsNamelistNameOrSlash` uses `namelistGroup_` only as a boolean gate
(never as a lookup table), so widening it is a no-op for arrays and
enables the same empty-value / next-name detection for scalars.
NamelistTests.NanInputAmbiguity (which motivated the original pointer
form) still passes; three new tests cover the empty-scalar case, the
empty-array case, and an empty scalar surrounded by arrays.
https://invent.kde.org/qt/clang/llvm-project/-/commit/2be863b8ad21de08cb6ee3d56ef1c29b2e239e2c