LLVM/project c57c19forc-rt/include/orc-rt-internal/tools CommandLine.h OptionParser.h, orc-rt/test/tools orc-rt-process-info-check.cpp orc-rt-log-check.cpp

[orc-rt] Rename CommandLineParser to OptionParser. (#220461)

"OptionParser" better describes what the class does: it parses a list of
option strings, which need not come from a command line (e.g. options
read from a config file, or constructed in a unit test).
DeltaFile
+0-270orc-rt/include/orc-rt-internal/tools/CommandLine.h
+270-0orc-rt/include/orc-rt-internal/tools/OptionParser.h
+0-166orc-rt/test/unit/tools/CommandLineTest.cpp
+166-0orc-rt/test/unit/tools/OptionParserTest.cpp
+2-2orc-rt/test/tools/orc-rt-process-info-check.cpp
+2-2orc-rt/test/tools/orc-rt-log-check.cpp
+440-4401 files not shown
+441-4417 files

LLVM/project 58c6f14llvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV/rvv vabd.ll

[RISCV] Fix instruction combine of vwaddu.wv and vabd[u].vv (#220143)

The existing combination of `vwaddu.wv` and `vabd.vv/vabdu.vv` may
trigger a stack dump: The source operands of `vwaddu.wv` are not
commutative. Swapping these operands can generate an invalid `VWABDA_VL`
node and cause ISel to panic. This PR fixes the issue and only allows
the instruction with same `mask` and `vl` to be combined.
DeltaFile
+75-0llvm/test/CodeGen/RISCV/rvv/vabd.ll
+28-14llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+103-142 files

LLVM/project 3814bd8llvm/lib/Analysis ValueTracking.cpp, llvm/test/Transforms/InstCombine/RISCV riscv-vlenb-range.ll

[ValueTracking][RISCV] Derive range and pow2 for vlenb CSR reads (#219924)

__riscv_vlenb() lowers to a read of the RISC-V vlenb CSR via
llvm.read_register("vlenb"), which returns VLEN/8. Teach
ValueTracking to recognize that read on a RISC-V target and reason
about its result:

  * getRangeForIntrinsic() reports the value range of VLENB. RVV
    requires VLEN to be a power of two in [32, 65536] (Zvl32b is
    the smallest vector extension), so VLENB is in [4, 8192]
    regardless of any attribute. This stays sound for Zvl32b,
    whose VLEN (32) is not representable as an integer vscale
    (VLEN / RVVBitsPerBlock). When the function carries a
    vscale_range attribute the subtarget's VLEN is a multiple of
    RVVBitsPerBlock (64), so VLENB = vscale * RVVBytesPerBlock
    tightens the range.
  * isKnownToBeAPowerOfTwo() reports that VLENB is a power of two.

This lets InstCombine fold vlenb comparisons such as

    [11 lines not shown]
DeltaFile
+201-0llvm/test/Transforms/InstCombine/RISCV/riscv-vlenb-range.ll
+54-0llvm/lib/Analysis/ValueTracking.cpp
+255-02 files

LLVM/project 4e3d091orc-rt/test/tools orc-rt-process-info-check.cpp orc-rt-log-check.cpp

[orc-rt] Fix test tools broken by c3a9c64492b. (#220457)

Update regression test tools to use the parseAsMainArgs method
introduced in c3a9c64492b.
DeltaFile
+1-1orc-rt/test/tools/orc-rt-process-info-check.cpp
+1-1orc-rt/test/tools/orc-rt-log-check.cpp
+2-22 files

FreeBSD/ports afdcf81lang/babashka Makefile distinfo

lang/babashka: Update to 1.13.220

Changes since 1.13.219:

1.13.220 (2026-08-31)

Read the release blog post:
https://blog.michielborkent.nl/babashka-ffi.html

FFI:

  * Add experimental babashka.ffi
    (https://github.com/babashka/ffi): call C functions in shared
    libraries straight from babashka and JVM Clojure! See the guide:
    https://github.com/babashka/ffi/blob/main/doc/guide.md
  * Linux: dynamic binaries require glibc 2.28. The install script
    selects the static binary on older systems
  * On Linux, the install script installs the dynamic binary by
    default. It installs the static binary on musl systems and on

    [86 lines not shown]
DeltaFile
+5-5lang/babashka/distinfo
+2-2lang/babashka/Makefile
+7-72 files

LLVM/project 1f2c836lld/test/ELF lit.local.cfg, utils/bazel/llvm-project-overlay/lld/test/ELF BUILD.bazel

[lld][ELF] Fix ignored yaml tests (#220325)

These previously weren't running:

```
  lld :: ELF/gdb-index-invalid-section-index.yaml
  lld :: ELF/invalid/entsize.yaml
```
DeltaFile
+1-1lld/test/ELF/lit.local.cfg
+1-0utils/bazel/llvm-project-overlay/lld/test/ELF/BUILD.bazel
+2-12 files

LLVM/project f7549a9llvm/include/llvm/ADT FoldingSet.h, llvm/include/llvm/CodeGen SelectionDAGNodes.h SelectionDAG.h

[ADT][SelectionDAG] Unique SDNodes in a UniquingSet (#220195)

CSEMap keys SDNodes by a serialized FoldingSetNodeID. Every lookup
profiles the opcode, the VT list and the operands into a buffer, and
every probe rebuilds the candidate's whole profile to compare against
it.

UniquingSet compared a key against Info::getKey(*N), building a key from
the candidate on every probe. Add isEqual to the Info contract,
defaulting to that comparison, and expose a FoldingSetNodeID's
accumulated words as a FoldingSetNodeIDRef so an Info that carries one
can hash it.

Key nodes by SDNodeKey, which holds those fields directly and leaves
only what AddNodeIDCustom contributes serialized in a tail, which is
empty for most opcodes. A lookup site keeps its ID.AddXxx lines: the key
forwards them to the tail. isEqual matches the key against a candidate's
fields and builds only the tail; an assertions build cross-checks the
result against the profile both would have had.

Aided by Opus 5
DeltaFile
+119-169llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+48-4llvm/include/llvm/CodeGen/SelectionDAG.h
+24-7llvm/include/llvm/ADT/FoldingSet.h
+6-2llvm/unittests/ADT/FoldingSet.cpp
+0-3llvm/include/llvm/CodeGen/SelectionDAGNodes.h
+197-1855 files

LLVM/project 751ed7bllvm/lib/IR Constants.cpp, llvm/test/Transforms/ThinLTOBitcodeWriter cfi_dso_local_equivalent.ll

Revert "[IR] `replaceUsesWith` when aliasing a GV and the use is `dso_local_equivalent`" (#220450)

Reverts llvm/llvm-project#220336

Breaks tests after #220339 and supposedly there are still other
outstanding issues.
DeltaFile
+0-33llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll
+16-9llvm/lib/IR/Constants.cpp
+0-22llvm/unittests/IR/ConstantsTest.cpp
+16-643 files

FreeBSD/src 9930150sys/dev/ufshci ufshci_ctrlr.c

ufshci: skip the reinit when the new link works

UFSHCI_QUIRK_REINIT_AFTER_MAX_GEAR_SWITCH always rebuilt the
link after the gear switch. It threw away a working HS link and
ended up in PWM. The reinit is only needed for a dead link.
There the local side reports HS and the peer never answers. A
local readback cannot tell the two apart. Peer traffic can.

Probe the peer with DME_PEER_GET after the switch. Skip the
reinit when the probe succeeds. Log it when the probe fails.

Reviewed by:            imp (mentor)
Sponsored by:           Samsung Electronics
Differential Revision:  https://reviews.freebsd.org/D59299
DeltaFile
+19-4sys/dev/ufshci/ufshci_ctrlr.c
+19-41 files

FreeBSD/src c09daa3sys/dev/ufshci ufshci_private.h ufshci.h

ufshci: set HS series per platform and adapt type per gear

The driver always asked for Rate-B. It never set the adaptation
type. The Snapdragon X Elite firmware tunes the PHY for Rate-A.
A Rate-B link dies at every gear there. HS-G4 and above need
initial adaptation. This is a UniPro rule. It applies to
every host.

Add an hs_series field to the device tables. Use Rate-A on the
Snapdragon X Elite. Keep Rate-B on the PCI hosts. A table entry
without an HS series fails to attach. Set PA_TxHsAdaptType to
initial adaptation at HS-G4 and above. Leave it alone below
that. Hosts before UniPro 1.8 do not have it. The Galaxy Book
4 Edge now links at HS-G5 Rate-A.

fio results (128k sequential, 4k random, posixaio):

QD  | SEQ_R(MiB/s) | SEQ_W(MiB/s) | RND_R(kIOPS) | RND_W(kIOPS)
----+--------------+--------------+--------------+-------------

    [10 lines not shown]
DeltaFile
+7-4sys/dev/ufshci/ufshci_dev.c
+7-3sys/dev/ufshci/ufshci_pci.c
+7-2sys/dev/ufshci/ufshci_acpi.c
+7-0sys/dev/ufshci/ufshci_ctrlr.c
+4-0sys/dev/ufshci/ufshci.h
+1-0sys/dev/ufshci/ufshci_private.h
+33-96 files

FreeBSD/src 9737835sys/dev/ufshci ufshci_acpi.c ufshci_dev.c

ufshci: fix the Snapdragon X Elite reference clock

The driver's ACPI table set bRefClkFreq to 19.2 MHz. The
Snapdragon X Elite feeds the device 38.4 MHz from its CXO. The
firmware has no property for it. The device ran its PLL from
the wrong base. Every HS mode failed. PWM still worked. The
attribute is persistent. The wrong value survived reboots.

Set 38.4 MHz in the table. Read the attribute first. Write it
only when the value differs or the read fails. Log a changed
value and a failed read. Verified on the Galaxy Book 4 Edge.

Reviewed by:            imp (mentor)
Sponsored by:           Samsung Electronics
Differential Revision:  https://reviews.freebsd.org/D59297
DeltaFile
+17-0sys/dev/ufshci/ufshci_dev.c
+5-1sys/dev/ufshci/ufshci_acpi.c
+22-12 files

LLVM/project 97e0b5allvm/lib/Target/AMDGPU AMDGPUTargetMachine.cpp, llvm/test/CodeGen/MIR/AMDGPU machine-function-info-user-sgpr-count.mir

[AMDGPU] Fix user SGPR accounting when parsing MIR

Count privateSegmentSize and LDSKernelId as user SGPRs to preserve the kernel
descriptor count across MIR round trips.

Fixes LCOMPILER-2700.
DeltaFile
+46-0llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-user-sgpr-count.mir
+9-9llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
+55-92 files

LLVM/project c3a9c64orc-rt/include/orc-rt-internal/tools CommandLine.h, orc-rt/test/unit/tools CommandLineTest.cpp

[orc-rt] Don't parse program name in CommandLineParser::parse (#220454)

The iterator-based CommandLineParser::parse method expected a program
name as the first argument in the list, but did not do anything with its
value (it was simply skipped). Update it to expect argument strings only
(no program name as first element) and document the new expectation.

The (argc, argv) overload of parse is renamed to parseAsMainArgs. It
still expects a program name as the first argument and will return an
Error if it is not present.

This allows CommandLineParser::parse to be used in contexts where there
is no natural program name (e.g. in unit tests, and options read from
config files).
DeltaFile
+36-13orc-rt/test/unit/tools/CommandLineTest.cpp
+10-4orc-rt/include/orc-rt-internal/tools/CommandLine.h
+46-172 files

FreeBSD/src 4690891share/man/man4 ng_bridge.4, sys/netgraph ng_bridge.c

ng_bridge: do not move hosts from learnMac=0 hooks

ng_bridge(4) says the node does not learn MAC addresses on uplink
hooks. However, learnMac was only checked when inserting a new
host. A host already known on a link hook was still moved if a
packet with that source address arrived on an uplink hook.

The nature of this is that inbound unicast to that host then
never arrives (the destination is known on the incoming hook).
Unknown unicast after timeout is still sent only to uplink, so
the host is not re-learned. The interface stays up and outbound
may still work. This can last minutes or weeks until reboot or
NGM_BRIDGE_MOVE_HOST.

Connecting ng_ether(4) lower to an uplink hook is enough: the
host's own transmit can appear on the uplink and the table entry
moves.

Use the same learnMac test for data-path move as for insert.

    [5 lines not shown]
DeltaFile
+13-5share/man/man4/ng_bridge.4
+6-2sys/netgraph/ng_bridge.c
+19-72 files

LLVM/project ed1626borc-rt/test/unit CMakeLists.txt, orc-rt/test/unit/tools CommandLineTest.cpp

[orc-rt] Rename test/unit/utils -> test/unit/tools. (#220408)

This aligns the unit test directory with the corresponding header
directory (orc-rt-internal/tools).
DeltaFile
+0-143orc-rt/test/unit/utils/CommandLineTest.cpp
+143-0orc-rt/test/unit/tools/CommandLineTest.cpp
+1-1orc-rt/test/unit/CMakeLists.txt
+144-1443 files

FreeBSD/src 4aeab13tools/tools/git git-arc.sh

git-arc: SC2223 DoS-via-glob hardening

Quote LOCALBASE and ARC_CMD default assignments so a poisoned
value cannot glob into :'s argv.

Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D59130
DeltaFile
+3-3tools/tools/git/git-arc.sh
+3-31 files

FreeBSD/src 6217c9ctools/tools/git git-arc.sh

git-arc: Fix locals

Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D59162
DeltaFile
+4-4tools/tools/git/git-arc.sh
+4-41 files

LLVM/project a26d131clang/docs ReleaseNotes.md, clang/lib/Sema SemaDecl.cpp

[C++20] [Modules] merge the type for anony enum from import and #include (#214121)

Close https://github.com/llvm/llvm-project/issues/213299

Ideally, we shall merge the new enum with the old enum when we creating
the new enum. But the enum is anonymous and the typedef's name come
after the enum body, it is too late to merge them. This is the choice 10
years ago: a523022b5384d7a0901beea7a5f36ee9c09ba339. Actually what we're
merging is the typedef decls.

Then https://github.com/llvm/llvm-project/pull/114240 removes the logic
to remove the new ED. This the direct trigger for the above issue of
ambiguous look ups.

We choose to fix the problem by setting the type of new enum to the type
of the old enum to fix the ambiguous lookup issue.
DeltaFile
+162-0clang/unittests/Sema/SemaModuleTest.cpp
+21-0clang/lib/Sema/SemaDecl.cpp
+8-0clang/test/Modules/include-after-imports-enums.cppm
+4-0clang/docs/ReleaseNotes.md
+1-0clang/unittests/Sema/CMakeLists.txt
+196-05 files

LLVM/project 221e910llvm/lib/IR Constants.cpp, llvm/test/Transforms/ThinLTOBitcodeWriter cfi_dso_local_equivalent.ll

Revert "[IR] `replaceUsesWith` when aliasing a GV and the use is `dso_local_e…"

This reverts commit 925658474fe44aebd0997ad51ab0800174dbae49.
DeltaFile
+0-33llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll
+16-9llvm/lib/IR/Constants.cpp
+0-22llvm/unittests/IR/ConstantsTest.cpp
+16-643 files

LLVM/project 810dc35flang-rt/test/Driver endian.f90

[flang][runtime] Use CONVERT='SWAP' in endian.f90 test (#220185)

Follow-up to #218302.

The test currently uses CONVERT='BIG_ENDIAN'.

On big-endian systems such as PPC/AIX, this does not actually
exercise endian conversion.

Switch the test to CONVERT='SWAP' so that byte swapping is
performed regardless of the host byte order.
DeltaFile
+6-6flang-rt/test/Driver/endian.f90
+6-61 files

LLVM/project 246cdffllvm/lib/Target/NVPTX NVPTXInstrInfo.td NVPTXISelDAGToDAG.cpp, llvm/test/CodeGen/NVPTX fmax3.ll

[NVPTX] Fuse abs into min/max/redux

Emit PTX instructions for the fused form when possible.
DeltaFile
+141-0llvm/test/CodeGen/NVPTX/fmax3.ll
+32-1llvm/lib/Target/NVPTX/NVPTXTargetTransformInfo.cpp
+32-0llvm/test/Transforms/InstCombine/NVPTX/nvvm-intrins.ll
+16-0llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
+16-0llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
+237-15 files

LLVM/project 95aedc6llvm/utils/gn/secondary/clang/test BUILD.gn, llvm/utils/gn/secondary/clang/tools/clang-ssaf-src-edit-merge BUILD.gn

[gn] port e4eb61771f22b (clang-ssaf-src-edit-merge) (#220443)
DeltaFile
+10-0llvm/utils/gn/secondary/clang/tools/clang-ssaf-src-edit-merge/BUILD.gn
+1-0llvm/utils/gn/secondary/clang/test/BUILD.gn
+11-02 files

FreeBSD/src c8f8d00sys/kern sys_process.c

ptrace(2): allow ptrace(PT_TRACE_ME) in cap mode

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D59317
DeltaFile
+2-0sys/kern/sys_process.c
+2-01 files

LLVM/project fe8a580llvm/lib/Transforms/IPO LowerTypeTests.cpp ThinLTOBitcodeWriter.cpp, llvm/test/Transforms/LowerTypeTests promoted-internal.ll

Revert "Revert "[CFI] Create an external linkage alias instead of promoting i…"

This reverts commit 42f2cd0c980cc1a924619ecaeaa51ca7b55164ab.
DeltaFile
+17-29llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
+35-0llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+29-0llvm/test/Transforms/LowerTypeTests/promoted-internal.ll
+10-7llvm/test/Transforms/ThinLTOBitcodeWriter/comdat.ll
+4-2llvm/test/Transforms/ThinLTOBitcodeWriter/split-vfunc-internal.ll
+3-2llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal2.ll
+98-402 files not shown
+102-448 files

LLVM/project 427e7bblld/MachO Driver.cpp SyntheticSections.cpp, lld/MachO/Arch ARM64.cpp

[lld][MachO] Support Objective-C class stubs

Teach Mach-O objc stubs to synthesize class-message stubs that load the class object, selector, and objc_msgSend target.

lld already supports the Apple clang _objc_msgSend$<selector> stub form, even though upstream clang does not currently expose a driver or cc1 flag for emitting it. Apple clang also emits _objc_msgSendClass$<selector>$_OBJC_CLASS_$_<class>; handling that form completes the existing selector-stub support.

Cover local classes, dylib classes, archives, dynamic lookup via -U, missing class symbols, malformed names, unsupported architectures, and dead stripping.
DeltaFile
+332-0lld/test/MachO/arm64-objc-class-stubs.s
+110-15lld/MachO/SyntheticSections.cpp
+94-0lld/MachO/Arch/ARM64.cpp
+82-0lld/test/MachO/arm64-objc-class-stubs-dead.s
+66-0lld/test/MachO/objc-class-stubs-unsupported.s
+34-6lld/MachO/Driver.cpp
+718-214 files not shown
+754-2210 files

NetBSD/pkgsrc 2HDbyvSdoc CHANGES-2026

   doc: Updated lang/chezscheme to 10.4.1
VersionDeltaFile
1.5746+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc K8naUNvlang/chezscheme Makefile distinfo, lang/chezscheme/patches patch-c_self-exe.c

   chezscheme: Update to 10.4.1. From Kogule Ryo in PR pkg/60416
VersionDeltaFile
1.4+19-20lang/chezscheme/distinfo
1.6+7-8lang/chezscheme/Makefile
1.2+1-1lang/chezscheme/patches/patch-c_self-exe.c
+27-293 files

FreeNAS/freenas 99c0998src/middlewared/middlewared/plugins service.py

NAS-143009 / 26.0.0-RC.1 / Pass `app` through the `service.control` verb dispatch (#19587)
DeltaFile
+8-8src/middlewared/middlewared/plugins/service.py
+8-81 files

OpenBSD/src WLehLp3regress/usr.bin/ssh/unittests/sshkey mktestdata.sh, regress/usr.bin/ssh/unittests/sshkey/testdata mldsa44_ed25519_2 mldsa44_ed25519_1

   replace testing of vendor PQ signature algorithm
   "ssh-mldsa44-ed25519 at openssh.com" with the IANA-registered
   "ssh-mldsa44-ed25519"
VersionDeltaFile
1.2+75-76regress/usr.bin/ssh/unittests/sshsig/testdata/mldsa44-ed25519.sig
1.2+56-57regress/usr.bin/ssh/unittests/sshkey/testdata/mldsa44_ed25519_1_pw
1.2+56-56regress/usr.bin/ssh/unittests/sshsig/testdata/mldsa44-ed25519
1.2+56-56regress/usr.bin/ssh/unittests/sshkey/testdata/mldsa44_ed25519_2
1.2+56-56regress/usr.bin/ssh/unittests/sshkey/testdata/mldsa44_ed25519_1
1.14+3-3regress/usr.bin/ssh/unittests/sshkey/mktestdata.sh
+302-30412 files not shown
+317-32018 files

OpenBSD/src GfZZnkEusr.bin/ssh myproposal.h sshd.8

   IANA has allocated a non-vendor codepoint for ssh-mldsa44-ed25519,
   so use it instead of the vendored "@openssh.com" name.

   Note: this replaces the vendored name, which was only marked as
   experimental and not enabled by default.cw

   If you have ssh-mldsa44-ed25519 at openssh.com keys manually configured
   in sshd, then you will need to remove them from sshd_config and
   restart.
VersionDeltaFile
1.403+9-9usr.bin/ssh/sshd_config.5
1.429+9-9usr.bin/ssh/ssh_config.5
1.5+4-4usr.bin/ssh/ssh-mldsa-eddsa.c
1.332+3-3usr.bin/ssh/sshd.8
1.171+3-3usr.bin/ssh/ssh-keyscan.c
1.81+2-2usr.bin/ssh/myproposal.h
+30-306 files