LLVM/project 6785c40llvm/include/llvm/Support KnownFPClass.h, llvm/lib/Analysis ValueTracking.cpp

ValueTracking: Avoid calling computeKnownFPClass on matched constant (#173248)

The fmul case already tries to match a literal value, we don't
need to match it twice.
DeltaFile
+6-4llvm/lib/Analysis/ValueTracking.cpp
+4-0llvm/include/llvm/Support/KnownFPClass.h
+4-0llvm/lib/Support/KnownFPClass.cpp
+14-43 files

LLVM/project ee1bac8llvm/lib/Transforms/Vectorize VPlanUtils.cpp

[VPlan] Support binary add/sub in getSCEVExprForVPValue. (NFCI)

Handle binary add/sub in getSCEVExprForVPValue. This means we are able
to compute more replicate recipe costs in the VPlan cost model. It
should produce the same costs.
DeltaFile
+25-0llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
+25-01 files

LLVM/project 48b8917llvm/include/llvm/Support KnownFPClass.h, llvm/lib/Analysis ValueTracking.cpp

ValueTracking: Avoid calling computeKnownFPClass on matched constant

The fmul case already tries to match a literal value, we don't
need to match it twice.
DeltaFile
+6-4llvm/lib/Analysis/ValueTracking.cpp
+4-0llvm/lib/Support/KnownFPClass.cpp
+4-0llvm/include/llvm/Support/KnownFPClass.h
+14-43 files

FreeBSD/src d673ddasys/contrib/openzfs/cmd/zpool zpool_main.c, sys/contrib/openzfs/module/os/linux/zfs zfs_ctldir.c

zfs: merge openzfs/zfs at 743334913 (zfs-2.4-release) into stable/15

OpenZFS 2.4.0

Notable upstream pull request merges:
 #17932 c8ecd63ac zpool: fix special vdev -v -o conflict
 #17941 74bbdda1e Fix snapshot automount expiry cancellation deadlock
 #17946 f45622ff4 chksum: run 256K benchmark on demand, preserve
                  chksum_stat_data
 #17960 a41ef3685 DDT: Reduce global DDT lock scope during writes
 #17961 2aad3dee2 DDT: Make children writes inherit allocator
 #17975 2e09f166f FreeBSD: Fix uninitialized variable error
 #17980 a785ddc5f DDT: Switch to using wmsums for lookup stats
 #17983 028d66b9d Fix ddtprune causing space leak
 #18004 e1f0baa54 FreeBSD: Remove HAVE_INLINE_FLSL use
 #18015 a2f768f61 FreeBSD: Fix a potential null dereference in
                  zfs_freebsd_fsync() (already merged)

Obtained from:  OpenZFS

    [2 lines not shown]
DeltaFile
+265-211sys/contrib/openzfs/cmd/zpool/zpool_main.c
+128-64sys/contrib/openzfs/module/os/linux/zfs/zfs_ctldir.c
+97-40sys/contrib/openzfs/module/zfs/zio.c
+86-8sys/contrib/openzfs/module/zfs/ddt.c
+86-0sys/contrib/openzfs/tests/zfs-tests/tests/functional/dedup/dedup_prune_leak.ksh
+82-0sys/contrib/openzfs/tests/zfs-tests/tests/functional/snapshot/snapshot_019_pos.ksh
+744-32342 files not shown
+1,100-50648 files

NetBSD/pkgsrc oXzdUiseditors/emacs30 PLIST Makefile.common, editors/emacs30-nox11 Makefile

   emacs30*: remove PLIST.native

   According to SmartOS build, it's now wrong.
VersionDeltaFile
1.2+3-3editors/emacs30/PLIST
1.2+1-3editors/emacs30-nox11/Makefile
1.3+1-3editors/emacs30/Makefile.common
1.4+1-2editors/emacs30/options.mk
+6-114 files

LLVM/project 5020e0fllvm/lib/Analysis ValueTracking.cpp, llvm/test/CodeGen/AMDGPU fold-fabs.ll

ValueTracking: Improve computeKnownFPClass fmul handling (#173247)

Improve known non-nan sign bit tracking. Handle cases with
a known 0 or inf input of indeterminate sign.

The tails of some library functions have sign management
for special cases.
DeltaFile
+44-44llvm/test/Transforms/Attributor/nofpclass-fmul.ll
+34-12llvm/lib/Analysis/ValueTracking.cpp
+1-3llvm/test/Transforms/InstCombine/fpcast.ll
+1-2llvm/test/Transforms/LoopVectorize/scalable-inductions.ll
+1-1llvm/test/Transforms/Attributor/nofpclass-nan-fmul.ll
+0-1llvm/test/CodeGen/AMDGPU/fold-fabs.ll
+81-636 files

LLVM/project 2568ec6llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/X86 non-schedulable-recalculate-deps.ll

[SLP]Recalculate dependencies for all cleared entries

Need to recalculate the dependencies for all cleared items to avoid
a crash, if the entry is used in other vector nodes

Fixes #173469
DeltaFile
+61-0llvm/test/Transforms/SLPVectorizer/X86/non-schedulable-recalculate-deps.ll
+1-3llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+62-32 files

FreeBSD/ports 011d888math/octave-forge Makefile

math/octave-forge: LLMS defaults to off.

 - Optional dependency math/octave-forge-llms defaults to off.
 - Bump portrevision.
DeltaFile
+2-1math/octave-forge/Makefile
+2-11 files

FreeBSD/ports c36f377math/octave-forge-llms Makefile

math/octave-forge-llms: Mark broken.
DeltaFile
+1-0math/octave-forge-llms/Makefile
+1-01 files

FreeBSD/ports 120fba1math/octave-forge-odbc distinfo Makefile

math/octave-forge-odbc: Update to 0.0.5.
DeltaFile
+3-3math/octave-forge-odbc/distinfo
+1-1math/octave-forge-odbc/Makefile
+4-42 files

LLVM/project 80a4be8llvm/test/Transforms/InstCombine simplify-demanded-fpclass-exp.ll

InstCombine: Add baseline tests for exp SimplifyDemandedFPClass
DeltaFile
+502-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-exp.ll
+502-01 files

LLVM/project 54006dfllvm/include/llvm/Support KnownFPClass.h, llvm/lib/Analysis ValueTracking.cpp

Make KnownFPClass::exp not side-effecting
DeltaFile
+9-7llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+5-9llvm/lib/Analysis/ValueTracking.cpp
+5-5llvm/lib/Support/KnownFPClass.cpp
+1-1llvm/include/llvm/Support/KnownFPClass.h
+20-224 files

LLVM/project 17c15adllvm/include/llvm/Support KnownFPClass.h, llvm/lib/Analysis ValueTracking.cpp

InstCombine: Handle exp/exp2/exp10 in SimplifyDemandedFPClass

I'm working on optimizing out the tail sequences in the
implementations of the 4 different flavors of pow. These
include chains of selects on the various edge cases.

Related to #64870
DeltaFile
+90-0llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+34-47llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-exp.ll
+24-0llvm/lib/Support/KnownFPClass.cpp
+2-17llvm/lib/Analysis/ValueTracking.cpp
+3-0llvm/include/llvm/Support/KnownFPClass.h
+153-645 files

LLVM/project 2ce622cllvm/lib/Analysis ValueTracking.cpp, llvm/test/Transforms/Attributor nofpclass-exp.ll

positive values never denormal
DeltaFile
+8-8llvm/test/Transforms/Attributor/nofpclass-exp.ll
+2-3llvm/lib/Analysis/ValueTracking.cpp
+10-112 files

LLVM/project b84f116llvm/lib/Analysis ValueTracking.cpp, llvm/test/Transforms/Attributor nofpclass-exp.ll

ValueTracking: Improve handling of exp intrinsic for overflow

Teach exp handling that positive inputs cannot introduce overflow,
and negative inputs cannot introduce underflow.
DeltaFile
+24-24llvm/test/Transforms/Attributor/nofpclass-exp.ll
+16-0llvm/lib/Analysis/ValueTracking.cpp
+2-2llvm/test/Transforms/Attributor/AMDGPU/nofpclass-amdgcn-exp.ll
+42-263 files

LLVM/project 174db36llvm/lib/Analysis ValueTracking.cpp

Remove redundant check
DeltaFile
+3-6llvm/lib/Analysis/ValueTracking.cpp
+3-61 files

LLVM/project bb978d6llvm/test/Transforms/Attributor nofpclass-exp.ll

ValueTracking: Add baseline tests for computeKnownFPClass exp

This is already handled, but misses opportunities. Test cases
where the input is known positive or negative.
DeltaFile
+101-0llvm/test/Transforms/Attributor/nofpclass-exp.ll
+101-01 files

LLVM/project ed3862cllvm/include/llvm/Support KnownFPClass.h, llvm/lib/Analysis ValueTracking.cpp

ValueTracking: Avoid calling computeKnownFPClass on matched constant

The fmul case already tries to match a literal value, we don't
need to match it twice.
DeltaFile
+6-4llvm/lib/Analysis/ValueTracking.cpp
+4-0llvm/include/llvm/Support/KnownFPClass.h
+4-0llvm/lib/Support/KnownFPClass.cpp
+14-43 files

LLVM/project 3c70f79llvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp

Address comment
DeltaFile
+9-14llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+9-141 files

LLVM/project 2edb979llvm/lib/Analysis ValueTracking.cpp, llvm/test/Transforms/Attributor nofpclass-fmul.ll

Always inf or nan
DeltaFile
+10-10llvm/test/Transforms/Attributor/nofpclass-fmul.ll
+2-1llvm/lib/Analysis/ValueTracking.cpp
+12-112 files

LLVM/project 5e35cbbllvm/include/llvm/Support KnownFPClass.h, llvm/lib/Analysis ValueTracking.cpp

Make KnownFPClass::canonicalize not side-effecting
DeltaFile
+16-14llvm/lib/Support/KnownFPClass.cpp
+3-2llvm/include/llvm/Support/KnownFPClass.h
+3-2llvm/lib/Analysis/ValueTracking.cpp
+1-3llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+23-214 files

LLVM/project 349c6dellvm/lib/Analysis ValueTracking.cpp, llvm/test/CodeGen/AMDGPU fold-fabs.ll

ValueTracking: Improve computeKnownFPClass fmul handling

Improve known non-nan sign bit tracking. Handle cases with
a known 0 or inf input of indeterminate sign.

The tails of some library functions have sign management
for special cases.
DeltaFile
+35-35llvm/test/Transforms/Attributor/nofpclass-fmul.ll
+33-12llvm/lib/Analysis/ValueTracking.cpp
+1-3llvm/test/Transforms/InstCombine/fpcast.ll
+1-2llvm/test/Transforms/LoopVectorize/scalable-inductions.ll
+1-1llvm/test/Transforms/Attributor/nofpclass-nan-fmul.ll
+0-1llvm/test/CodeGen/AMDGPU/fold-fabs.ll
+71-546 files

LLVM/project e52a8a4llvm/include/llvm/Support KnownFPClass.h, llvm/lib/Analysis ValueTracking.cpp

InstCombine: Handle canonicalize in SimplifyDemandedFPClass

Doesn't try to handle PositiveZero flushing mode, but I
don't believe it is incorrect with it.
DeltaFile
+73-0llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+24-49llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-canonicalize.ll
+6-49llvm/lib/Analysis/ValueTracking.cpp
+48-0llvm/lib/Support/KnownFPClass.cpp
+5-0llvm/include/llvm/Support/KnownFPClass.h
+156-985 files

FreeBSD/ports 2122bf7audio/strawberry distinfo Makefile

audio/strawberry: Update to 1.2.16

https://github.com/strawberrymusicplayer/strawberry/releases/tag/1.2.15
https://github.com/strawberrymusicplayer/strawberry/releases/tag/1.2.16
DeltaFile
+3-3audio/strawberry/distinfo
+1-2audio/strawberry/Makefile
+4-52 files

FreeBSD/ports 83ff74dsysutils/libcdio pkg-plist distinfo, sysutils/libcdio/files patch-lib_driver_cdio__private.h

sysutils/libcdio: Update to 2.3.0

Disable static libraries; nothing in tree uses them.

https://github.com/libcdio/libcdio/releases/tag/2.3.0

PR:             291914
DeltaFile
+4-4sysutils/libcdio/files/patch-lib_driver_cdio__private.h
+1-6sysutils/libcdio/pkg-plist
+3-3sysutils/libcdio/distinfo
+2-1sysutils/libcdio/Makefile
+10-144 files

LLVM/project 08b1403llvm/test/Transforms/Attributor nofpclass-fmul.ll

ValueTracking: Add baseline tests for fmul computeKnownFPClass (#173246)

DeltaFile
+477-0llvm/test/Transforms/Attributor/nofpclass-fmul.ll
+477-01 files

NetBSD/pkgsrc 8EBCF7Hdoc pkg-vulnerabilities

   pkg-vulnerabilities: add last days CVEs

   + direwolf (fixed in HEAD, latest 1.8.1 release affected),
     fluidsynth, gimp, mariadb-client, net-snmp,
     netcdf (probably not fixed),
     openexr,
     ruby-httparty (fixed upstream, latest 0.23.2 release affected),
VersionDeltaFile
1.688+22-1doc/pkg-vulnerabilities
+22-11 files

NetBSD/pkgsrc CrpnkZKdoc CHANGES-2025

   doc: Updated emulators/hercules4sdl to 4.9.1
VersionDeltaFile
1.7383+2-1doc/CHANGES-2025
+2-11 files

NetBSD/pkgsrc sTKArAnemulators/hercules4sdl distinfo Makefile

   emulators/hercules4sdl: bugfix update to 4.9.1.

   Release notes for SDL Hyperion 4.9.1 from https://sdl-hercules-390.github.io/html/hercrnot.html


   Critical flaw in CCKD Garbage Collector / Dasd Hardener logic fixed

       Unknown to the Hercules team at the time, there existed a critcal flaw (bug) in the CCKD "Garbage Collector" and "Dasd Hardener" logic that would, if allowed to execute simultaneously with each other, cause one to unexpectedly interfere with the other, resulting in Hercules potentially hanging or crashing.

           Modifications to Hercules 4.9.1 have been made to ensure that this can no longer occur, by ensuring that neither is able to execute at the same time as the other. Instead, each now runs by itself (alone) until it reaches a stable point in its logic at the end of its "pass", before then allowing the other to execute until it too reaches a stable point in its own logic at the end of its own corresponding "pass". Processing continues in this alternating fashion for for as long as each are enabled.

            With this fix (workaround) now in place, it is now once again safe to have both the CCKD Garbage Collector and Dasd Hardener to both be set to enabled if so desired. Note that the default enabled/disabled setting for each have not changed however: the default for the Garbage Collector is still disabled and the default for the Dasd Hardener is still enabled.
VersionDeltaFile
1.12+4-4emulators/hercules4sdl/distinfo
1.16+2-2emulators/hercules4sdl/Makefile
+6-62 files

NetBSD/src Qqdci7cdistrib/sets/lists/base shl.mi, distrib/sets/lists/comp mi

   elftoolchain/libelf: add elf_version(), increment SHLIB_MINOR.

   This changeset reduces differences with upstream.
VersionDeltaFile
1.2509+4-1distrib/sets/lists/comp/mi
1.1023+2-2distrib/sets/lists/base/shl.mi
1.383+2-2distrib/sets/lists/debug/shl.mi
1.7+3-1external/bsd/elftoolchain/lib/libelf/Makefile
1.6+2-1tools/elftoolchain/libelf/Makefile
1.2+1-0external/bsd/elftoolchain/lib/libelf/elf.expsym
+14-76 files