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

LLVM/project 60d3b49llvm/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

LLVM/project e486f53llvm/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 cdbca28llvm/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 c365225llvm/test/Transforms/Attributor nofpclass-fmul.ll

More tests
DeltaFile
+30-0llvm/test/Transforms/Attributor/nofpclass-fmul.ll
+30-01 files

OpenBSD/ports L26bg5Btextproc/voikko/voikko-fi Makefile, textproc/voikko/voikko-fi/pkg DESCR-dialects

   Fix typo in DESCR.
VersionDeltaFile
1.2+1-1textproc/voikko/voikko-fi/pkg/DESCR-dialects
1.2+1-0textproc/voikko/voikko-fi/Makefile
+2-12 files

NetBSD/src KfAnTHnlib/libkvm kvm_m68k_gen.c, sys/arch/playstation2/ee sif.c

   Fix various typos in comments.
VersionDeltaFile
1.2+3-3lib/libkvm/kvm_m68k_gen.c
1.14+3-3sys/arch/playstation2/ee/sif.c
1.379+3-3sys/arch/sparc/sparc/pmap.c
1.4+3-3tests/lib/libc/atomic/t___sync_compare_and_swap.c
1.45+3-3usr.sbin/installboot/arch/i386.c
1.131+2-2sys/dev/wscons/wsconsio.h
+17-176 files

OpenBSD/ports idSHLDQtextproc Makefile

   +voikko
VersionDeltaFile
1.849+1-0textproc/Makefile
+1-01 files

OpenBSD/ports icHUwbttextproc/voikko Makefile.inc, textproc/voikko/libvoikko Makefile

   Initial revision
VersionDeltaFile
1.1+67-0textproc/voikko/voikko-fi/Makefile
1.1+64-0textproc/voikko/voikko-fi/patches/patch-tools_bin_voikko-build-dicts
1.1+22-0textproc/voikko/libvoikko/Makefile
1.1+18-0textproc/voikko/libvoikko/pkg/PLIST
1.1+16-0textproc/voikko/Makefile.inc
1.1+12-0textproc/voikko/libvoikko/pkg/DESCR
+199-046 files not shown
+304-052 files

LLVM/project fc5ac51llvm/test/Transforms/Attributor nofpclass-fmul.ll

ValueTracking: Add baseline tests for fmul computeKnownFPClass
DeltaFile
+447-0llvm/test/Transforms/Attributor/nofpclass-fmul.ll
+447-01 files

LLVM/project 1eea638clang/include/clang/Analysis CFGStmtMap.h AnalysisDeclContext.h, clang/lib/Analysis CFGStmtMap.cpp AnalysisDeclContext.cpp

[clang][NFC] Use constructor instead of factory function in `CFGStmtMap` (#172530)

`CFGStmtMap::Build` accepts pointers and returns a pointer to
dynamically allocated memory. In the one location where the type is
actually constructed, the pointers are guaranteed to be non-null. By
accepting references to statically enforce this, we can remove the only
way for the construction to fail.

By making this change, we also allow our user to decide how they want to
own the memory (either directly or indirectly). The user does not
actually need dynamic allocation here, so we replace the
`std::unique_ptr` with `std::optional`.

This simplifies the code by requiring fewer checks, makes comments on
what happens redundant because the code can obviously do only one thing,
avoids potential bugs, and improves performance by allocating less.
DeltaFile
+5-12clang/lib/Analysis/CFGStmtMap.cpp
+2-7clang/include/clang/Analysis/CFGStmtMap.h
+3-3clang/lib/Analysis/AnalysisDeclContext.cpp
+2-2clang/include/clang/Analysis/AnalysisDeclContext.h
+0-1clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp
+12-255 files