LLVM/project c596d30 — llvm/lib/Analysis InstructionSimplify.cpp, llvm/test/Transforms/InstSimplify icmp.ll

[InstSimplify] simplify `(x+C1)/C2 <= x` when `C1 < C2` (#246898)

The expression `(x+C1)/C2 <= x` is always true when `C1 < C2`
([alive2](https://alive2.llvm.org/ce/z/MFoBk8)). The `div_ceil`
operation is an instance of the LHS, so this pattern naturally comes up
when comparing the result of `div_ceil` with `x` or values known to be
`>= x`.

The original case I ran into (that currently does not eliminate the
bounds check: https://godbolt.org/z/6hzzf6j9z) is:

```rust
pub fn first_quarter(src: &[u8]) -> &[u8] {
    &src[..src.len().div_ceil(4)]
}
```

The implementation is basically by analogy with the multiplication rule
below.
DeltaFile
+125-0llvm/test/Transforms/InstSimplify/icmp.ll
+23-1llvm/lib/Analysis/InstructionSimplify.cpp
+148-12 files

FreeBSD/ports f5bd39f — multimedia/svt-av1-hdr Makefile distinfo

multimedia/svt-av1-hdr: update to 4.2.0

Changes:        https://github.com/juliobbv-p/SVT-AV1-HDR/compare/v4.2.0...v4.3.1
Reported by:    Repology
DeltaFile
+3-3multimedia/svt-av1-hdr/distinfo
+1-1multimedia/svt-av1-hdr/Makefile
+4-42 files

FreeBSD/ports 6c14cd4 — graphics/drm_info Makefile distinfo

graphics/drm_info: update to 2.11.0

Changes:        https://gitlab.freedesktop.org/emersion/drm_info/-/tags/v2.11.0
Reported by:    GitLab (notify releases)
DeltaFile
+3-3graphics/drm_info/distinfo
+1-2graphics/drm_info/Makefile
+4-52 files

LLVM/project cfc1e0b — llvm/test/TableGen/GlobalISelEmitter extract-subreg-result-class-allocatable.td extract-subreg-result-class.td, llvm/utils/TableGen GlobalISelEmitter.cpp

[GlobalISel] Pick a sub-register result class that has the value type (#237650)

Yak shave for #235976.

`getMatchingSubClassWithSubRegs()` breaks ties between register classes
covering
the same registers by class order, so it can pick one that cannot hold
the
extracted value: X86 `sub_xmm` of a `v4i32` got `FR16X` instead of
`VR128X`, and
instruction selection rejected the resulting COPY. The GlobalISel
emitter now
prefers a class that has the extracted value's type; only the X86 tables
change.
Test:
`llvm/test/TableGen/GlobalISelEmitter/extract-subreg-result-class.td`.

AI tool use: developed with Codex CLI assistance under the contributor's
direction.
DeltaFile
+65-7llvm/utils/TableGen/GlobalISelEmitter.cpp
+62-0llvm/test/TableGen/GlobalISelEmitter/extract-subreg-result-class-hwmode.td
+47-0llvm/test/TableGen/GlobalISelEmitter/extract-subreg-result-class.td
+44-0llvm/test/TableGen/GlobalISelEmitter/extract-subreg-result-class-allocatable.td
+218-74 files

FreeBSD/ports 33b0ed8 — devel/root distinfo Makefile, devel/root/files patch-core_rootcling__stage1_CMakeLists.txt patch-graf3d_glad_CMakeLists.txt

devel/root: Update to 6.40.04

PR:             301049
Approved by:    Erik Jensen <erik at tenku.dk> (maintainer)
DeltaFile
+512-373devel/root/pkg-plist
+8-16devel/root/Makefile
+11-0devel/root/files/patch-cmake_modules_FindxxHash.cmake
+10-0devel/root/files/patch-graf3d_glad_CMakeLists.txt
+3-3devel/root/distinfo
+2-2devel/root/files/patch-core_rootcling__stage1_CMakeLists.txt
+546-3946 files

LLVM/project 8ccac02 — mlir/include/mlir/Dialect/Tensor/IR TensorOps.td, mlir/lib/Dialect/Arith/Transforms IntRangeOptimizations.cpp

[mlir][tensor] Implement InferIntRangeInterface for scalar/tensor bridge ops

Implement integer range inference for `tensor.extract`,
`tensor.from_elements`, `tensor.insert`, and `tensor.splat`, mirroring
the existing `vector` dialect implementations. The range of a tensor
value bounds all of its elements, so:

- `tensor.extract` and `tensor.splat` forward the range of their
  tensor/scalar input.
- `tensor.insert` produces the union of the scalar and destination
  ranges.
- `tensor.from_elements` produces the union of the element ranges, or
  the maximal range for an empty tensor.

This lets integer range analysis flow through scalars that are
round-tripped through tensors, including single-element tensors such as
`tensor<i32>` operated on by elementwise `arith` ops.

Since dynamically shaped tensors can now have a known constant range,

    [6 lines not shown]
DeltaFile
+119-0mlir/test/Dialect/Tensor/int-range-inference.mlir
+38-54mlir/lib/Dialect/Arith/Transforms/IntRangeOptimizations.cpp
+45-0mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
+4-0mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
+206-544 files

FreeBSD/src e62e2bb — sys/powerpc/linux linux_syscalls.c linux_sysent.c

powerpc: Add first Linuxulator support (ELFv1, BE, powerpc64)

Introduce the first cut of the Linuxulator for powerpc64.  This was a
GSoC project for 2022, and consists of the following:

* ELFv1
* Limited shared page (no timekeep fallback)
* Most, if not all, syscalls are implemented, all common ones, no
  arch-specific ones.

At completion of the GSoC period this was able to run through the LTP
test suite, with a very high pass rate.  More work remains, as always,
and will be done as needed.

Further work is still necessary, but this lays the groundwork.  Expected
future work includes:

* ELFv2
* 32-bit support (running legacy Linux applications)

    [4 lines not shown]
DeltaFile
+8,751-0sys/powerpc/linux/linux_systrace_args.c
+2,209-0sys/powerpc/linux/syscalls.master
+2,095-0sys/powerpc/linux/linux_proto.h
+765-0sys/powerpc/linux/linux_sysvec.c
+531-0sys/powerpc/linux/linux_sysent.c
+462-0sys/powerpc/linux/linux_syscalls.c
+14,813-028 files not shown
+16,739-2034 files

FreeBSD/src b030920 — sys/modules Makefile, sys/modules/linux_common Makefile

linuxulator/powerpc: Add ELFv2 and powerpc64le support

Differential Revision:  https://reviews.freebsd.org/D42992
DeltaFile
+85-2sys/powerpc/linux/linux_sysvec.c
+2-2sys/modules/linux_common/Makefile
+2-2sys/modules/Makefile
+89-63 files

LLVM/project 6b5130c — llvm/test/tools/llvm-mca/X86/Generic resources-avxvnniint8.s resources-avxvnniint16.s

[llvm-mca][X86] Add AVX-VNNI-INT8/16 instruction tests (#246687)

Add resources-avxvnniint8.s and resources-avxvnniint16.s to test
AVX_VNNI_INT8 and AVX_VNNI_INT16 instructions (rr/rm, xmm/ymm).

Fixes #246298
DeltaFile
+113-0llvm/test/tools/llvm-mca/X86/Generic/resources-avxvnniint8.s
+113-0llvm/test/tools/llvm-mca/X86/Generic/resources-avxvnniint16.s
+226-02 files

FreeBSD/ports 8d8471e — devel/wasi-libcxx17 Makefile, devel/wasi-libcxx18 Makefile

Revert "devel/wasi-libcxx: Fix compiler flag checks when cross-building"

Does not qualify for portmgr blanket.

This reverts commit 298fc1dd10db2931e4958ca03a5d71c7789231f5.

PR: 298849
DeltaFile
+1-1devel/wasi-libcxx22/Makefile
+1-1devel/wasi-libcxx21/Makefile
+1-1devel/wasi-libcxx20/Makefile
+1-1devel/wasi-libcxx19/Makefile
+1-1devel/wasi-libcxx18/Makefile
+1-1devel/wasi-libcxx17/Makefile
+6-61 files not shown
+6-77 files

LLVM/project 1dd558f — clang/tools/clang-diff Opts.td ClangDiff.cpp, llvm/include/llvm/Option LibraryOptions.h OptionsStruct.h

[Option] Let a tool parse its command line into an options struct (#246881)

Follow-up to #246766: Generalize `OptionsStruct` so that a tool, not
only a library, can get its options as a generated struct.

opt::parseToolArgs parses argv with OptTable::parseArgs, keeping
response files and typo suggestions, and fills the struct.
OptionsStruct<""> gives a tool's struct internal linkage.
`RepeatedField` appends each occurrence's whole value, for options such
as -extra-arg whose values contain commas.

The parts a struct needs without cl:: move from LibraryOptions.h to the
new OptionsStruct.h, and LibraryOptTable becomes OptionsStructTable.

Convert clang-diff.

LLM-aided
DeltaFile
+165-0llvm/include/llvm/Option/OptionsStruct.h
+42-79clang/tools/clang-diff/ClangDiff.cpp
+5-100llvm/include/llvm/Option/LibraryOptions.h
+12-17clang/tools/clang-diff/Opts.td
+17-8llvm/utils/TableGen/Basic/OptionParserEmitter.cpp
+23-1llvm/lib/Option/LibraryOptions.cpp
+264-2054 files not shown
+304-20510 files

HardenedBSD/src adfc1e3 — sys/dev/cpufreq cpufreq_dt.h cpufreq_dt_vendor_if.m, sys/dev/nvmem nvmem.h nvmem.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+198-31sys/dev/cpufreq/cpufreq_dt.c
+99-0sys/dev/cpufreq/cpufreq_allwinner.c
+62-0sys/dev/nvmem/nvmem.c
+52-0sys/dev/cpufreq/cpufreq_dt_vendor_if.m
+47-0sys/dev/cpufreq/cpufreq_dt.h
+7-0sys/dev/nvmem/nvmem.h
+465-314 files not shown
+470-3210 files

HardenedBSD/src 9307589 — sys/dev/cpufreq cpufreq_dt.h cpufreq_dt_vendor_if.m, sys/dev/nvmem nvmem.h nvmem.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+198-31sys/dev/cpufreq/cpufreq_dt.c
+99-0sys/dev/cpufreq/cpufreq_allwinner.c
+62-0sys/dev/nvmem/nvmem.c
+52-0sys/dev/cpufreq/cpufreq_dt_vendor_if.m
+47-0sys/dev/cpufreq/cpufreq_dt.h
+7-0sys/dev/nvmem/nvmem.h
+465-314 files not shown
+470-3210 files

NetBSD/pkgsrc nwKXQom — sysutils/py-Glances Makefile

   sysutils/py-Glances: Skip tests that cannot pass in pkgsrc

   Deselect the tests that need chevron or pySMART, neither of which is
   packaged, and, on platforms other than Linux, the nl80211 tests that
   need netlink sockets.

   On NetBSD and OpenBSD also deselect test_phys_core_returns_int.
   psutil cannot count physical cores there and documents
   cpu_count(logical=False) as always None.
VersionDeltaFile
1.61+26-2sysutils/py-Glances/Makefile
+26-21 files

HardenedBSD/ports df0a1fd — audio/owntone/files patch-src_outputs_pipewire.c, emulators/ukncbtl/files patch-qt6

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+256-0emulators/ukncbtl/files/patch-qt6
+31-0audio/owntone/files/patch-src_outputs_pipewire.c
+29-0sysutils/sigu/Makefile
+11-11graphics/scantailor/pkg-plist
+11-9sysutils/luckybackup/Makefile
+20-0x11/ly/files/patch-ly-core_src_interop.zig
+358-2046 files not shown
+503-10752 files

NetBSD/pkgsrc ylS0c2B — doc CHANGES-2026

   doc: Updated converters/p5-Sereal to 7.009
VersionDeltaFile
1.8530+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc lweUpS9 — converters/p5-Sereal Makefile distinfo

   p5-Sereal: update to 7.009.

   7.009
       * Fix Encoder builds on threaded Perl 5.14 and 5.16.
       * Fix Decoder test portability on older and extended-precision
         Perls. Fix bundled Zstd builds on Windows without Unix rm.
       * Broaden portability CI and require regeneration, CPAN Testers
         review and successful CI for the release commit before publication.

   7.008
       * Improve Encoder and Decoder performance with faster scalar and
         varint handling, more efficient string deduplication, and reuse of
         Zstd contexts. Reduce Encoder buffer allocation and retention.
       * Preserve compression, readonly and integer aliasing settings when
         FREEZE/THAW callbacks reuse their encoder or decoder.
       * Fix empty UTF-8 validation and builds with assertions enabled.
         Existing wire formats and protocol compatibility are preserved.
         Thanks to Steffen Mueller for these improvements and fixes.


    [23 lines not shown]
VersionDeltaFile
1.23+4-4converters/p5-Sereal/distinfo
1.34+2-2converters/p5-Sereal/Makefile
+6-62 files

NetBSD/pkgsrc YaWHGZZ — doc CHANGES-2026

   doc: Updated converters/p5-Sereal-Encoder to 7.009
VersionDeltaFile
1.8529+2-1doc/CHANGES-2026
+2-11 files

LLVM/project 1a8d492 — llvm/lib/Target/Hexagon HexagonDepInstrInfo.td HexagonDepIICHVX.td, llvm/test/CodeGen/AMDGPU memintrinsic-unroll.ll

Rebase, address comments, improvements, fixes

Created using spr 2.0.0-beta.1
DeltaFile
+15,373-16,115llvm/lib/Target/Hexagon/HexagonDepIICScalar.td
+7,746-8,018llvm/lib/Target/Hexagon/HexagonDepIICHVX.td
+4,870-4,906llvm/test/CodeGen/AMDGPU/memintrinsic-unroll.ll
+11-7,510mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
+3,141-3,182llvm/test/CodeGen/RISCV/clmul.ll
+2,907-2,931llvm/lib/Target/Hexagon/HexagonDepInstrInfo.td
+34,048-42,66210,076 files not shown
+458,531-345,46010,082 files

NetBSD/pkgsrc SkyHIPk — converters/p5-Sereal-Encoder Makefile distinfo

   p5-Sereal-Encoder: update to 7.009.

   7.009
       * Fix string deduplication builds on threaded Perl 5.14 and 5.16.
       * Fix bundled Zstd builds on Windows without a Unix rm command.
       * Expand portability CI. Require regeneration, CPAN Testers review
         and successful CI for the release commit before publication.

   7.008
       * Speed up scalar, string and small-varint encoding, and reduce
         stack usage by keeping larger helpers out of the hot path.
       * Reduce allocation overhead for dedupe_strings and
         aliased_dedupe_strings with a single C string table. Preserve
         binary/UTF-8 distinctions and reference tracking.
       * Reuse Zstd compression contexts on reusable encoders for payloads
         up to 512 KiB, avoiding repeated context allocation.
       * Improve buffer growth and container preallocation. Limit retained
         buffers on reusable encoders to 1 MiB after large payloads, and
         strengthen buffer size and overflow checks.

    [32 lines not shown]
VersionDeltaFile
1.31+4-4converters/p5-Sereal-Encoder/distinfo
1.42+2-2converters/p5-Sereal-Encoder/Makefile
+6-62 files

NetBSD/pkgsrc aQrFilO — doc CHANGES-2026

   doc: Updated converters/p5-Sereal-Decoder to 7.009
VersionDeltaFile
1.8528+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc yS6KCjl — converters/p5-Sereal-Decoder Makefile distinfo

   p5-Sereal-Decoder: update to 7.009.

   7.009
       * Make the Zstd re-entrancy test independent of hash order and
         temporary reference counts, and distinguish compression levels.
       * Fix false regression-test failures on older Perls and builds
         with extended-precision NVs (issues #352 and #353).
       * Fix bundled Zstd builds on Windows without a Unix rm command.
       * Expand portability CI. Require regeneration, CPAN Testers review
         and successful CI for the release commit before publication.

   7.008
       * Speed up small-varint decoding and arrays of untracked scalar
         values. Reduce temporary allocations and stack usage while
         preserving recursion limits, aliasing and readonly options.
       * Reuse Zstd decompression contexts on reusable decoders instead of
         allocating a context for each packet.
       * Preserve readonly and integer aliasing options when THAW callbacks
         reuse the decoder.

    [37 lines not shown]
VersionDeltaFile
1.32+4-4converters/p5-Sereal-Decoder/distinfo
1.43+2-2converters/p5-Sereal-Decoder/Makefile
+6-62 files

NetBSD/pkgsrc zLo3Co7 — doc CHANGES-2026

   doc: Updated mail/p5-Email-Address-XS to 1.06
VersionDeltaFile
1.8527+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc CDdIXvx — mail/p5-Email-Address-XS Makefile distinfo

   p5-Email-Address-XS: update to 1.06.

   1.06  Thu Nov 05 13:39:23 2026
        - fix formatting phrase input which contains "=?" substring but is not MIME word (CVE-2026-120362)
VersionDeltaFile
1.9+4-4mail/p5-Email-Address-XS/distinfo
1.18+3-4mail/p5-Email-Address-XS/Makefile
+7-82 files

NetBSD/pkgsrc IwFQkCQ — doc CHANGES-2026

   doc: Updated devel/p5-Data-Dump to 1.28
VersionDeltaFile
1.8526+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc 27eUYJ1 — devel/p5-Data-Dump Makefile distinfo

   p5-Data-Dump: update to 1.28.

   2026-11-23  Breno G. de Oliveira <garu at cpan.org>

      Release 1.28

      Fix regex tests in older perls.

   2026-11-23  Breno G. de Oliveira <garu at cpan.org>

      Release 1.27

      Skip some regexp tests in older perls.
VersionDeltaFile
1.15+4-4devel/p5-Data-Dump/distinfo
1.32+2-2devel/p5-Data-Dump/Makefile
+6-62 files

NetBSD/pkgsrc F0QHGgl — doc CHANGES-2026

   doc: Updated misc/multitail to 7.1.6
VersionDeltaFile
1.8525+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc pwkfkRO — doc CHANGES-2026 TODO

   doc: Updated converters/p5-Cpanel-JSON-XS to 4.83
VersionDeltaFile
1.28496+2-2doc/TODO
1.8524+2-1doc/CHANGES-2026
+4-32 files

NetBSD/pkgsrc TEK1ZeZ — converters/p5-Cpanel-JSON-XS Makefile distinfo

   p5-Cpanel-JSON-XS: update to 4.83.

   4.83 2026-11-23 (rurban)

        - Security fixes, reported by Albert Gierlach (rivit):
          * decode: free the temporary encoding name when the input starts with
            a UTF-16 or UTF-32 BOM (leak of a scalar per call, successful or
            not). CVE-2026-134876
          * decode: with allow_tags free the enclosing arrays and hashes when
            a THAW method dies (leak). CVE-2026-134877
          * decode: free the key of every enclosing object member when a
            filter_json_object or filter_json_single_key_object callback dies
            or a THAW method dies (leak). CVE-2026-134878
          * encode: encode_stringify freed neither its string copy nor the
            overloaded object when encode_str croaked on malformed UTF-8,
            e.g. with allow_stringify (leak). CVE-2026-134879
        - encode: no signed overflow negating IV_MIN with JSON_TYPE_INT, and
          no read of uninitialized memory when checking short formatted numbers
          and bignum strings for inf and nan.

    [2 lines not shown]
VersionDeltaFile
1.17+4-4converters/p5-Cpanel-JSON-XS/distinfo
1.25+2-2converters/p5-Cpanel-JSON-XS/Makefile
+6-62 files

NetBSD/pkgsrc NAgdTNU — misc/multitail Makefile distinfo, misc/multitail/patches patch-ui.c patch-ac

   misc/multitail: update to 7.1.6

   This update fixes shell injection in '-ex' command execution
   along with other changes. The fix causes a breaking change.

   Breaking change explained here:
   https://github.com/folkertvanheusden/multitail/commit/84f304e
VersionDeltaFile
1.2+15-20misc/multitail/patches/patch-CMakeLists.txt
1.18+7-7misc/multitail/distinfo
1.5+1-11misc/multitail/patches/patch-ac
1.3+1-10misc/multitail/patches/patch-ui.c
1.35+2-3misc/multitail/Makefile
+26-515 files