LLVM/project bc571f1 — llvm/test/CodeGen/AMDGPU peephole-fold-imm.mir

Use noinline pseudo scalar trans opcode in peephole-fold-imm test

V_S_EXP_F16_e64 is not available on gfx1250, which only has the
_noinline variant.
DeltaFile
+5-6llvm/test/CodeGen/AMDGPU/peephole-fold-imm.mir
+5-61 files

FreeBSD/src e550130 — sys/netinet/tcp_stacks rack.c

tcp/rack: reject wma_divisor values <= 0

The net.inet.tcp.rack.measure.wma_divisor sysctl is the divisor
of the goodput weighted moving average used when the dynamic
goodput multiplier is enabled.  Setting it to 0 panics the kernel.

Make the variable and the sysctl unsigned, reject 0 and values
above INT32_MAX.

MFC after:      1 month
Found with:     Claude Code Opus 5.5
Reviewed by:    tuexen, glebius, markj (early version)
Differential Revision:  https://reviews.freebsd.org/D60759

(cherry picked from commit 7668705cb9837d4c3a6db9b3434b3a522220c8ea)
DeltaFile
+21-5sys/netinet/tcp_stacks/rack.c
+21-51 files

LLVM/project e668aa9 — clang-tools-extra/docs/clang-tidy/checks/modernize avoid-c-arrays.md macro-to-enum.md

[clang-tidy][docs] Rewrite modernize check docs to Markdown [1/4] (#232207)

Tracking issue: #201242

See the [migration guide] for more information.

[migration guide]:
https://llvm.org/docs/SphinxQuickstartTemplate.html#markdown-migration-guidelines

This is the first part of rewriting check documentations in modernize module from reST to MyST Markdown.

AI Usage: This was prepared with rnk's fork of rst2myst and GPT6-assisted (Codex) cleanup.
I manually verified that the documentation renders as expected.

Preview site:
https://broken.life/llvm-staging/modernize-markdown-port/index.html

Co-authored-by: EugeneZelenko <eugene.zelenko at gmail.com>
DeltaFile
+187-202clang-tools-extra/docs/clang-tidy/checks/modernize/loop-convert.md
+55-56clang-tools-extra/docs/clang-tidy/checks/modernize/deprecated-headers.md
+55-56clang-tools-extra/docs/clang-tidy/checks/modernize/avoid-bind.md
+47-48clang-tools-extra/docs/clang-tidy/checks/modernize/macro-to-enum.md
+47-48clang-tools-extra/docs/clang-tidy/checks/modernize/concat-nested-namespaces.md
+46-47clang-tools-extra/docs/clang-tidy/checks/modernize/avoid-c-arrays.md
+437-4574 files not shown
+556-58810 files

LLVM/project 9f71da7 — orc-rt/include/orc-rt/support SymbolLookupSet.h SymbolLookupResult.h, orc-rt/include/orc-rt/support/sps SPSSymbolLookupResult.h

[orc-rt] Move SymbolLookupResult into its own header. NFC. (#242948)

Splits SymbolLookupResult out of SymbolLookupSet.h, along with its SPS
serialization (now SPSSymbolLookupResult.h) and its unit tests. This
prepares for adding an interned-string counterpart to SymbolLookupSet:
both kinds of set will share the result type.
DeltaFile
+58-0orc-rt/include/orc-rt/support/SymbolLookupResult.h
+53-0orc-rt/test/unit/support/SymbolLookupResultTest.cpp
+47-0orc-rt/include/orc-rt/support/sps/SPSSymbolLookupResult.h
+39-0orc-rt/test/unit/support/sps/SPSSymbolLookupResultTest.cpp
+1-37orc-rt/test/unit/support/SymbolLookupSetTest.cpp
+2-36orc-rt/include/orc-rt/support/SymbolLookupSet.h
+200-7315 files not shown
+215-10921 files

FreeBSD/ports a8833b9 — databases/p5-DBD-mysql Makefile distinfo

databases/p5-DBD-mysql: Update 5.008 => 5.014

Changelog:
https://metacpan.org/release/DVEEDEN/DBD-mysql-5.014/source/Changes

PR:             300518
Approved by:    Remko Catersels <sirdice at gmail.com> (maintainer)
Sponsored by:   UNIS Labs (vvd, commit patch)
MFH:            2026Q4

(cherry picked from commit 9b378e1d3c7573e1d9e1943ae0c8aeccff01dea1)
DeltaFile
+3-3databases/p5-DBD-mysql/distinfo
+1-1databases/p5-DBD-mysql/Makefile
+4-42 files

FreeBSD/ports 9b378e1 — databases/p5-DBD-mysql Makefile distinfo

databases/p5-DBD-mysql: Update 5.008 => 5.014

Changelog:
https://metacpan.org/release/DVEEDEN/DBD-mysql-5.014/source/Changes

PR:             300518
Approved by:    Remko Catersels <sirdice at gmail.com> (maintainer)
Sponsored by:   UNIS Labs (vvd, commit patch)
MFH:            2026Q4
DeltaFile
+3-3databases/p5-DBD-mysql/distinfo
+1-1databases/p5-DBD-mysql/Makefile
+4-42 files

LLVM/project 2084bf5 — clang-tools-extra/docs/clang-tidy/checks/modernize avoid-c-arrays.md macro-to-enum.md

[clang-tidy][docs] Rewrite modernize check docs to Markdown [1/4]
DeltaFile
+191-198clang-tools-extra/docs/clang-tidy/checks/modernize/loop-convert.md
+57-56clang-tools-extra/docs/clang-tidy/checks/modernize/avoid-bind.md
+55-54clang-tools-extra/docs/clang-tidy/checks/modernize/deprecated-headers.md
+47-48clang-tools-extra/docs/clang-tidy/checks/modernize/macro-to-enum.md
+47-48clang-tools-extra/docs/clang-tidy/checks/modernize/concat-nested-namespaces.md
+47-46clang-tools-extra/docs/clang-tidy/checks/modernize/avoid-c-arrays.md
+444-4504 files not shown
+575-56710 files

LLVM/project dda745d — clang-tools-extra/docs/clang-tidy/checks/modernize macro-to-enum.md

Update clang-tools-extra/docs/clang-tidy/checks/modernize/macro-to-enum.md

Co-authored-by: EugeneZelenko <eugene.zelenko at gmail.com>
DeltaFile
+1-1clang-tools-extra/docs/clang-tidy/checks/modernize/macro-to-enum.md
+1-11 files

LLVM/project 47262b1 — clang-tools-extra/docs/clang-tidy/checks/modernize avoid-bind.md min-max-use-initializer-list.md

~
DeltaFile
+1-11clang-tools-extra/docs/clang-tidy/checks/modernize/make-shared.md
+2-10clang-tools-extra/docs/clang-tidy/checks/modernize/loop-convert.md
+0-10clang-tools-extra/docs/clang-tidy/checks/modernize/make-unique.md
+3-5clang-tools-extra/docs/clang-tidy/checks/modernize/deprecated-headers.md
+0-6clang-tools-extra/docs/clang-tidy/checks/modernize/min-max-use-initializer-list.md
+1-3clang-tools-extra/docs/clang-tidy/checks/modernize/avoid-bind.md
+7-452 files not shown
+8-488 files

FreeBSD/src 71ed238 — contrib/llvm-project/llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

Merge commit 72a20b8e2987 from llvm git (by Gabriel Baraldi):

  [SLPVectorizer] Check std::optional coming out of getPointersDiff (#175784)

  Fixes https://github.com/llvm/llvm-project/issues/175768
  There are other unchecked uses std::optional in this pass but I couldn't
  figure out a test that triggers them

This fixes a clang crash in the SLP vectorizer, hit when building
audio/csound on powerpc64le. The hardened libc++ traps on the disengaged
optional, so clang dies with exit code 133. The second hunk is adapted to
llvm 21, where analyzeConstantStrideCandidate() is still isStridedLoad().

Approved by:    re (cperciva)
Reviewed by:    dim
MFC after:      3 days

Differential Revision:  https://reviews.freebsd.org/D61354


    [2 lines not shown]
DeltaFile
+25-7contrib/llvm-project/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+25-71 files

LLVM/project 5dae937 — clang-tools-extra/docs/clang-tidy/checks/modernize macro-to-enum.rst macro-to-enum.md

[clang-tidy][docs] Rename modernize check docs to Markdown [1/4] (#232206)

Tracking issue: #201242

See the [migration guide] for more information.

[migration guide]:

https://llvm.org/docs/SphinxQuickstartTemplate.html#markdown-migration-guidelines

This is the first part of the mechanical rename of the check
documentations in modernize module.
The rewrite is provided by the next PR in this stack.
DeltaFile
+0-326clang-tools-extra/docs/clang-tidy/checks/modernize/loop-convert.rst
+326-0clang-tools-extra/docs/clang-tidy/checks/modernize/loop-convert.md
+0-89clang-tools-extra/docs/clang-tidy/checks/modernize/avoid-bind.rst
+89-0clang-tools-extra/docs/clang-tidy/checks/modernize/avoid-bind.md
+0-85clang-tools-extra/docs/clang-tidy/checks/modernize/macro-to-enum.rst
+85-0clang-tools-extra/docs/clang-tidy/checks/modernize/macro-to-enum.md
+500-50014 files not shown
+919-91920 files

LLVM/project 93be4ee — llvm/test/CodeGen/AMDGPU peephole-fold-imm.mir

add bad pseudo_scalar_trans_restriction test
DeltaFile
+14-0llvm/test/CodeGen/AMDGPU/peephole-fold-imm.mir
+14-01 files

LLVM/project af17f91 — llvm/lib/Target/AMDGPU SIInstrInfo.cpp, llvm/test/CodeGen/AMDGPU amdgcn.bitcast.256bit.ll peephole-fold-imm.mir

AMDGPU: Fold inline immediates in peephole-opt

Currently the AMDGPU implementation of foldImmediate handles a small
set of special cases that require rewriting the instruction opcode
(COPY -> mov, and fma-like to fmac-like). Most general immediate folding
is handled in SIFoldOperands. Teach PeepholeOpt to fold all inline
immediates into target instructions which should always be an improvement.

This is to help alleviate some phase ordering problems in future changes.
I've also never liked how SIFoldOperands is written and it could use a
rewrite, and this will alleviate some of its responsibilties. It will
always be necessary since some operand folds require additional context
that foldImmediate won't have (namely, we have to make contextually aware
tradeoffs for which operands are worth folding to respect constant bus
restrictions, considering other users of the values).

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+2,374-2,371llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+490-485llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+68-74llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.320bit.ll
+94-9llvm/test/CodeGen/AMDGPU/peephole-fold-imm.mir
+45-52llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.256bit.ll
+58-10llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+3,129-3,00114 files not shown
+3,221-3,17020 files

LLVM/project 933717e — llvm/lib/Target/X86 X86Subtarget.h X86TargetTransformInfo.cpp, llvm/test/Transforms/GlobalOpt/X86 apx.ll

[X86][fastcc] Extend FASTCC to be used with AVX10 (#240817)

This allows generating fastcc when both caller and callee have APX
feature, or have APX and AVX10.1

See discussion in
https://github.com/llvm/llvm-project/pull/164638#issuecomment-6450715688
DeltaFile
+61-4llvm/test/Transforms/GlobalOpt/X86/apx.ll
+4-1llvm/lib/Target/X86/X86TargetTransformInfo.cpp
+1-0llvm/lib/Target/X86/X86Subtarget.h
+66-53 files

FreeBSD/ports 15e0f3a — net-im/tox Makefile distinfo

net-im/tox: Update 0.2.24 => 0.2.25

Changelog:
https://metacpan.org/release/DVEEDEN/DBD-mysql-5.014/source/Changes

Sponsored by:   UNIS Labs
MFH:            2026Q4

(cherry picked from commit 9e7ad7b8df9eacb057bdc638dca07f0429548c4d)
DeltaFile
+3-3net-im/tox/distinfo
+1-1net-im/tox/Makefile
+4-42 files

FreeBSD/ports 9e7ad7b — net-im/tox Makefile distinfo

net-im/tox: Update 0.2.24 => 0.2.25

Changelog:
https://metacpan.org/release/DVEEDEN/DBD-mysql-5.014/source/Changes

Sponsored by:   UNIS Labs
MFH:            2026Q4
DeltaFile
+3-3net-im/tox/distinfo
+1-1net-im/tox/Makefile
+4-42 files

LLVM/project 4a0a1f2 — llvm/lib/Target/LoongArch LoongArchMergeBaseOffset.cpp, llvm/test/CodeGen/LoongArch merge-base-offset-fold-large-offset.mir merge-base-offset.ll

[LoongArch] Compute exact offset value in foldLargeOffset()

foldLargeOffset() reconstructed the offset additively with a mask of the
bits overwritten later, which is only valid for the canonical sequences
produced by LoongArchMatInt where every instruction writes a disjoint bit
field. Non-canonical chains reach the pass when part of the constant is
materialized in another basic block, e.g. ORI on top of ORI, or ORI after
SLLI.D, and the computed offset was wrong:

  ori 256; ori 1                 -> g+1         (expected g+257)
  lu12i.w+ori 0x678; ori 0xf     -> g+305418255 (expected g+305419903)
  ori 0xabc; slli.d 4; ori 0xf0  -> g+41200     (expected g+44016)

Collect the chain first, then evaluate it in program order with the exact
semantics of each instruction. The existing restrictions (single non-debug
use, no target flags, at most 4 instructions, LU32I.D/LU52I.D/SLLI.D only
with the pcala64 sequence) are kept.

Assisted-By: LLM
DeltaFile
+55-52llvm/lib/Target/LoongArch/LoongArchMergeBaseOffset.cpp
+18-18llvm/test/CodeGen/LoongArch/merge-base-offset.ll
+12-12llvm/test/CodeGen/LoongArch/merge-base-offset-fold-large-offset.mir
+85-823 files

LLVM/project 02cef81 — llvm/test/CodeGen/LoongArch merge-base-offset.ll merge-base-offset-fold-large-offset.mir

[LoongArch][NFC] Add tests for folding non-canonical large offset chains

Add tests where the offset is partially materialized in another basic
block, so the offset chain seen by foldLargeOffset() is not in the
canonical form produced by LoongArchMatInt. The current output is wrong:

  ori_ori:          expected g+257,       got g+1
  ori_ori_overlap:  expected g+305419903, got g+305418255
  ori_slli_ori:     expected g+44016,     got g+41200 (large code model)

Assisted-By: LLM
DeltaFile
+140-0llvm/test/CodeGen/LoongArch/merge-base-offset-fold-large-offset.mir
+105-0llvm/test/CodeGen/LoongArch/merge-base-offset.ll
+245-02 files

LLVM/project a40c0e0 — lld/test/ELF/lto verify-invalid.ll, lld/test/MachO verify.ll

[lld][test] Require asserts for LTO verifier pass-manager tests (#242933)

Fixes 58561153d5fc (#242663).

#242663 makes ld.lld, ld64.lld and wasm-ld always set disableVerify in
NDEBUG builds, so --lto-debug-pass-manager no longer prints "Running
pass: VerifierPass" in builds without assertions. The tests below check
for the verifier pass in the default (no -disable-verify) mode, so they
fail when lld is built without LLVM assertions:

  lld/test/ELF/lto/verify-invalid.ll
  lld/test/MachO/verify.ll
  lld/test/wasm/lto/verify-invalid.ll

Mark them REQUIRES: asserts.

Assisted-by: Gemini
DeltaFile
+2-1lld/test/MachO/verify.ll
+2-1lld/test/ELF/lto/verify-invalid.ll
+2-0lld/test/wasm/lto/verify-invalid.ll
+6-23 files

FreeBSD/ports db73df2 — devel/py-ty Makefile distinfo

devel/py-ty: Update to 0.0.104

Changelog: https://github.com/astral-sh/ty/blob/0.0.104/CHANGELOG.md

Reported by:    Repology
DeltaFile
+3-3devel/py-ty/distinfo
+1-1devel/py-ty/Makefile
+4-42 files

LLVM/project b0d8cf4 — llvm/lib/Transforms/Vectorize VPlanTransforms.h VPlan.h, llvm/test/Transforms/LoopVectorize/RISCV reg-usage-maxbandwidth.ll reg-usage.ll

[LV] Don't calculate  cost/register pressure for vp.merge that can be folded.  (#208621)

In EVL vectorization, LV generates a `vp.merge` to clean up poison
values in the tail (inactive) lanes, which often happens during outer
loop vectorization.

However, in RISC-V peephole optimizations, most of these `vp.merge`
operations can be folded by changing the tail policy from agnostic
(`ta`) to undisturbed (`tu`). This patch wraps vp.merge(RecipeA) into an
expression recipe, making it easier for LV to skip cost and register
usage calculations for vp.merge that can be folded in the backend.
DeltaFile
+129-0llvm/test/Transforms/LoopVectorize/RISCV/reg-usage.ll
+77-4llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+51-0llvm/lib/Transforms/Vectorize/VPlanEVLTailFolding.cpp
+40-7llvm/test/Transforms/LoopVectorize/RISCV/reg-usage-maxbandwidth.ll
+14-0llvm/lib/Transforms/Vectorize/VPlan.h
+5-0llvm/lib/Transforms/Vectorize/VPlanTransforms.h
+316-113 files not shown
+321-159 files

NetBSD/pkgsrc gRlmSf1 — doc CHANGES-2026

   doc: Updated editors/ait to 1.16
VersionDeltaFile
1.8080+2-1doc/CHANGES-2026
+2-11 files

OpenBSD/ports DGyKRA6 — security/stunnel distinfo Makefile, security/stunnel/patches patch-Makefile_in

   Move to 5.83beta2
   Fixes the "checkHost", "checkEmail", and "checkIP" options
   Spotted by kirill@, with sthen@
VersionDeltaFile
1.102+6-2security/stunnel/Makefile
1.49+2-2security/stunnel/distinfo
1.19+1-1security/stunnel/patches/patch-Makefile_in
+9-53 files

NetBSD/pkgsrc aXg7Wzw — editors/ait Makefile distinfo

   ait: update to 1.16

   New:
   - Added C-x h for mark-entire-buffer
   - support bold and italics

   Enhancements:
   - Added the word 'Wrapped' when you have gotten to the end of a file
     while doing an isearch.
   - Added C-u support to go backwards with esc m
   - Ignore whitespace between point and bracket for jumping brackets
     and treat backet jumping as esc b or esc f if there is no bracket.
   - msgline now fully supports UTF-8
   - dynamic-expand now searches all opened buffers
   - Added more files types/langs for syntax highlighting

   Bugs:
   - Fixed bug when end quote is next to an escaped quote and you
     attempt to jump to the matching quote.

    [11 lines not shown]
VersionDeltaFile
1.7+4-4editors/ait/distinfo
1.7+2-2editors/ait/Makefile
+6-62 files

LLVM/project 548dffc — llvm/lib/Target/NVPTX NVPTXISelLowering.cpp, llvm/test/CodeGen/NVPTX clz-popc-known-bits.ll

[NVPTX] Add known bits for clz.b64 and popc.b64 (#237793)

The target nodes from #236435 lost the known bits that the generic nodes
provided, so a rotate by a count keeps a mask it doesn't need, and a
count in another block no longer forms mul.wide. As suggested on
#236435, bound the count the same way SelectionDAG does for CTLZ and
CTPOP.

Assisted-by: Claude Code (Claude Opus 5.5)
DeltaFile
+139-0llvm/test/CodeGen/NVPTX/clz-popc-known-bits.ll
+10-0llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
+149-02 files

LLVM/project 1dca23b — llvm/lib/Target/Hexagon HexagonLoadStoreWidening.cpp, llvm/test/CodeGen/Hexagon load-widen-addasl.mir

[Hexagon] Exclude debug instructions from load/store widening size limit (#221649)

`HexagonLoadStoreWidening` uses `MachineBasicBlock::size()` as a compile-time guard, so debug instructions can push a block over the limit and disable otherwise valid load or store widening.

Use `sizeWithoutDebugLargerThan` so debug instructions and pseudo probes do not consume the limit. Add focused MIR coverage for both sides of the instruction-count threshold.

Fixes #221634

This issue was found by a non-AI automated testing tool. AI assisted with the analysis and development of the fix.
DeltaFile
+14-3llvm/test/CodeGen/Hexagon/load-widen-addasl.mir
+1-1llvm/lib/Target/Hexagon/HexagonLoadStoreWidening.cpp
+15-42 files

LLVM/project 1e5f39d — llvm/lib/Target/Sparc SparcTargetMachine.h SparcTargetMachine.cpp

Sparc: Use LastSubtargetCache in getSubtargetImpl (#242852)

Adopt new common pattern for targets to lookup subtargets.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+32-15llvm/lib/Target/Sparc/SparcTargetMachine.cpp
+14-0llvm/lib/Target/Sparc/SparcTargetMachine.h
+46-152 files

NetBSD/pkgsrc 35mtN6t — doc TODO CHANGES-2026

   doc: Updated editors/poke to 5.0
VersionDeltaFile
1.28403+1-2doc/TODO
1.8079+2-1doc/CHANGES-2026
+3-32 files

NetBSD/pkgsrc 5ifrPlq — editors/poke distinfo Makefile

   poke: update to 5.0

   * User interface updates
     - Now hyperlink server can bind to a user-specified port for
       listening to commands (-p, --hserver-port).

   * Poke Language updates
     - Floating-point arithmetic is now supported on uint<32>/uint<64>
       types. uint<32> will be interpreted as a single-precision
       floating-point number and uint<64> will be interpreted as a
       double-precision floating-point number as defined per the IEEE
       754 standard. The following expressions are now supported:
         - Addition:       a .+  b
         - Subtraction:    a .-  b
         - Multiplication: a .*  b
         - Division:       a ./  b
         - Ceil-devision:  a ./^ b
         - Exponentiation: a .** b
         - Remainder:      a .%  b

    [67 lines not shown]
VersionDeltaFile
1.3+33-27editors/poke/PLIST
1.5+4-4editors/poke/distinfo
1.11+4-4editors/poke/Makefile
+41-353 files

LLVM/project f4dd0e9 — clang-tools-extra/docs/clang-tidy/checks/modernize macro-to-enum.md

Update clang-tools-extra/docs/clang-tidy/checks/modernize/macro-to-enum.md

Co-authored-by: EugeneZelenko <eugene.zelenko at gmail.com>
DeltaFile
+1-1clang-tools-extra/docs/clang-tidy/checks/modernize/macro-to-enum.md
+1-11 files