LLVM/project 82505fbllvm/include/llvm/Transforms/Utils Cloning.h, llvm/lib/Transforms/IPO Inliner.cpp

[Inliner] Put inline history into IR as !inline_history metadata (#190700)

(Reland of #190092 with verifier change to look through GlobalAliases)

So that it's preserved across all inline invocations rather than just
one inliner pass run.

This prevents cases where devirtualization in the simplification
pipeline uncovers inlining opportunities that should be discarded due to
inline history, but we dropped the inline history between inliner pass
runs, causing code size to blow up, sometimes exponentially.

For compile time reasons, we want to limit this to only call sites that
have the potential to inline through SCCs, potentially with the help of
devirtualization. This means that the callee is in a non-trivial
(Ref)SCC, or the call site was previously an indirect call, which can
potentially be devirtualized to call any function.

The CGSCCUpdater::InlinedInternalEdges logic still seems to be relevant

    [5 lines not shown]
DeltaFile
+102-0llvm/test/Transforms/Inline/inline-history.ll
+57-28llvm/lib/Transforms/Utils/InlineFunction.cpp
+25-36llvm/lib/Transforms/IPO/Inliner.cpp
+61-0llvm/test/Verifier/inline-history-metadata.ll
+25-26llvm/lib/Transforms/Utils/CloneFunction.cpp
+19-17llvm/include/llvm/Transforms/Utils/Cloning.h
+289-10713 files not shown
+394-21319 files

LLVM/project 63be9b2clang/include/clang/ScalableStaticAnalysisFramework/Analyses EntityPointerLevel.h

fix format
DeltaFile
+2-2clang/include/clang/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel.h
+2-21 files

LLVM/project 2931325clang/test/Analysis/Scalable/ssaf-format list.test

Apply suggestion from @ziqingluo-90
DeltaFile
+1-1clang/test/Analysis/Scalable/ssaf-format/list.test
+1-11 files

FreeBSD/ports bae3b67net-p2p/sonarr distinfo Makefile

net-p2p/sonarr: Update 4.0.16.2944 => 4.0.17.2952

Changelog:
https://github.com/Sonarr/Sonarr/releases/tag/v4.0.17.2952

PR:             294180
Sponsored by:   UNIS Labs
DeltaFile
+3-3net-p2p/sonarr/distinfo
+1-2net-p2p/sonarr/Makefile
+4-52 files

LLVM/project fa70ee4clang/lib/CIR/CodeGen CIRGenBuiltin.cpp, clang/test/CIR/CodeGenBuiltins builtins-floating-point.c

[CIR] Implement __builtin_flt_rounds and __builtin_set_flt_rounds (#190706)

This adds CIR handling for the __builtin_flt_rounds and
__builtin_set_flt_rounds builtin functions. Because the LLVM dialect
does not have dedicated operations for these, I have chosen not to
implement them as operations in CIR either. Instead, we just call the
LLVM intrinsic.
DeltaFile
+26-0clang/test/CIR/CodeGenBuiltins/builtins-floating-point.c
+17-3clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp
+43-32 files

LLVM/project 511a7aaclang/include/clang/CIR/Dialect/IR CIRAttrs.td, clang/lib/CIR/Lowering/DirectToLLVM LowerToLLVM.cpp CMakeLists.txt

[CIR][NFC] Use tablegen to create CIRAttrToValue visitor declarations (#187607)

This change introduces TableGen support for indicating CIR attributes
that require a CIRAttrToValue visitor, adds the new flag to all
attributes to which it applies, and replaces the explicit declarations
with the tablegen output.
DeltaFile
+34-27clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
+46-0clang/utils/TableGen/CIRLoweringEmitter.cpp
+3-24clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+4-0clang/test/CIR/Lowering/poison.cir
+1-0clang/lib/CIR/Lowering/DirectToLLVM/CMakeLists.txt
+88-515 files

FreeBSD/ports 3ac2a06news/nzbhydra2 Makefile distinfo, news/nzbhydra2/files nzbhydra2.in

news/nzbhydra2: Update 7.9.0 => 8.5.3

Changelog:
https://github.com/theotherp/nzbhydra2/blob/v8.5.3/changelog.md

- Use exact Java version 17: "You need to install Java 17 (not lower,
  not higher)".
- Fix warnings from portclippy.
- Distfiles is zip: add USES+=zip, remove EXTRACT_SUFFIX=.zip, adjust
  EXTRACT_*_ARGS.
- Add NO_ARCH.
- Simplify do-install.
- Remove LICENSE from installation - already installed via LICENSE.
- Sort plist.
- Respect substitutions variables USER, GROUP, DATADIR in rc.d script.

PR:             294193
Approved by:    Marcel Bischoff <marcel at herrbischoff.com> (maintainer)
Sponsored by:   UNIS Labs

    [3 lines not shown]
DeltaFile
+20-23news/nzbhydra2/Makefile
+7-7news/nzbhydra2/files/nzbhydra2.in
+3-3news/nzbhydra2/distinfo
+30-333 files

FreeBSD/ports 238f7a8news/nzbhydra2 Makefile distinfo, news/nzbhydra2/files nzbhydra2.in

news/nzbhydra2: Update 7.9.0 => 8.5.3

Changelog:
https://github.com/theotherp/nzbhydra2/blob/v8.5.3/changelog.md

- Use exact Java version 17: "You need to install Java 17 (not lower,
  not higher)".
- Fix warnings from portclippy.
- Distfiles is zip: add USES+=zip, remove EXTRACT_SUFFIX=.zip, adjust
  EXTRACT_*_ARGS.
- Add NO_ARCH.
- Simplify do-install.
- Remove LICENSE from installation - already installed via LICENSE.
- Sort plist.
- Respect substitutions variables USER, GROUP, DATADIR in rc.d script.

PR:             294193
Approved by:    Marcel Bischoff <marcel at herrbischoff.com> (maintainer)
Sponsored by:   UNIS Labs
MFH:            2026Q2
DeltaFile
+20-23news/nzbhydra2/Makefile
+7-7news/nzbhydra2/files/nzbhydra2.in
+3-3news/nzbhydra2/distinfo
+30-333 files

HardenedBSD/src 16799f5contrib/bmake bmake.1 make.1, contrib/bmake/unit-tests moderrs.exp

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+46-59contrib/bmake/bmake.1
+46-59contrib/bmake/make.1
+82-0contrib/bmake/ChangeLog
+40-40contrib/bmake/unit-tests/moderrs.exp
+22-55contrib/bmake/meta.c
+40-30contrib/bmake/var.c
+276-24387 files not shown
+1,284-62093 files

HardenedBSD/src be5d869contrib/bmake bmake.1 make.1, contrib/bmake/unit-tests moderrs.exp

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+46-59contrib/bmake/bmake.1
+46-59contrib/bmake/make.1
+82-0contrib/bmake/ChangeLog
+40-40contrib/bmake/unit-tests/moderrs.exp
+22-55contrib/bmake/meta.c
+40-30contrib/bmake/var.c
+276-24387 files not shown
+1,284-62093 files

HardenedBSD/src 9c572bfcontrib/libpcap configure pcap-linux.c, contrib/tcpdump tcpdump.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+361-360contrib/libpcap/configure
+566-102contrib/libpcap/pcap-linux.c
+0-508contrib/tcpdump/missing/snprintf.c
+404-50contrib/libpcap/nametoaddr.c
+311-47contrib/tcpdump/tcpdump.c
+225-123contrib/libpcap/pcap-dlpi.c
+1,867-1,190137 files not shown
+5,157-3,166143 files

HardenedBSD/ports faa6819japanese/navi2ch pkg-plist, security/strongswan pkg-plist

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+595-54sysutils/fwupd/pkg-plist
+235-389sysutils/zellij/distinfo
+115-193sysutils/zellij/Makefile.crates
+73-73japanese/navi2ch/pkg-plist
+56-37sysutils/fwupd/files/patch-libfwupdplugin_fu-freebsd-efivars.c
+48-4security/strongswan/pkg-plist
+1,122-75062 files not shown
+1,600-96268 files

FreeBSD/ports 68c2ca3devel/ruby-build distinfo Makefile

devel/ruby-build: Update to 20260327

Changes:        https://github.com/rbenv/ruby-build/releases
(cherry picked from commit 10885e66325c2c1b481890c5787bda8888161cf5)
DeltaFile
+3-3devel/ruby-build/distinfo
+1-1devel/ruby-build/Makefile
+4-42 files

LLVM/project abc7647clang/include/clang/ScalableStaticAnalysisFramework/Analyses EntityPointerLevel.h, clang/lib/ScalableStaticAnalysisFramework/Analyses SSAFAnalysesCommon.h

fix typo
DeltaFile
+4-8clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageExtractor.cpp
+4-4clang/unittests/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageTest.cpp
+3-3clang/lib/ScalableStaticAnalysisFramework/Analyses/SSAFAnalysesCommon.h
+1-1clang/include/clang/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel.h
+12-164 files

FreeBSD/ports 5f169canet/cloudflare-speed-cli distinfo Makefile

net/cloudflare-speed-cli: Update to 0.6.6
DeltaFile
+3-3net/cloudflare-speed-cli/distinfo
+1-2net/cloudflare-speed-cli/Makefile
+4-52 files

LLVM/project 4711f40llvm/lib/CodeGen Rematerializer.cpp

Remove lambda
DeltaFile
+20-21llvm/lib/CodeGen/Rematerializer.cpp
+20-211 files

LLVM/project 1f48b88llvm/lib/CodeGen Rematerializer.cpp, llvm/unittests/CodeGen RematerializerTest.cpp

[CodeGen] Fix incorrect rematerializtion order in rematerializer

When rematerializing DAGs of registers wherein multiple paths exist
between some regsters of the DAG, it is possible that the
rematerialization determines an incorrect rematerialization order that
does not ensure that a register's dependencies are rematerialized before
itself; an invariant that is otherwise required.

This fixes that using a simpler recursive logic to determine a correct
rematerialization order that honors this invariant. A minimal unit test
is added that fails on the current implementation.
DeltaFile
+20-33llvm/lib/CodeGen/Rematerializer.cpp
+38-0llvm/unittests/CodeGen/RematerializerTest.cpp
+58-332 files

LLVM/project 8e54890clang/include/clang/ScalableStaticAnalysisFramework SSAFBuiltinForceLinker.h, clang/unittests/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage UnsafeBufferUsageTest.cpp

fix bugs
DeltaFile
+1-1clang/include/clang/ScalableStaticAnalysisFramework/SSAFBuiltinForceLinker.h
+1-1clang/unittests/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageTest.cpp
+2-22 files

LLVM/project 94875aellvm/include/llvm/CodeGen LiveIntervals.h, llvm/lib/CodeGen Rematerializer.cpp

[CodeGen] Fix multiple connected component issue in rematerializer (#186674)

This fixes a rematerializer issue wherein re-creating the interval of a
non-rematerializable super-register defined over multiple MIs, some of
which defining entirely dead sub-registers, could cause a crash when
changing the order of sub-definitions (for example during scheduling)
because the re-created interval could end up with multiple connected
components, which is illegal. The solution is to split separate
components of the interval in such cases. The added unit test crashes
without that added behavior.
DeltaFile
+71-0llvm/unittests/CodeGen/RematerializerTest.cpp
+16-1llvm/lib/CodeGen/Rematerializer.cpp
+6-0llvm/include/llvm/CodeGen/LiveIntervals.h
+93-13 files

FreeBSD/ports 61a4663deskutils/py-vit distinfo Makefile

deskutils/py-vit: Update 2.3.3 => 2.3.4

Changelog:
https://github.com/vit-project/vit/releases/tag/v2.3.4

Port changes:
* Remove unneeded GH_PROJECT.
* Remove extra arguments from USES=python.

PR:             294252
Reported by:    Thierry Dussuet <thierry.dussuet at protonmail.com> (maintainer)
Approved by:    maintainer, vvd (co-mentor)

(cherry picked from commit 96442118053ee250fae90bb16f86f369727fda17)
DeltaFile
+3-3deskutils/py-vit/distinfo
+3-3deskutils/py-vit/Makefile
+6-62 files

LLVM/project 90ec5f2mlir/test/Integration/GPU/CUDA async.mlir

[MLIR][test] Re-disable FileCheck on async.mlir integration test (#190702)

#190563 re-enabled FileCheck on `Integration/GPU/CUDA/async.mlir`, but
the buildbot has shown intermittent wrong-output failures
([example](https://lab.llvm.org/buildbot/#/builders/116/builds/27026)):
the test produces `[42, 42]` instead of the expected `[84, 84]`.

This wrong-output flakiness is distinct from the cleanup-time
`cuModuleUnload` errors that #190563 actually fixes — it's the
underlying issue tracked by #170833. The merged commit message for
#190563 incorrectly says `Fixes #170833`; that issue should be reopened,
since the cleanup-error fix doesn't address the wrong-output behavior.

This PR puts the test back in its previously-disabled state. The runtime
cleanup fix in #190563 is unaffected.
DeltaFile
+5-2mlir/test/Integration/GPU/CUDA/async.mlir
+5-21 files

LLVM/project aedd4e0clang/lib/CIR/CodeGen CIRGenExprConstant.cpp, clang/test/CIR/CodeGen static-local.cpp

[CIR] Handle static local var decl constants (#190699)

This adds the handling for the case where the address of a static local
variable is used to initialize another static local. In this case, the
address of the first variable is emitted as a constant in the
initializer of the second variable.
DeltaFile
+17-3clang/test/CIR/CodeGen/static-local.cpp
+4-3clang/lib/CIR/CodeGen/CIRGenExprConstant.cpp
+21-62 files

LLVM/project 228b6aeclang/lib/CIR/CodeGen CIRGenBuiltin.cpp, clang/test/CIR/CodeGenBuiltins builtin-signbit.c

[CIR][CodeGen] Implement __builtin_signbit (#188433)

__builtin_signbit function checks if the sign bit of a floating-point
number is set to 0 or 1.
DeltaFile
+158-0clang/test/CIR/CodeGenBuiltins/builtin-signbit.c
+10-1clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp
+168-12 files

OpenZFS/src 5cb95admodule/zfs spa_errlog.c

fix memleak in spa_errlog.c

Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Reviewed-by: Alan Somers <asomers at freebsd.org>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Alek Pinchuk <apinchuk at axcient.com>
Closes #18403
DeltaFile
+1-1module/zfs/spa_errlog.c
+1-11 files

OpenZFS/src 3599964module/os/linux/zfs zpl_file.c

Linux: Refactor zpl_fadvise()

Similar to FreeBSD stop issuing prefetches on POSIX_FADV_SEQUENTIAL.
It should not have this semantics, only hint speculative prefetcher,
if access ever happen later.  Instead after POSIX_FADV_WILLNEED
handling call generic_fadvise(), if available, to do all the generic
stuff, including setting f_mode in struct file, that we could later
use to control prefetcher as part of read/write operations.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Alexander Motin <alexander.motin at TrueNAS.com>
Closes #18395
DeltaFile
+10-27module/os/linux/zfs/zpl_file.c
+10-271 files

NetBSD/src AtALeK6tests/lib/libc t_long_double.c

   Fix test to match expected result on m68k.

   Tested on m68ksf and hardfloat (in qemu).

   Ok Roland.
VersionDeltaFile
1.5+4-3tests/lib/libc/t_long_double.c
+4-31 files

NetBSD/pkgsrc-wip de68407med Makefile

med: add missing dependency
DeltaFile
+2-4med/Makefile
+2-41 files

FreeBSD/ports 6ef9481security/strongswan pkg-plist Makefile, security/strongswan/files patch-conf_Makefile.in patch-src_libcharon_plugins_smp_smp.c

security/strongswan: Update 6.0.4 => 6.0.5 (CVE-2026-25075)

Changelog:
https://github.com/strongswan/strongswan/releases/tag/6.0.5

While here:
- Switch from post-install + "if PORT_OPTIONS:MVICI" to
  post-install-VICI-on.
- Add option FIPS_PRF - software implementation plugin.
- Improve plist.
- Refresh patches.

Reported by:    Mike Bressem <mike at bressem.com> (via email)
Approved by:    blanket (fix CVE)
Security:       CVE-2026-25075
Sponsored by:   UNIS Labs
MFH:            2026Q2

(cherry picked from commit 2d6221ae7df33419e639c439a12c78fdea84e748)
DeltaFile
+48-4security/strongswan/pkg-plist
+18-6security/strongswan/files/patch-conf_Makefile.in
+5-5security/strongswan/Makefile
+4-4security/strongswan/files/patch-src_libcharon_plugins_smp_smp.c
+3-3security/strongswan/distinfo
+2-2security/strongswan/files/patch-src_libstrongswan_plugins_openssl_openssl__plugin.c
+80-241 files not shown
+82-267 files

LLVM/project fe07678.github/workflows libcxx-build-and-test.yaml

[libc++] Switch CI runners to use the latest Docker image (#190363)
DeltaFile
+3-3.github/workflows/libcxx-build-and-test.yaml
+3-31 files

LLVM/project 85eb6b3llvm/include/llvm/CodeGen LiveIntervals.h

Format
DeltaFile
+1-1llvm/include/llvm/CodeGen/LiveIntervals.h
+1-11 files