LLVM/project 5f4940ellvm/docs/CommandGuide llvm-dwarfdump.rst, llvm/test/tools/llvm-dwarfdump/X86 coverage.test

[llvm-dwarfdump][LineCov 3/3] Add IR analysis for variable coverage (#195342)

Patch 3 of 3 to add to llvm-dwarfdump the ability to measure DWARF
coverage of local variables in terms of source lines, as discussed in
this RFC:
https://discourse.llvm.org/t/rfc-debug-info-coverage-tool-v2/83266

This patch adds an IR-level analysis in order to more accurately compute
the defined ranges for each variable. This avoids the problem of the
more naïve approach relying on source scopes, which overcounts as
coverable those lines where the variable is not yet defined (e.g. stack
variables).

The IR analysis requires IR to be provided to llvm-dwarfdump as a
separate `--variable-coverage-bitcode-file` argument (either textual IR
or bitcode; can be produced by various means e.g. `--save-temps
--emit-llvm`, `-ffat-lto-objects`,
[wllvm](https://github.com/travitch/whole-program-llvm)). The
recommended way to obtain a whole-program bitcode file is to use wllvm

    [5 lines not shown]
DeltaFile
+218-17llvm/tools/llvm-dwarfdump/Coverage.cpp
+24-0llvm/test/tools/llvm-dwarfdump/X86/coverage.test
+10-4llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
+6-0llvm/docs/CommandGuide/llvm-dwarfdump.rst
+2-2llvm/tools/llvm-dwarfdump/llvm-dwarfdump.h
+260-235 files

LLVM/project 292c99cllvm/lib/Target/AMDGPU SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU s-barrier.ll s-barrier-signal-var-gep.ll

[AMDGPU] Improve SelectionDAG codegen around barrier intrinsics (#207688)

When lowering some intrinsics use generic AND/OR nodes instead of
specific machine instructions. This allows DAG combines and ISel to
select better instructions like S_BFE_U32.
DeltaFile
+28-20llvm/test/CodeGen/AMDGPU/s-barrier.ll
+11-22llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+13-17llvm/test/CodeGen/AMDGPU/s-barrier-signal-var-gep.ll
+1-3llvm/test/CodeGen/AMDGPU/s-wakeup-barrier.ll
+1-1llvm/test/CodeGen/AMDGPU/lds-link-time-codegen-named-barrier.ll
+54-635 files

LLVM/project eac4725llvm/test/Transforms/LoopVectorize early_exit_combined_exits.ll early_exit_store_legality.ll, llvm/test/Transforms/LoopVectorize/VPlan early_exit_with_stores_vplan.ll

[LV] Tests for combined exit conditions (#205104)

Some initial tests for loops where earlier scalar transforms have
combined a countable exit with an uncountable one.
DeltaFile
+408-0llvm/test/Transforms/LoopVectorize/early_exit_combined_exits.ll
+75-0llvm/test/Transforms/PhaseOrdering/AArch64/countable-and-uncountable-exits-combined.ll
+24-0llvm/test/Transforms/LoopVectorize/early_exit_store_legality.ll
+23-0llvm/test/Transforms/LoopVectorize/VPlan/early_exit_with_stores_vplan.ll
+530-04 files

LLVM/project 07e9838clang/lib/Headers riscv_packed_simd.h, clang/test/CodeGen/RISCV rvp-intrinsics.c

[RISCV][P-ext] Support packed reverse intrinsics (#207574)

Following X86, this patch uses general shuffles for packed reverse
intrinsics.
DeltaFile
+188-0clang/test/CodeGen/RISCV/rvp-intrinsics.c
+127-0llvm/test/CodeGen/RISCV/rvp-reverse.ll
+32-0clang/lib/Headers/riscv_packed_simd.h
+347-03 files

LLVM/project dc9edebllvm/include/llvm/Analysis AssumeBundleQueries.h, llvm/lib/Analysis AssumeBundleQueries.cpp

[AssumeBundleQueries] Remove unused code (#203927)

Some of the utilities in AssumeBundleQueris was only ever used in tests
for them, so there isn't much point in keeping the code around.
DeltaFile
+0-168llvm/unittests/Analysis/AssumeBundleQueriesTest.cpp
+0-27llvm/lib/Analysis/AssumeBundleQueries.cpp
+2-21llvm/include/llvm/Analysis/AssumeBundleQueries.h
+2-2163 files

LLVM/project 3ce39bboffload/plugins-nextgen/common/src GlobalHandler.cpp

[offload] Fix duplicate __llvm_write_custom_profile on Windows PGO builds (#207366)

MSVC/clang-cl lack __attribute__((weak)), so GlobalHandler.cpp provided
a strong stub for __llvm_write_custom_profile. When clang_rt.profile is
linked (e.g. instrumented/PGO builds) lld-link rejects the duplicate
strong symbol.

Replace the stub + CMake workaround with the /alternatename linker
pragma, which is the standard Windows weak-symbol equivalent used by
compiler-rt itself. The linker picks compiler-rt's strong definition
when present.

Fix the guard: use _WIN32 && !__MINGW32__ (not _MSC_VER) so the stub and
/alternatename pragma apply to plain clang-on-Windows too, while MinGW
(which supports __attribute__((weak)) natively) continues to use the
real weak declaration.

Also fix the stub signature from 8 to 10 parameters to match the header.

Assisted-by: Claude
DeltaFile
+14-12offload/plugins-nextgen/common/src/GlobalHandler.cpp
+14-121 files

LLVM/project c196103lldb/include/lldb/Utility ConstString.h, lldb/source/Target Statistics.cpp

[lldb] Reintroduce ConstString stats (#207694)

These stats were removed in ca59c69132eef55cc42bf8854706590dfddf5584 .
This patch restores the stats in their original form by tracking the
removed value in our own LLDB-specific counter.
DeltaFile
+11-4lldb/source/Utility/ConstString.cpp
+3-0lldb/include/lldb/Utility/ConstString.h
+2-0lldb/source/Target/Statistics.cpp
+2-0lldb/test/API/commands/statistics/basic/TestStats.py
+18-44 files

LLVM/project 18c0f3alibcxx/include future

[libc++] Use _LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 in <future> (#207668)

`_LIBCPP_REMOVE_TRANSITIVE_INCLUDES` was used accidentally.
DeltaFile
+1-1libcxx/include/future
+1-11 files

LLVM/project 335a584lldb/test/API/tools/lldb-dap/utils TestDAPUtils_EventHistory.py TestDAPUtils_DAPConnection.py

[lldb-dap] Add tests for DAPConnection and EventHistory (#207037)

Add tests for DAPConnection and EventHistory
DeltaFile
+255-0lldb/test/API/tools/lldb-dap/utils/TestDAPUtils_EventHistory.py
+85-0lldb/test/API/tools/lldb-dap/utils/TestDAPUtils_DAPConnection.py
+38-0lldb/test/API/tools/lldb-dap/utils/sample_dap_log.json
+378-03 files

NetBSD/pkgsrc laZAtJsdoc CHANGES-2026

   doc: Updated news/canlock-hp to 3.3.2
VersionDeltaFile
1.4278+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc 8XolTf8news/canlock-hp distinfo Makefile

   news/canlock-up: Update to 3.3.2

   3.3.2      2026-07-04
              Bugfix: canlock-hp: Define parameter list for strip_body()
               as "void" (Patch from Dennis Preiser)
              Document that canlock-hp subpackage requires an US-ASCII
               based POSIX locale (EBCDIC is not supported)
              Add SPDX copyright and license identifiers for all files of
               the source tree. Note that the license terms are unchanged
               for all files that already contained such identifiers
              Some documentation files (like "README" and "ChangeLog")
               formerly had neither copyrights nor licenses assigned.
               No copyright and CC0-1.0 license are declared now
              Package is REUSE 3.3 conformant (according to "reuse lint"):
               <https://reuse.software/spec-3.3/>
VersionDeltaFile
1.12+4-4news/canlock-hp/distinfo
1.13+2-2news/canlock-hp/Makefile
+6-62 files

LLVM/project 57b1519llvm/test/CodeGen/RISCV/rvv vector-interleave.ll vector-interleave-fixed.ll

[RISCV][NFC] Remove unnecessary ZIP/VISNI checks (#207683)

We should remove them when removing `XRivosVizip` and `XRivosVisni`
but it seems UTC failed to do that.
DeltaFile
+0-1,645llvm/test/CodeGen/RISCV/rvv/vector-interleave.ll
+0-442llvm/test/CodeGen/RISCV/rvv/vector-interleave-fixed.ll
+0-119llvm/test/CodeGen/RISCV/rvv/fixed-vectors-extract.ll
+0-95llvm/test/CodeGen/RISCV/rvv/fixed-vectors-insert.ll
+0-54llvm/test/CodeGen/RISCV/rvv/fixed-vectors-shuffle-int-interleave.ll
+0-48llvm/test/CodeGen/RISCV/rvv/fixed-vectors-shuffle-deinterleave2.ll
+0-2,4031 files not shown
+0-2,4487 files

LLVM/project f9f11ebllvm/lib/Target/AArch64 AArch64TargetTransformInfo.cpp, llvm/test/Transforms/InstCombine/AArch64 sve-intrinsic-opts-cmpne.ll

[AArch64][InstCombine] xor(cmpne) -> cmpeq (#207007)

Fold xor(cmpne(pg, v, 0), pg) into cmpeq(pv, v, 0)

Created after initially trying as a DAGCombine in #206931.
DeltaFile
+59-0llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-cmpne.ll
+34-0llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
+93-02 files

NetBSD/pkgsrc-wip 44ad24clibcanlock Makefile COMMIT_MSG

libcanlock: Remove, used to update news/libcanlock
DeltaFile
+0-27libcanlock/Makefile
+0-16libcanlock/COMMIT_MSG
+0-14libcanlock/buildlink3.mk
+0-12libcanlock/PLIST
+0-8libcanlock/DESCR
+0-5libcanlock/distinfo
+0-822 files not shown
+0-858 files

NetBSD/pkgsrc R38liNCdoc CHANGES-2026

   doc: Updated news/libcanlock to 3.3.2
VersionDeltaFile
1.4277+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc FwCkA5Lnews/libcanlock distinfo Makefile

   news/libcanlock: Update to 3.3.2

   3.3.2      2026-07-04
              Bugfix: Modified declaration of RFC5869HkdfResult() in header
               to match the function definition
              Bugfix: Modified definition of RFC2104HmacResult() to match
               the function declaration in header
              Add support for C23 memset_explicit() to cl_clear_secret()
              Add SPDX copyright and license identifiers for all files of
               the source tree. Note that the license terms are unchanged
               for all files that already contained such identifiers
              Some documentation files (like "README" and "ChangeLog")
               formerly had neither copyrights nor licenses assigned.
               No copyright and CC0-1.0 license are declared now
              Package is REUSE 3.3 conformant (according to "reuse lint"):
               <https://reuse.software/spec-3.3/>
VersionDeltaFile
1.13+4-4news/libcanlock/distinfo
1.14+2-2news/libcanlock/Makefile
+6-62 files

FreeBSD/src b125b73sys/ofed/drivers/infiniband/core ib_sysfs.c

ibcore: Fix GID sysctl fallback formatting

When a GID table entry is empty or not yet present in the cache,
show_port_gid() falls back to printing a zero GID.  Use the existing
GID_PRINT_FMT/GID_PRINT_ARGS helpers instead of Linux's %pI6 format,
which FreeBSD printf treats as a pointer followed by "I6".
This makes empty GID sysctl entries consistently report
0000:0000:0000:0000:0000:0000:0000:0000.

Tested by:      Wafa Hamzah <wafah at nvidia.com> (mlx5_ib)
Reviewed by:    jhb, kib
Sponsored by:   NVIDIA Networking
Fixes:  6a75471dbcf0 ("OFED: Various changes from Linux 4.19")
Differential Revision:  https://reviews.freebsd.org/D58042
DeltaFile
+1-1sys/ofed/drivers/infiniband/core/ib_sysfs.c
+1-11 files

LLVM/project 9de8a97llvm/lib/CodeGen MachineCopyPropagation.cpp, llvm/test/CodeGen/AArch64 machine-cp-spill-chain-across-call.mir

[MCP] Fix bug in spill copy elimination folding chain across a call. (#206858)

findLastSeenDefInCopy interface does not check for possible register
clobbering between the def and current instruction. That may lead to not
having a caller preserved register being preserved across a call.
Replaced with findAvailCopy that also does checks for a regmask operand
between the def and current instruction.
DeltaFile
+13-9llvm/test/CodeGen/AArch64/machine-cp-spill-chain-across-call.mir
+9-6llvm/test/CodeGen/PowerPC/mcp-elim-eviction-chain.mir
+1-1llvm/lib/CodeGen/MachineCopyPropagation.cpp
+23-163 files

FreeBSD/ports f0211e1net/rsync Makefile, net/rsync/files extra-patch-file-flags.diff extrapatch-main.c

net/rsync: Add back the FLAGS option

This restores support for copying file flags and fixes a long-standing
peeve of mine by renaming the command-line option to --file-flags,
better matching the naming style of other rsync options.  Full backward
compatibility is maintained, including with older servers.

Reviewed by:    rodrigo
Differential Revision:  https://reviews.freebsd.org/D57645
DeltaFile
+1,382-0net/rsync/files/extra-patch-file-flags.diff
+0-10net/rsync/files/extrapatch-main.c
+4-4net/rsync/Makefile
+1,386-143 files

OPNSense/core 03aa222src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api FilterBaseController.php FilterController.php

Firewall: NAT: When cloning a rule, always set a sequence at the end of the ruleset
DeltaFile
+21-0src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/FilterBaseController.php
+4-12src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/FilterController.php
+4-1src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/OneToOneController.php
+4-1src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/NptController.php
+4-1src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/DNatController.php
+37-155 files

LLVM/project 58bc8dfmlir/lib/Dialect/X86/Transforms VectorContractToAMXDotProduct.cpp, mlir/test/Dialect/X86/AMX vector-contract-to-tiled-dp.mlir

[mlir][x86] AMX memref source check (#206785)

Adds extra checks to AMX lowering to ensure data is read from memrefs as
tensors are not supported by x86 dialect ops.
DeltaFile
+144-0mlir/test/Dialect/X86/AMX/vector-contract-to-tiled-dp.mlir
+29-6mlir/lib/Dialect/X86/Transforms/VectorContractToAMXDotProduct.cpp
+173-62 files

OpenBSD/ports dCTcnrwdevel/py-virtualenv distinfo Makefile

   update to py3-virtualenv-21.5.1
VersionDeltaFile
1.65+2-2devel/py-virtualenv/distinfo
1.99+1-1devel/py-virtualenv/Makefile
+3-32 files

OpenBSD/ports UbXsb1edevel/perltidy distinfo Makefile

   update to perltidy-20260705
VersionDeltaFile
1.47+2-2devel/perltidy/distinfo
1.55+1-1devel/perltidy/Makefile
+3-32 files

OpenBSD/ports zkqyC7bdevel/py-tzlocal distinfo Makefile

   update to py3-tzlocal-5.4.4
VersionDeltaFile
1.8+2-2devel/py-tzlocal/distinfo
1.21+1-1devel/py-tzlocal/Makefile
+3-32 files

NetBSD/pkgsrc-wip 6997e1clibcanlock distinfo TODO

libcanlock: Update to 3.3.2
DeltaFile
+3-3libcanlock/distinfo
+2-2libcanlock/TODO
+1-3libcanlock/COMMIT_MSG
+1-1libcanlock/Makefile
+7-94 files

OpenBSD/ports yzwwRqZdevel/py-poetry-dynamic-versioning distinfo Makefile

   update to py3-poetry-dynamic-versioning-1.10.0
VersionDeltaFile
1.2+2-2devel/py-poetry-dynamic-versioning/distinfo
1.2+1-1devel/py-poetry-dynamic-versioning/Makefile
+3-32 files

OpenBSD/ports 7eIIZYzdevel/py-regex distinfo Makefile

   update to py3-regex-2026.6.28
VersionDeltaFile
1.18+2-2devel/py-regex/distinfo
1.26+1-1devel/py-regex/Makefile
+3-32 files

LLVM/project fcfc916llvm/docs LangRef.rst, llvm/include/llvm/IR Module.h

Reapply [IR] Explicitly specify target feature for module asm (#204548) (#207677)

Reapply with a use-after-free fix. The MC subtarget used for inline
assembly has to stay alive until finalization, not only during the
emitInlineAsm() call.

-----

Support specifying additional properties on module-level inline
assembly. In particular, the target features and target CPU can now be
specified as follows:

    module asm(target_features: "+foo", target_cpu: "bar")
        "asm line 1"
        "asm line 2"

There may be multiple module inline assembly blocks with different
properties.


    [10 lines not shown]
DeltaFile
+85-11llvm/include/llvm/IR/Module.h
+38-36llvm/lib/Object/ModuleSymbolTable.cpp
+29-12llvm/lib/IR/AsmWriter.cpp
+36-3llvm/lib/AsmParser/LLParser.cpp
+29-0llvm/test/Bitcode/module-asm.ll
+21-6llvm/docs/LangRef.rst
+238-6855 files not shown
+573-18061 files

LLVM/project 4ffcfdflldb/source/Plugins/ScriptInterpreter/Python PythonDataObjects.cpp, lldb/unittests/ScriptInterpreter/Python PythonDataObjectsTests.cpp

[lldb] Reject NULL key in PythonDictionary::GetItem (#205753)

A `breakpoint set -P <class>` with an invalid-UTF-8 class name crashes
lldb with `EXC_BAD_ACCESS`.  The class name is passed through
unmodified, so the byte sequence `\xd0p` (an incomplete two-byte UTF-8
sequence) reaches the Python layer:

```
 ./bin/lldb -b -o $'breakpoint set -P \xd0p -f main.cpp' ./bin/lldb
...
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/
Stack dump:
 #4 PythonDictionary::GetItem(PythonObject const&) const
 #6 PythonDictionary::GetItemForKey(PythonObject const&) const
 #7 PythonObject::ResolveNameWithDictionary(StringRef, PythonDictionary const&)
 #9 ScriptedPythonInterface::CreatePluginObject<...>(...)
```

`ResolveNameWithDictionary` builds a `PythonString` from the class name

    [41 lines not shown]
DeltaFile
+24-0lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
+1-1lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
+25-12 files

LLVM/project 8e85d1flldb/packages/Python/lldbsuite/test gdbclientutils.py, lldb/test/API/macosx/expedited-stack-memory TestExpeditedStackMemory.py main.c

[lldb][test] Add expedited-stack-memory backtrace/locals packet test (#205897)

Add a Darwin API test that checks which gdb-remote packets lldb sends
while
inspecting the stack at a public stop, using the gdb-remote packet log
(the
same approach as TestExpeditedThreadPCs.py).

debugserver expedites the frame-pointer backchain in the `jThreadsInfo`
reply
at a public stop and lldb caches it, so:

- A backtrace (`GetNumFrames` + `GetFrameAtIndex` over every frame)
sends no
packets at all. With the memory cache disabled it must read the
backchain
frame by frame, which confirms the test exercises the unwinder's memory
    reads.


    [17 lines not shown]
DeltaFile
+279-0lldb/test/API/macosx/expedited-stack-memory/TestExpeditedStackMemory.py
+88-0lldb/test/API/macosx/expedited-stack-memory/main.c
+50-2lldb/packages/Python/lldbsuite/test/gdbclientutils.py
+3-0lldb/test/API/macosx/expedited-stack-memory/Makefile
+420-24 files