[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/mgcarrasco/nsdi-debug-func-def'.
Changed from ab77d2b3ef0cfc1a1b1d55c736435c9bb70156ab to 09da485d3bb4135fb11cdaffbeca827694001f77
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 6a932c6041a58a1c352ea65c94810a13d3b453d0 by GitHub (on behalf of janr-bay) on 30/07/2026 at 11:25..
[APFloat][NFC] Generalize bitcast to also cover x87 semantics (#209781)

This removes the special case code for bitcasting APInt to a float with
x87 semantics in convertF80LongDoubleAPFloatToAPInt. This makes it
consistent with previous removal of special cases and will remove one
more small obstacle to making APFloat extensible.
https://invent.kde.org/qt/clang/llvm-project/-/commit/6a932c6041a58a1c352ea65c94810a13d3b453d0

Git commit fcf4bb1af7450f618504201610ef8c3ef52844d7 by GitHub (on behalf of Tomer Shafir) on 30/07/2026 at 11:32..
[AArch64] Relax SDep requirement for AppleSMECompute clustering      (#212603)

Do not require RAW dependency for FuseAppleSMECompute.
https://invent.kde.org/qt/clang/llvm-project/-/commit/fcf4bb1af7450f618504201610ef8c3ef52844d7

Git commit 8aeb59eab5eb0bc516628fa42e7698f23eb3f6d5 by GitHub (on behalf of Alexey Bataev) on 30/07/2026 at 11:55..
[SLP][NFC]Add extra tests for fadd/fsub reordering, NFC



Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/213002
https://invent.kde.org/qt/clang/llvm-project/-/commit/8aeb59eab5eb0bc516628fa42e7698f23eb3f6d5

Git commit 3a687d3b86c44821ae2a013fe3d9f5bf88a471a9 by GitHub (on behalf of Louis Dionne) on 30/07/2026 at 11:57..
[libc++] Fix incorrect paper statuses (#212827)

These two papers also added parallel algorithm overloads, which were
never implemented but the papers were still marked as implemented. Mark
the papers as Partial instead.

CF #103640 and #104095
https://invent.kde.org/qt/clang/llvm-project/-/commit/3a687d3b86c44821ae2a013fe3d9f5bf88a471a9

Git commit a8cc3d25922b689508dc63487525c73bc2747585 by GitHub (on behalf of Nikolas Klauser) on 30/07/2026 at 12:05..
[libc++] Clean up windows macros (#207577)

We have multiple macros for different Windows. However, most of them
don't actually define different things. We can condense the macros to
- `_WIN32` directly if it only depends on windows, or
- `_LIBCPP_MSVCRT`

This patch drops `_LIBCPP_MSVCRT_LIKE` and `_LIBCPP_WIN32API`, since
they are equivalent to `_WIN32`.
https://invent.kde.org/qt/clang/llvm-project/-/commit/a8cc3d25922b689508dc63487525c73bc2747585

Git commit e7b04d7b58941cc9173930871a18d149f0b8a432 by GitHub (on behalf of Nikolas Klauser) on 30/07/2026 at 12:10..
[libc++abi] Use the same .clang-format as libc++ (#208661)

libc++abi is very close to libc++, and even shares some amount of code.
We should keep the formatting style the same between the two libraries.
https://invent.kde.org/qt/clang/llvm-project/-/commit/e7b04d7b58941cc9173930871a18d149f0b8a432

Git commit 7b463ebd0d5b23a5efc9ffba1363593e6c6745fb by GitHub (on behalf of Matt Arsenault) on 30/07/2026 at 12:15..
clang/AMDGPU: Forward xnack/sramecc mode to the assembler (#212955)

When assembling a .s file with no target ID directive, the requested
xnack/sramecc mode has no module flag to carry it. Forward the mode
requested via -mxnack/-msramecc (or the -mcpu target ID modifiers) to
the assembler as a target feature so it is recorded in the object's e_flags.

Co-authored-by: Claude (Opus 4.8) <[email protected]>
https://invent.kde.org/qt/clang/llvm-project/-/commit/7b463ebd0d5b23a5efc9ffba1363593e6c6745fb

Git commit 76140a666d18b940597bf73362d4101af0247ea6 by GitHub (on behalf of Nikolas Klauser) on 30/07/2026 at 12:15..
[libc++] Switch XFAIL in xsgetn.buffer.pass.cpp to LLVM 23 (#212969)

We want to back-port the fix for xsgetn, so the XFAIL needs to be
updated to reflect that.
https://invent.kde.org/qt/clang/llvm-project/-/commit/76140a666d18b940597bf73362d4101af0247ea6

Git commit c9c03ed3991035591d2a4529f323ed9e5e345221 by GitHub (on behalf of Alexey Bataev) on 30/07/2026 at 12:19..
[SLP]Fix a crash on non-fp operator isFast request

isFast should be used only on FPMathOperator kind instructons.

Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/213008
https://invent.kde.org/qt/clang/llvm-project/-/commit/c9c03ed3991035591d2a4529f323ed9e5e345221

Git commit 424d5a7cb36fb4770f4436762b636ded1e035bb0 by GitHub (on behalf of fineg74) on 30/07/2026 at 12:29..
[OFFLOAD] Fix a platform selection issue for llvm-gpu-loader (#212893)

Currently if an image supplied to llvm-gpu-loader is not properly
detected by its platform detection logic it does not accept it for
execution. The example could be a spirv or bitcode format. This fix
allows it to rely on devices to device if an image will be accepted and
uses its existing platform detection logic as an optimization only
https://invent.kde.org/qt/clang/llvm-project/-/commit/424d5a7cb36fb4770f4436762b636ded1e035bb0

Git commit e9777c58be265687897e04c5d8013d7d6cb43571 by GitHub (on behalf of David Green) on 30/07/2026 at 12:31..
[AArch64] Add all cost kinds for integer getArithmeticInstrCost (#210759)

This adds all (CodeSize, Latency, LatSize) costs to
getArithmeticInstrCost integer operations, getting the cost more correct
especially for operations that expand into multiple instructions.
Floating point are left to another commit to limit the impact.
https://invent.kde.org/qt/clang/llvm-project/-/commit/e9777c58be265687897e04c5d8013d7d6cb43571

Git commit dc6cd6a29a0831d1a4d607162a1dbd07b556143a by GitHub (on behalf of Benjamin Kramer) on 30/07/2026 at 12:32..
[mlir] Honor IntrHasSideEffects on IntrNoMem LLVM intrinsics (#212760)

`[IntrNoMem, IntrHasSideEffects]` is a perfectly valid intrinsic trait
combination, and MLIR would CSE/DCE those without checking. This mirrors
how LLVM models this, see getEffectiveME in IntrinsicEmitter.cpp
https://invent.kde.org/qt/clang/llvm-project/-/commit/dc6cd6a29a0831d1a4d607162a1dbd07b556143a

Git commit 9771205212d9802c9de142335fc8af3bc52a1d85 by GitHub (on behalf of Timm Baeder) on 30/07/2026 at 12:36..
[clang][bytecode] Add Record::findBase() (#212952)

Similar to findField().
https://invent.kde.org/qt/clang/llvm-project/-/commit/9771205212d9802c9de142335fc8af3bc52a1d85

Git commit a0c7f8366b8dbbfb25d294541ab9298851cfa65f by GitHub (on behalf of forking-google-bazel-bot[bot]) on 30/07/2026 at 12:37..
[Bazel] Fixes ba37179 (#212986)

This fixes ba371791db4f9e7ef05f0a1c26529298b2951a4b (#212948).

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds?commit=ba371791db4f9e7ef05f0a1c26529298b2951a4b

Co-authored-by: Google Bazel Bot <[email protected]>
https://invent.kde.org/qt/clang/llvm-project/-/commit/a0c7f8366b8dbbfb25d294541ab9298851cfa65f

Git commit 6a898832ff382b1a288f9eb3bc5cd1f37d0fc29f by GitHub (on behalf of Arseniy Obolenskiy) on 30/07/2026 at 12:37..
[AMDGPU] Fix getDestEquivalentVGPRClass narrowing AV-class registers (#212963)

isVGPRClass() rejects AV-class registers, so they were narrowed to
VGPR-only instead of preserved. Same reasoning behind the fix as in
SIPreAllocateWWMRegs (see
https://github.com/llvm/llvm-project/pull/211560)
https://invent.kde.org/qt/clang/llvm-project/-/commit/6a898832ff382b1a288f9eb3bc5cd1f37d0fc29f

Git commit 8b36461fb271df4484a375c4b80800fcc8ef8e91 by GitHub (on behalf of Ebuka Ezike) on 30/07/2026 at 12:50..
[lldb-dap] Mirgate TestDAP_evaluate. (#212282)

rewrite the `assertEvaluate` and `assertEvaluateFailure` helpers to use
the already existing `session.verify_evaluate` function. THe helpers are
now inlined functions.
https://invent.kde.org/qt/clang/llvm-project/-/commit/8b36461fb271df4484a375c4b80800fcc8ef8e91

Git commit 179ef900e31ef3b0dfbe762acfa0299551933c8e by GitHub (on behalf of Marc Auberer) on 30/07/2026 at 12:57..
[CodeGen] Remove deprecated createTargetMachineForTriple overload (#212984)

This overload was deprecated in favor of the Triple overload and marked
for removal after llvm 23 branched. All in-tree callers already use the
Triple overload.

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

Git commit 289a4568f7d18d1d42687f3a2fc2c72bcbadaa28 by GitHub (on behalf of Marc Auberer) on 30/07/2026 at 12:58..
[ADT] Remove deprecated llvm::make_scope_exit (#212987)

Update remaining call sites in lldb to construct llvm::scope_exit
directly, per the deprecation notice.

---------

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

Git commit b11722f1d3bd5debac949fe366c1801d39b8a2bb by GitHub (on behalf of michaelselehov) on 30/07/2026 at 13:11..
[llvm-calc-occupancy] Add an AMDGPU occupancy calculator tool (#208727)

Add a command-line utility that reports the occupancy (waves/EU) an
AMDGPU kernel would reach for a given workgroup size, VGPR/SGPR usage
and LDS. It reuses the backend's own occupancy math, so the numbers
match the compiler. Includes a lit test and a CommandGuide man page.

Assisted-by: Claude Opus

---------

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

Git commit 04536c4984206eb20d93355145f9f4e9a0f0d266 by GitHub (on behalf of Pradeep Kumar) on 30/07/2026 at 13:15..
[MLIR][APFloat] Add Type definitions for UE5M3 type (#212712)

This commit adds UE5M3 type definitions in MLIR based on the Float8E5M3FNU APFloat type
https://invent.kde.org/qt/clang/llvm-project/-/commit/04536c4984206eb20d93355145f9f4e9a0f0d266

Git commit 31d99ba9e29acbb466380224dbad09eb8cb115ed by GitHub (on behalf of Eugene Epshteyn) on 30/07/2026 at 13:38..
[flang] Delete the array-value-copy pass (#212643)

Since the removal of the legacy expression lowering (#210385, #210621,
#210639, #210873) nothing in flang produces the array-value operations
this pass legalizes, and #211816 already removed it from the default
pipeline. Delete the pass and the pieces that existed solely for it:

- ArrayValueCopy.cpp, its Passes.td definition,
createArrayValueCopyPass, and the (duplicated) CMake source entries.
- Optimizer/Builder/Factory.h in its entirety: the pass was its only
includer, and its contents (attrFortranArrayOffsets,
getExtents/getOrigins on shape values, originateIndices) have no other
users.
- The getTypeParams(fir::ArrayLoadOp) overload (sole caller was the
pass) and the ArrayLoadOp forward declaration in BoxValue.h.
- The pass LIT tests (array-value-copy*.fir, array-copies-pointers.fir,
array-modify.fir); stack-arrays-hlfir.f90 drops the --array-value-copy
stage from its RUN pipeline.
- The pass-describing paragraphs in fstack-arrays.md and the stale
ArrayValueCopy TODO entry in ParameterizedDerivedTypes.md.

The array-value operations themselves (fir.array_load and friends; not
fir.array_coor) remain in the dialect and will be deleted in a
follow-up.

Assisted-by: AI
https://invent.kde.org/qt/clang/llvm-project/-/commit/31d99ba9e29acbb466380224dbad09eb8cb115ed

Git commit 938d446f7c1caa33aed9fcfdf350419fe8fb1002 by GitHub (on behalf of Luke Lau) on 30/07/2026 at 13:38..
[Support] Don't bring PatternMatchHelpers into top-level scope. NFC (#213016)
https://invent.kde.org/qt/clang/llvm-project/-/commit/938d446f7c1caa33aed9fcfdf350419fe8fb1002

Git commit 6e9a51c805878c03fe0813688bd8ad2ef9cb7c6f by GitHub (on behalf of Pavel Labath) on 30/07/2026 at 13:41..
[libc][cmake] Make hermetic tests support FLAGS (#212460)

Currently the tests skip themselves because this gets treated as a
(missing) dependency.

I also enable tests that were explicitly skipped with UNIT_TEST_ONLY.
Some of the FP tests are claiming to be failing on GPUs (in 2023). If
that is still true, I'll skip them with if(TARGET_IS_GPU).
https://invent.kde.org/qt/clang/llvm-project/-/commit/6e9a51c805878c03fe0813688bd8ad2ef9cb7c6f

Git commit cc623d6e991ffbcf85fe5b7bc637d9070eee0015 by GitHub (on behalf of Pavel Labath) on 30/07/2026 at 13:46..
[libc][test] Add EXPECT_STREQ and ASSERT_STREQ macros for integration tests (#212729)

Add EXPECT_STREQ and ASSERT_STREQ macros to IntegrationTest/test.h using
cpp::string_view. Note that, unlike the unit test macro (but like
googletest), this version treats NULL as distinct from "". The
inconsistency is unfortunate, but I think it's important as the code is
used for testing functions like getenv(), where "" and NULL have very
different meanings.

We should probably follow this up with a change to make the unit test
macro behave the same way.

Update integration tests to use the new macros instead of handrolled
string equality functions (my_streq), strcmp, inline_strcmp, or
string_view wrappers.
https://invent.kde.org/qt/clang/llvm-project/-/commit/cc623d6e991ffbcf85fe5b7bc637d9070eee0015

Git commit 3122acf9f49012f645ea45e741b81910333a77bc by GitHub (on behalf of Pavel Labath) on 30/07/2026 at 13:46..
[libc] Move test macro implementations out of the Test class (#212783)

This is useful for several reasons:
- it makes it possible to use the macros outside of the test methods,
aligning with googletest. Although this isn't recommended, the
alternatives are often not worth it.
- it makes it possible (with additional changes) to expose this
infrastructure to C_TESTs (which currently use the assert() macro, which
is a no-op in release mode)
- it makes it possible to add (and have assertions in) googletest style
SetUp/TearDownTestSuite functions.

I've converted the main assertion macros for now, to test the waters.
I'm planning to handle EXPECT/ASSERT_THAT and EXPECT/ASSERT_EXIT/DEATH
in a follow-up.
https://invent.kde.org/qt/clang/llvm-project/-/commit/3122acf9f49012f645ea45e741b81910333a77bc

Git commit 44840ca0fa1c3cc32278a633dc4fd86c7605392d by GitHub (on behalf of Paul Walker) on 30/07/2026 at 13:47..
[NFC][LLVM] Cleanup Transforms/InstCombine/AArch64/sve-intrinsic-simplify-*.ll (#213012)
https://invent.kde.org/qt/clang/llvm-project/-/commit/44840ca0fa1c3cc32278a633dc4fd86c7605392d

Git commit 0c60c8ad15a0c4255f094bc799c80a683348109c by GitHub (on behalf of Diego Novillo) on 30/07/2026 at 13:47..
[SPIRV] Emit NonSemantic DebugTypedef (#211883)

This adds `DebugTypedef` emission to the SPIR-V
NonSemantic.Shader.DebugInfo handler.

`SPIRVNonSemanticDebugHandler` now collects `DIDerivedType` nodes tagged
`DW_TAG_typedef` and emits one `DebugTypedef` per node. The emitter
reuses the handler's type-id map and skips a typedef whose base type was
not emitted.

This one has similar limitations to the other type emitters (tracked in
#211850)

1. Typedefs are emitted in one `DebugInfoFinder`-order pass, so a
typedef whose base is another typedef emitted later in that pass is
dropped.
2. The Parent operand uses the enclosing type's id when the typedef's
scope is an emitted `DIType`, otherwise the compile unit. On its own
this PR emits no type that can be a typedef's scope. I'll address this
after debug info for composite types is in mainline.

Tests:

1. `debug-typedef.ll` covers a file-scope typedef of `int` parented to
the compile unit, checking all six operands.
2. `debug-typedef-skip-base-not-in-regs.ll` covers the skip path with a
typedef of a pointer that has no DWARF address space.
3. `debug-typedef-nested-drop.ll`: tests the one-pass limitation: a
two-level typedef emits one `DebugTypedef`, with
`--implicit-check-not=DebugTypedef`.
https://invent.kde.org/qt/clang/llvm-project/-/commit/0c60c8ad15a0c4255f094bc799c80a683348109c

Git commit 112360ef251d24ced1d64ea30a6d324b43a8f6b1 by Manuel Carrasco on 30/07/2026 at 13:52..
Implement support for NSDI DebugFunction opcode.
https://invent.kde.org/qt/clang/llvm-project/-/commit/112360ef251d24ced1d64ea30a6d324b43a8f6b1

Git commit a6717b4a8d7ea0592420c3f5010970f52a494fc0 by Manuel Carrasco on 30/07/2026 at 13:52..
Fix path separators.
https://invent.kde.org/qt/clang/llvm-project/-/commit/a6717b4a8d7ea0592420c3f5010970f52a494fc0

Git commit 3a3fee2ee715ed46d4bbf541d403287fc9ec8b70 by Manuel Carrasco on 30/07/2026 at 13:52..
Fix negative checks.
https://invent.kde.org/qt/clang/llvm-project/-/commit/3a3fee2ee715ed46d4bbf541d403287fc9ec8b70

Git commit 15c7658165573ad6071f445cf7cd4a7b2de366a8 by Manuel Carrasco on 30/07/2026 at 13:52..
Rename function.
https://invent.kde.org/qt/clang/llvm-project/-/commit/15c7658165573ad6071f445cf7cd4a7b2de366a8

Git commit 99315866c22316da15d1a5d9884fb4c2e33c3336 by Manuel Carrasco on 30/07/2026 at 13:52..
Simplify loops.
https://invent.kde.org/qt/clang/llvm-project/-/commit/99315866c22316da15d1a5d9884fb4c2e33c3336

Git commit 640b8bcfafd97fe53a4140f981f472428c7bf5be by Manuel Carrasco on 30/07/2026 at 14:04..
Implement support for NSDI DebugFunction opcode.
https://invent.kde.org/qt/clang/llvm-project/-/commit/640b8bcfafd97fe53a4140f981f472428c7bf5be

Git commit 4278c4d3f1f8a750ad165a4c37565f6f16f071e1 by Manuel Carrasco on 30/07/2026 at 14:05..
Simplify loops.
https://invent.kde.org/qt/clang/llvm-project/-/commit/4278c4d3f1f8a750ad165a4c37565f6f16f071e1

Git commit 1fbaedb8ceb9f79bfdc3dbabbbb5cad4e0d15384 by Manuel Carrasco on 30/07/2026 at 14:05..
Implement support for NSDI DebugFunction opcode.
https://invent.kde.org/qt/clang/llvm-project/-/commit/1fbaedb8ceb9f79bfdc3dbabbbb5cad4e0d15384

Git commit 670862c6bd4733ebbdc3f129e3d9a8c731d96d46 by Manuel Carrasco on 30/07/2026 at 14:06..
Implement support for NSDI DebugFunctionDefinition.
https://invent.kde.org/qt/clang/llvm-project/-/commit/670862c6bd4733ebbdc3f129e3d9a8c731d96d46

Git commit 3f996da1d1bdda849b29176e7a679f4a1095df11 by Manuel Carrasco on 30/07/2026 at 14:06..
Keep original comment.
https://invent.kde.org/qt/clang/llvm-project/-/commit/3f996da1d1bdda849b29176e7a679f4a1095df11

Git commit 3f3ceca2671e6aa485e09203c3901be9ffec08af by Manuel Carrasco on 30/07/2026 at 14:06..
[SPIRV] Drive DebugFunctionDefinition placement via begin/endInstruction

Replace the SPIRV-specific notifyMachineInstructionEmitted() callback with
DebugHandlerBase::beginInstruction()/endInstruction().
Keep notifyEntryLabelEmitted() for the synthesized entry OpLabel, which
has no MachineInstr.
https://invent.kde.org/qt/clang/llvm-project/-/commit/3f3ceca2671e6aa485e09203c3901be9ffec08af

Git commit 9453fd14c587564d2466c4612ddf6c972402ea28 by Manuel Carrasco on 30/07/2026 at 14:06..
Fix path check.
https://invent.kde.org/qt/clang/llvm-project/-/commit/9453fd14c587564d2466c4612ddf6c972402ea28

Git commit 5ab44b179143a3c9f3f36eeefbbae543c2f82448 by Manuel Carrasco on 30/07/2026 at 14:06..
Remove CachedExtInstSetReg.
https://invent.kde.org/qt/clang/llvm-project/-/commit/5ab44b179143a3c9f3f36eeefbbae543c2f82448

Git commit 877b5d87f3cadabc51f92ec5a9c6797d0fbbdfc5 by Manuel Carrasco on 30/07/2026 at 14:06..
Change signature.
https://invent.kde.org/qt/clang/llvm-project/-/commit/877b5d87f3cadabc51f92ec5a9c6797d0fbbdfc5

Git commit 58077a9c2c77f66dae968e33b94722997f7365ef by Manuel Carrasco on 30/07/2026 at 14:06..
Improve test.
https://invent.kde.org/qt/clang/llvm-project/-/commit/58077a9c2c77f66dae968e33b94722997f7365ef

Git commit 1001697876811498a3c93a3f2128e741cf347623 by Manuel Carrasco on 30/07/2026 at 14:06..
Fix rebase.
https://invent.kde.org/qt/clang/llvm-project/-/commit/1001697876811498a3c93a3f2128e741cf347623

Git commit 09da485d3bb4135fb11cdaffbeca827694001f77 by Manuel Carrasco on 30/07/2026 at 14:22..
Remove unused parameter.
https://invent.kde.org/qt/clang/llvm-project/-/commit/09da485d3bb4135fb11cdaffbeca827694001f77
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.