[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/arsenm/amdgpu-export-feature-bitset'.
Changed from acd842c141740835ab387f65457d27acf8b296af to eef072d597fa0f1b30aa818c812a6acf46175fde
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 69685bb9ce2dc1976b9f4f852caaebdfd98485d1 by GitHub (on behalf of Louis Dionne) on 31/07/2026 at 17:20..
[libc++] Actually partially populate the container in a benchmark (#213146)

The "partially populated" variant of assignment was a copy-paste of the
"into cleared container" assignment.
https://invent.kde.org/qt/clang/llvm/-/commit/69685bb9ce2dc1976b9f4f852caaebdfd98485d1

Git commit dac66ca4776b18304249bb3a37f08915e5ad1bf4 by GitHub (on behalf of Louis Dionne) on 31/07/2026 at 17:21..
[libc++] Fix dangling reference in the associative container benchmarks (#213139)

Two insert benchmarks were registered with lambdas capturing insert_iter_iter_bench
by reference, unlike every other registration in this file, which captures by value.

RegisterBenchmark() stores the lambda by value and only invokes it from
RunSpecifiedBenchmarks(), which happens long after associative_container_benchmarks()
has returned, creating a dangling reference.
https://invent.kde.org/qt/clang/llvm/-/commit/dac66ca4776b18304249bb3a37f08915e5ad1bf4

Git commit 194d7d819f3ccf15c836323bc0efa34920045c0d by GitHub (on behalf of Timm Baeder) on 31/07/2026 at 17:21..
[llvm] Include ArrayRef.h in GenericCycleInfo.h (#213267)

Try to fix the llvm-x86_64-debian-dylib builder, which has been broken
for a while with:

```
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /usr/bin/clang++ -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/b/1/llvm-x86_64-debian-dylib/build/lib/CodeGen -I/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/lib/CodeGen -I/b/1/llvm-x86_64-debian-dylib/build/include -I/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/CodeGenPrepare.cpp.o -MF lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/CodeGenPrepare.cpp.o.d -o lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/CodeGenPrepare.cpp.o -c /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/lib/CodeGen/CodeGenPrepare.cpp
In file included from /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/lib/CodeGen/CodeGenPrepare.cpp:53:
In file included from /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/include/llvm/IR/CycleInfo.h:18:
/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/include/llvm/ADT/GenericCycleInfo.h:231:33: error: member reference base type 'ArrayRef' is not a structure or union
    return ArrayRef(BlockLayout).slice(Cyc.EntryBegin, Cyc.EntrySize);
           ~~~~~~~~~~~~~~~~~~~~~^~~~~~
```

see e.g.
https://lab.llvm.org/buildbot/#/builders/60/builds/5422/steps/5/logs/stdio


I'm not sure if this will help or not, I can't reproduce this locally
and nobody else seems to have the same problem(?).
https://invent.kde.org/qt/clang/llvm/-/commit/194d7d819f3ccf15c836323bc0efa34920045c0d

Git commit 9bc2dd1a7015b58c9c68e8174e5d2756d955c0ca by GitHub (on behalf of Louis Dionne) on 31/07/2026 at 17:21..
[libc++] Add an assertion for monotonic_buffer_resource's initial_size (#213136)

[mem.res.monotonic.buffer.ctor] requires initial_size to be greater than
zero for the two constructors that take one, but we silently accepted
zero. Add a hardening assertion for that precondition.

Fixes #213059
https://invent.kde.org/qt/clang/llvm/-/commit/9bc2dd1a7015b58c9c68e8174e5d2756d955c0ca

Git commit c433135c99fc3306ae93fa8cff9e5c00ad0ece3c by GitHub (on behalf of Louis Dionne) on 31/07/2026 at 17:25..
[libc++] Remove unused headers from <cmath> (#213114)

I believe these headers were relevant when we actually implemented
functions in `<cmath>`, but they are not anymore. Note that ::hypot in
particular is obtained from <math.h> like all the other math functions.

Co-authored-by: A. Jiang <[email protected]>
https://invent.kde.org/qt/clang/llvm/-/commit/c433135c99fc3306ae93fa8cff9e5c00ad0ece3c

Git commit 93da16b5edbd9b6b3e66199ec05012be22e3d306 by GitHub (on behalf of Vicky Nguyen) on 31/07/2026 at 17:27..
[CIR][AArch64] Upstream store (vstrq_p128) NEON builtins (#212677)

Related to https://github.com/llvm/llvm-project/issues/185382

CIR lowering for store intrinsics (`vstrq_p128`)
(https://arm-software.github.io/acle/neon_intrinsics/advsimd.html#store)

Port test from `clang/test/CodeGen/AArch64/poly128.c` to
`clang/test/CodeGen/AArch64/neon/store.c`
https://invent.kde.org/qt/clang/llvm/-/commit/93da16b5edbd9b6b3e66199ec05012be22e3d306

Git commit 0aa3c9e671fd54083c8c6484fbcfa4c4e36619b6 by GitHub (on behalf of Matt Arsenault) on 31/07/2026 at 17:29..
AMDGPU: Add missing smem-prefetch-insts to gfx12.5/gfx13 feature map (#213297)

fillAMDGCNFeatureMap omitted smem-prefetch-insts for gfx125x and gfx13,
so clang wrongly rejected __builtin_amdgcn_s_prefetch_data / _inst /
s_buffer_prefetch_data.

Co-authored-by: Claude (Claude-Opus-4.8)
https://invent.kde.org/qt/clang/llvm/-/commit/0aa3c9e671fd54083c8c6484fbcfa4c4e36619b6

Git commit bfc237a5154199383ce21d42f5ca55141a909c33 by GitHub (on behalf of Marc Auberer) on 31/07/2026 at 18:01..
[IR] Remove deprecated typed-pointer creation APIs (#212812)

Removes `PointerType::get(Type*, unsigned)`,
`PointerType::getUnqual(Type*)`, and `Type::getPointerTo(unsigned)`, the
last typed-pointer-creation leftovers from the opaque pointers
migration. All three have been marked deprecated for a while and have no
remaining in-tree callers; every caller already uses the
LLVMContext-taking overloads.

Co-authored-by: Claude <[email protected]>
https://invent.kde.org/qt/clang/llvm/-/commit/bfc237a5154199383ce21d42f5ca55141a909c33

Git commit 7afc89970fc3675d77e92aa091b65c078cacdcff by GitHub (on behalf of Koakuma) on 31/07/2026 at 18:02..
[SPARC] Add patterns for i64->i32 and i64->i16 BSWAP-STOREs (#210483)

The lack of those is causing instruction selection to fail.

Also, for completeness, add variants of extending/truncating ops for
LOAD-BSWAP pairs too.
https://invent.kde.org/qt/clang/llvm/-/commit/7afc89970fc3675d77e92aa091b65c078cacdcff

Git commit 71e5cb7526151701f2e2c4e37eaa20d1763c7cd4 by GitHub (on behalf of Razvan Lupusoru) on 31/07/2026 at 18:04..
[mlir][acc] Introduce ACCToLLVM and executable directive codegen (#213165)

Adds initial infrastructure for converting the acc dialect to LLVM,
specifically around generating libacctarget runtime calls. The current
libacctarget APIs are not yet finalized, but the draft proposal can be
found at https://github.com/llvm/llvm-project/pull/197894. This PR adds
codegen for acc init, shutdown, set, and wait.
https://invent.kde.org/qt/clang/llvm/-/commit/71e5cb7526151701f2e2c4e37eaa20d1763c7cd4

Git commit 5d4cd81d0e55c5fd30bda6e31950a04cae87b966 by GitHub (on behalf of Nick Sarnie) on 31/07/2026 at 18:07..
[offload][lit] Re-enable olCreateProgram JIT test on AMDGPU (#213321)

Should be passing now.

Context: https://github.com/llvm/llvm-project/pull/213149

Signed-off-by: Nick Sarnie <[email protected]>
https://invent.kde.org/qt/clang/llvm/-/commit/5d4cd81d0e55c5fd30bda6e31950a04cae87b966

Git commit e4de0dd15feff58299e5f2951ec1965b34bdec8f by GitHub (on behalf of vangthao95) on 31/07/2026 at 18:09..
AMDGPU/GlobalISel: Switch more FP opcodes to extended LLTs (part 3) (#213135)

Migrate trigonometric, division, remainder, multiply-add, and min/max
opcodes to extended floating-point LLTs.

Remove redundant scalar clamps that request unsupported f128-to-f64
narrowing, while retaining required f16-to-f32 widening.

Also update the relevant MIR tests.
https://invent.kde.org/qt/clang/llvm/-/commit/e4de0dd15feff58299e5f2951ec1965b34bdec8f

Git commit 8225c81dbfbd69986c17123cf806aa9b7fe03699 by GitHub (on behalf of Tim) on 31/07/2026 at 18:10..
[flang][debug] Add compressed DWARF support in Flang (#212584)

Re-use most of the clang implementation for compressed DWARF support in
flang.

AI attribution: Co-developed with Claude Opus 4.6
https://invent.kde.org/qt/clang/llvm/-/commit/8225c81dbfbd69986c17123cf806aa9b7fe03699

Git commit 1969f153000bbe1df620476ff99c3753a447728e by GitHub (on behalf of jimingham) on 31/07/2026 at 18:13..
Reapply "Make result variables obey their dynamic values in subsequent expressions" (#211321) (#213308)

This adds back the patch that makes result variables retain their
dynamic type when you use them in subsequent expressions or fetch their
SBValues.

This reverts commit e1af868257eb4a49db9149cc239ca9b9338d6419.

The first time I submitted this I had some flakey tests, but when I
fixed the accounting for synthetic children those went away. But the
patch was still failing in a set of ObjC tests on x86_64. Those failures
weren't caused by this patch, but rather uncovered a bug in Tagged
Pointer detection, which I fixed in:

https://github.com/llvm/llvm-project/pull/213163
https://invent.kde.org/qt/clang/llvm/-/commit/1969f153000bbe1df620476ff99c3753a447728e

Git commit 3b852e3b020d46046be8419ed476e63f26dd026a by GitHub (on behalf of Manasij Mukherjee) on 31/07/2026 at 18:15..
[TableGen] Use DenseMap in getValueType instead of StringSwitch (#213229)

StringSwitch is linear.
getValueType gets called often, identified by callgrind to be
responsible for 11% of the executed instructions for NVPTX
-gen-dag-isel.

With DenseMap or StringMap, NVPTX and RISCV -gen-dag-isel runs 20% and
15% faster respectively.

Modest 2-6% improvement for others.
https://invent.kde.org/qt/clang/llvm/-/commit/3b852e3b020d46046be8419ed476e63f26dd026a

Git commit 998ba43d7447a7c6244b2d58c731b8e582f0649f by GitHub (on behalf of Andy Kaylor) on 31/07/2026 at 18:21..
[CIR] Implement fenv lowering to constrained intrinsic calls (#213105)

This change adds support for lowering floating-point operations with the
fenv attribute set to a call to the corresponding constrained intrinsic
when the operation is lowered to the LLVM dialect.

Generation of operations with the Fenv attribute set will be implemented
in a later change. This only adds support for lowering.

Assisted-by: Cursor / claude-opus-4.8
https://invent.kde.org/qt/clang/llvm/-/commit/998ba43d7447a7c6244b2d58c731b8e582f0649f

Git commit 2f8eb5b4be3eba5c7f58470d6538d00df53a55fc by GitHub (on behalf of Daniil Kovalev) on 31/07/2026 at 18:22..
[clang][llvm][AArch64] Set hardening fn attrs on synthetic functions (#211013)

Compiler-synthesized functions such as `__llvm_gcov_writeout`,
`__llvm_gcov_reset` and `__llvm_gcov_init` were previously never
receiving the AArch64 hardening function attributes (ptrauth-returns,
ptrauth-auth-traps, ptrauth-indirect-gotos and
aarch64-jump-table-hardening) since the attributes were only emitted by
Clang and gated by `PointerAuthOptions` structure's corresponding
fields. See `setPointerAuthFnAttributes` and
`initPointerAuthFnAttributes` member functions of `TargetCodeGenInfo`.

This patch resolves this in the same manner as #83153 does for several
other attributes. Particularly, Clang now emits corresponding 4 module
flags (conditionally on whether the related feature is enabled) with Max
behavior, and LLVM's `Function::createWithDefaultAttr` derives the
matching function attributes from them. Max behavior with conditional
emission is safe because none of these features affect ABI, so promoting
an absent flag on module merge cannot break compatibility.
https://invent.kde.org/qt/clang/llvm/-/commit/2f8eb5b4be3eba5c7f58470d6538d00df53a55fc

Git commit 34de4392d0b102ba9d1393678fe5e6ace92359ef by GitHub (on behalf of Hristo Hristov) on 31/07/2026 at 18:23..
[libc++][ranges][test-suite][NFC] Consistency improvements after P3050 merge (#213062)

Consistency improvements and other small tweaks.

A follow-up to https://github.com/llvm/llvm-project/pull/193891 - the
changes were deferred to reduce the size of an already large and
approved PR.
https://invent.kde.org/qt/clang/llvm/-/commit/34de4392d0b102ba9d1393678fe5e6ace92359ef

Git commit 56b45895fae25aad001931b7a44e6a5f4359d2fd by GitHub (on behalf of Alexey Bataev) on 31/07/2026 at 18:24..
[SLP][NFC]Add a test for fmul copyables to fmuladd, NFC



Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/213328
https://invent.kde.org/qt/clang/llvm/-/commit/56b45895fae25aad001931b7a44e6a5f4359d2fd

Git commit 9dbcd54ca30132bdb782cae90d14689d1479977f by Matt Arsenault on 31/07/2026 at 18:30..
AMDGPU: Tablegenerate TargetParser feature sets

Traditionally we maintained 2 parallel feature mechanisms,
one in clang (later moved to TargetParser), with largely
mirrored subtarget features defined in the backend. Start
directly taking feature information from the backend and putting
it into TargetParser. This is still in a compromise mid-migration
state. We still have both the legacy "ArchAttr" bitfield integer,
plus a new AMDGPUFeatureBitset field stored in the table, which
isn't yet exported.

For the moment, the new bitset is only used to populate the
feature string name map, which is the big maintainability win.
This also lists an explicit subset of exported features to
avoid churn.

Co-authored-by: Claude (Claude-Opus-4.8)
https://invent.kde.org/qt/clang/llvm/-/commit/9dbcd54ca30132bdb782cae90d14689d1479977f

Git commit eef072d597fa0f1b30aa818c812a6acf46175fde by Matt Arsenault on 31/07/2026 at 18:30..
AMDGPU: Export the TargetParser feature bitset

Previously this bitset was only used to populate the feature
name string map used by clang. Eventually this will replace
the current bitmask integer. AArch64 already has a similar
interface.

Co-authored-by: Claude (Claude-Opus-4.8)
https://invent.kde.org/qt/clang/llvm/-/commit/eef072d597fa0f1b30aa818c812a6acf46175fde
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.