LLVM/project cbb2aa1llvm/lib/Transforms/Scalar RewriteStatepointsForGC.cpp

[NFCI] Replace getAllocatedType with tracked value type in RewriteStatepointsForGC (#177440)

The allocas in RewriteStatepointsForGC are created with
LiveValue->getType(), so we can use Def->getType() (which equals the
alloca's type) instead of querying getAllocatedType().

Changes:
- Load instructions now use Def->getType() directly
- The ToClobber vector now stores (Type*, AllocaInst*) pairs to track
the original value's type for creating null constants

Co-authored-by: Claude Opus 4.5 <noreply at anthropic.com>
DeltaFile
+12-10llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
+12-101 files

LLVM/project 04f3b56llvm/lib/Transforms/IPO FunctionSpecialization.cpp

[FunctionSpecialization] Remove getAllocatedType() type check (#177439)

Change getConstantStackValue() to check the type of the promoted
constant rather than the alloca's declared type. This is more correct
semantically since we're interested in the actual stored value's type,
not what the alloca was declared as.

The change also handles type punning cases more conservatively - if an
alloca is declared as i64 but stores a float, the old code would pass
the integer type check but potentially return a non-integer constant.
The new code correctly rejects such cases.

Also remove a bit of dead code, since the argument is a pointer type, it
cannot also have been a constant integer (and this code would be wrong
if it was reachable). Originally introduced as dead code in
https://reviews.llvm.org/D106426
30fbb06979077740961ebc46853e28ab1f999f9d.

Co-authored-by: Claude Opus 4.5 <noreply at anthropic.com>
DeltaFile
+6-5llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
+6-51 files

LLVM/project f4b77e6llvm/lib/IR Instructions.cpp, llvm/lib/Transforms/InstCombine InstCombineLoadStoreAlloca.cpp

[InstCombine] Replace getAllocatedType() with getAllocationSize() (#177435)

Replace uses of getAllocatedType() with the more semantic
getAllocationSize() method in the alloca dereferenceability check
and zero-size alloca merging logic.

This simplifies the code by:
- Eliminating manual isArrayAllocation() checks (handled by
getAllocationSize)
- Eliminating superfluous isSized() checks (the verifier rejects them
already)
- Using TypeSize::isScalable() for scalable vector handling (before
casting to uint64_t)
- Using TypeSize::isZero() for zero-size checks

Co-authored-by: Claude Opus 4.5 <noreply at anthropic.com>
DeltaFile
+34-37llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
+3-0llvm/lib/IR/Instructions.cpp
+37-372 files

pfSense/pfsense 37d8349src/etc/inc globals.inc

Remove outdated alternate meta ports
DeltaFile
+1-1src/etc/inc/globals.inc
+1-11 files

FreeBSD/ports 87a0c21textproc/libxml2 pkg-plist Makefile, textproc/libxml2-python Makefile

textproc/libxml2: update to 2.15.1

Changelog: https://gitlab.gnome.org/GNOME/libxml2/-/blob/2.15/NEWS

Notably, all documentation generation requires a circular dependency
on textproc/libxslt. While the API documentation, in HTML, lives
on the upstream site [0], the man pages are now pre-rendered manually.

Also includes an upstream commit addressing unsafe pointer usage
in XPath, leading to security bugs in consumers like libxslt
(CVE-2025-10911). [1]

Mark the -python child port DEPRECATED without expiration date since
upstream has not provided a firm one yet, particularly the release
schedule for the next major version 2.16.

[0] https://gnome.pages.gitlab.gnome.org/libxml2/html/index.html
[1] https://gitlab.gnome.org/GNOME/libxml2/-/commit/0e50b31902cdb1eb242eb361c123e9e033b2af87


    [5 lines not shown]
DeltaFile
+656-0textproc/libxml2/files/xmllint.1
+355-0textproc/libxml2/files/xmlcatalog.1
+4-60textproc/libxml2/pkg-plist
+20-20textproc/libxml2/Makefile
+32-0textproc/libxml2/files/xml2-config.1
+11-2textproc/libxml2-python/Makefile
+1,078-821 files not shown
+1,083-857 files

OpenBSD/ports rtXGQIllang/scala Makefile distinfo, lang/scala/pkg PLIST

   lang/scala: update to 3.8.1
VersionDeltaFile
1.16+23-7lang/scala/pkg/PLIST
1.32+1-3lang/scala/Makefile
1.18+2-2lang/scala/distinfo
+26-123 files

FreeBSD/ports fc6c145textproc/libxml2 pkg-plist Makefile, textproc/libxml2-python Makefile

textproc/libxml2: really update to 2.15.1

Changelog: https://gitlab.gnome.org/GNOME/libxml2/-/blob/2.15/NEWS

Notably, all documentation generation requires a circular dependency
on textproc/libxslt. While the API documentation, in HTML, lives
on the upstream site [0], the man pages are now pre-rendered manually.

Also includes an upstream commit addressing unsafe pointer usage
in XPath, leading to security bugs in consumers like libxslt
(CVE-2025-10911). [1]

Mark the -python child port DEPRECATED without expiration date since
upstream has not provided a firm one yet, particularly the release
schedule for the next major version 2.16.

[0] https://gnome.pages.gitlab.gnome.org/libxml2/html/index.html
[1] https://gitlab.gnome.org/GNOME/libxml2/-/commit/0e50b31902cdb1eb242eb361c123e9e033b2af87


    [3 lines not shown]
DeltaFile
+656-0textproc/libxml2/files/xmllint.1
+355-0textproc/libxml2/files/xmlcatalog.1
+4-60textproc/libxml2/pkg-plist
+20-20textproc/libxml2/Makefile
+32-0textproc/libxml2/files/xml2-config.1
+11-2textproc/libxml2-python/Makefile
+1,078-821 files not shown
+1,083-857 files

FreeBSD/ports 5137742textproc/libxml2 pkg-plist Makefile, textproc/libxml2-core Makefile pkg-plist

Revert "textproc/libxml2*: update to 2.15.1, split -core"

The design of this update was repeatedly rejected in the linked PR
with a prescribed different design. This commit is therefore
unauthorised.

This reverts commit 099bd713e09ebdd02d73fde770c50706f980404f.

With hat: desktop (textproc/libxml2), gnome (USES=gnome)
PR: 291316
DeltaFile
+0-130textproc/libxml2-core/files/patch-xpath.c
+114-3textproc/libxml2/pkg-plist
+52-40textproc/libxml2/Makefile
+0-67textproc/libxml2-core/Makefile
+0-55textproc/libxml2-core/pkg-plist
+10-29textproc/libxml2-python/Makefile
+176-3247 files not shown
+186-34813 files

OpenZFS/src a157ef6module/zfs spa.c

Make sure we can still write data to txg

The final txgs are used only to clear out any remaining deferred
frees, and we cannot write new data to them. Make sure we do not
try to do so.

Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Mariusz Zaborski <mariusz.zaborski at klarasystems.com>
Closes #18139
DeltaFile
+3-0module/zfs/spa.c
+3-01 files

OpenZFS/src 35b2d39module/zfs sa.c dbuf.c

Lock db_mtx around arc_release() in couple places

* Lock db_mtx around arc_release() in dbuf_release_bp()

While this function is called only in sync context, the same buffer
can be touched by dbuf_hold_impl() in open context, creating races.
All other accesses to arc_release() are already protected by db_mtx,
so just take it here too.

Signed-off-by: Alexander Motin <alexander.motin at TrueNAS.com>

* Lock db_mtx in sa_byteswap()

While SA code seems protected by sa_lock, there is a back door of
dmu_objset_userquota_get_ids(), that may hold and access the dbuf
without sa_lock, relying only on db_mtx. Taking db_mtx here should
protect both the arc_release() and the data for db_buf.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>

    [2 lines not shown]
DeltaFile
+11-4module/zfs/sa.c
+2-0module/zfs/dbuf.c
+13-42 files

FreeBSD/ports ab3c22deditors/neovim distinfo Makefile

editors/neovim: Update to 0.11.6
DeltaFile
+13-13editors/neovim/distinfo
+6-6editors/neovim/Makefile
+19-192 files

FreeNAS/freenas ea07217src/middlewared/middlewared/plugins nfs.py, src/middlewared/middlewared/plugins/service_/services nfs.py

Remove configuration of legacy NFS client tracking.
Update CI test to match.
DeltaFile
+0-25src/middlewared/middlewared/plugins/nfs.py
+0-8src/middlewared/middlewared/plugins/service_/services/nfs.py
+0-6tests/api2/test_300_nfs.py
+0-393 files

LLVM/project e2ee42flibc/src/__support/math asin.h, libc/src/math/generic asin.cpp

[libc][math] Fix parallel implementation for asin (#178100)

DeltaFile
+1-261libc/src/math/generic/asin.cpp
+1-1libc/src/__support/math/asin.h
+2-2622 files

FreeBSD/ports 040e6c5net/amnezia-kmod distinfo Makefile

net/amnezia-kmod: MFH: [maintainer update] v2.0.10

- fix build on FreeBSD-16-CURRENT >= 1600011
- fix build on FreeBSD-13-stable

PR:             292742

(cherry picked from commit d5ad6567ffec6a62fd56dfc043dd53a515607f89)
DeltaFile
+3-3net/amnezia-kmod/distinfo
+1-3net/amnezia-kmod/Makefile
+4-62 files

LLVM/project acff9fallvm/test/CodeGen/NVPTX cmpxchg-sm90.ll cmpxchg-sm60.ll

Revert "[NVPTX] Weak cmpxchg unittests for NVPTX" (#178090)

Reverts llvm/llvm-project#176078

These changes break the NVPTX builders: llvm-nvptx[64]-nvidia-*
DeltaFile
+1,209-3,002llvm/test/CodeGen/NVPTX/cmpxchg-sm90.ll
+1,201-2,975llvm/test/CodeGen/NVPTX/cmpxchg-sm60.ll
+1,201-2,975llvm/test/CodeGen/NVPTX/cmpxchg-sm70.ll
+79-92llvm/test/CodeGen/NVPTX/cmpxchg.py
+3,690-9,0444 files

NetBSD/pkgsrc-wip 6b1e27elibrewolf distinfo, librewolf/patches patch-media_ffvpx_libavutil_arm_bswap.h patch-third__party_libwebrtc_modules_desktop__capture_desktop__capture__gn_moz.build

libreworf: update to 147.0.1
DeltaFile
+21-7librewolf/patches/patch-media_ffvpx_libavutil_arm_bswap.h
+9-9librewolf/patches/patch-third__party_libwebrtc_modules_desktop__capture_desktop__capture__gn_moz.build
+9-8librewolf/distinfo
+13-0librewolf/patches/patch-dom_media_mediacapabilities_MediaCapabilitiesValidation.cpp
+5-5librewolf/patches/patch-third__party_libwebrtc_modules_portal_portal__gn_moz.build
+4-5librewolf/patches/patch-media_libpng_pngpriv.h
+61-341 files not shown
+65-387 files

LLVM/project eea64ceclang/lib/CIR/CodeGen CIRGenExprConstant.cpp, clang/lib/CIR/Dialect/Transforms CXXABILowering.cpp

[CIR] Add support for member pointer constants (#178074)

This adds support for initializing global variables of type
pointer-to-member that pointer to member functions.
DeltaFile
+16-0clang/test/CIR/CodeGen/pointer-to-member-func.cpp
+7-3clang/lib/CIR/CodeGen/CIRGenExprConstant.cpp
+5-0clang/lib/CIR/Dialect/Transforms/CXXABILowering.cpp
+28-33 files

LLVM/project 542e9b9clang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/Dialect/IR CIRDialect.cpp

[CIR] Upstream support for pointer-to-method casts (#178004)

This adds support in CIR for handling based-to-derived and
derived-to-base casts of pointer-to-member values that point to member
functions.

Co-authored-by: Sirui Mu <msrlancern at gmail.com>
DeltaFile
+140-0clang/test/CIR/CodeGen/pointer-to-member-func-cast.cpp
+121-0clang/include/clang/CIR/Dialect/IR/CIROps.td
+47-0clang/test/CIR/IR/invalid-struct.cir
+45-0clang/lib/CIR/Dialect/Transforms/TargetLowering/LowerItaniumCXXABI.cpp
+28-0clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+21-2clang/lib/CIR/Dialect/Transforms/CXXABILowering.cpp
+402-23 files not shown
+432-59 files

LLVM/project 61f272dllvm/lib/Target/AMDGPU AMDGPUBarrierLatency.cpp GCNSubtarget.h, llvm/test/CodeGen/AMDGPU schedule-barrier-latency-gfx9.mir

[AMDGPU] Pre-GFX10 does not need added latency for workgroup fences (#177157)

Wait counts will not typically be introduced for workgroup scope fences
in pre-GFX10 ASICs.
Hence avoid adding scheduling latency for these.
DeltaFile
+190-0llvm/test/CodeGen/AMDGPU/schedule-barrier-latency-gfx9.mir
+7-0llvm/lib/Target/AMDGPU/AMDGPUBarrierLatency.cpp
+4-0llvm/lib/Target/AMDGPU/GCNSubtarget.h
+201-03 files

FreeNAS/freenas caa496atests/sharing_protocols conftest.py

NAS-139485 / 26.0.0-BETA.1 / Use static IP for single node sharing protocol CI (#18105)

DeltaFile
+31-0tests/sharing_protocols/conftest.py
+31-01 files

LLVM/project 22065acllvm/lib/Transforms/InstCombine InstructionCombining.cpp, llvm/test/Transforms/InstCombine binop-select.ll

[InstCombine] Preserve !prof metadata when creating select instructions.
DeltaFile
+10-5llvm/test/Transforms/InstCombine/binop-select.ll
+9-3llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
+0-1llvm/utils/profcheck-xfail.txt
+19-93 files

FreeBSD/ports d5ad656net/amnezia-kmod distinfo Makefile

net/amnezia-kmod: [maintainer update] v2.0.10

- fix build on FreeBSD-16-CURRENT >= 1600011
- fix build on FreeBSD-13-stable

PR:             292742
DeltaFile
+3-3net/amnezia-kmod/distinfo
+1-3net/amnezia-kmod/Makefile
+4-62 files

LLVM/project 2e456f3clang/docs UsersManual.rst, clang/include/clang/Options Options.td

Add description, support flag on all architectures

Created using spr 1.3.6-beta.1
DeltaFile
+19-17llvm/docs/LangRef.rst
+24-0llvm/test/Transforms/PreISelIntrinsicLowering/cond-loop.ll
+13-9clang/docs/UsersManual.rst
+17-0llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp
+2-6clang/test/Driver/sanitize-trap-loop.c
+4-2clang/include/clang/Options/Options.td
+79-345 files not shown
+90-3711 files

LLVM/project 638870dllvm/docs LangRef.rst, llvm/include/llvm/CodeGen ISDOpcodes.h

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.6-beta.1

[skip ci]
DeltaFile
+19-17llvm/docs/LangRef.rst
+24-0llvm/test/Transforms/PreISelIntrinsicLowering/cond-loop.ll
+17-0llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp
+5-0llvm/include/llvm/Target/TargetMachine.h
+2-0llvm/lib/Target/X86/X86TargetMachine.h
+2-0llvm/include/llvm/CodeGen/ISDOpcodes.h
+69-171 files not shown
+70-187 files

LLVM/project 87d6d40llvm/docs LangRef.rst, llvm/include/llvm/CodeGen ISDOpcodes.h

rebase

Created using spr 1.3.6-beta.1
DeltaFile
+19-17llvm/docs/LangRef.rst
+24-0llvm/test/Transforms/PreISelIntrinsicLowering/cond-loop.ll
+17-0llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp
+5-0llvm/include/llvm/Target/TargetMachine.h
+1-1llvm/lib/Target/X86/X86ISelLowering.cpp
+2-0llvm/include/llvm/CodeGen/ISDOpcodes.h
+68-181 files not shown
+70-187 files

LLVM/project b065969llvm/docs LangRef.rst, llvm/include/llvm/CodeGen ISDOpcodes.h

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.6-beta.1

[skip ci]
DeltaFile
+19-17llvm/docs/LangRef.rst
+24-0llvm/test/Transforms/PreISelIntrinsicLowering/cond-loop.ll
+17-0llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp
+5-0llvm/include/llvm/Target/TargetMachine.h
+2-0llvm/include/llvm/CodeGen/ISDOpcodes.h
+1-1llvm/lib/Target/X86/X86ISelLowering.cpp
+68-181 files not shown
+70-187 files

LLVM/project cf56909llvm/docs LangRef.rst, llvm/include/llvm/CodeGen ISDOpcodes.h

Add generic implementation, improve comments

Created using spr 1.3.6-beta.1
DeltaFile
+19-17llvm/docs/LangRef.rst
+24-0llvm/test/Transforms/PreISelIntrinsicLowering/cond-loop.ll
+17-0llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp
+5-0llvm/include/llvm/Target/TargetMachine.h
+2-0llvm/include/llvm/CodeGen/ISDOpcodes.h
+2-0llvm/lib/Target/X86/X86TargetMachine.h
+69-176 files

FreeBSD/ports a30de08sysutils/py-ansible-core Makefile, sysutils/py-ansible-core/files patch-pyproject.toml

sysutils/py-ansible-core*: Update py-wheel dependency as in ports

Update the pyproject.toml file to accept the py-wheel provided by
ports.

PR:     292723
DeltaFile
+1-1sysutils/py-ansible-core219/files/patch-pyproject.toml
+1-1sysutils/py-ansible-core/files/patch-pyproject.toml
+1-0sysutils/py-ansible-core/Makefile
+1-0sysutils/py-ansible-core219/Makefile
+4-24 files

HardenedBSD/src f4be8d1lib/libc/gen posix_spawnattr_getprocdescp_np.3 posix_spawn.c, lib/libsys/amd64 pdrfork_thread.S

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+321-22sys/kern/subr_witness.c
+101-0lib/libsys/i386/pdrfork_thread.S
+94-0lib/libc/gen/posix_spawnattr_getprocdescp_np.3
+83-0lib/libsys/amd64/pdrfork_thread.S
+49-34usr.sbin/bhyve/amd64/pci_lpc.c
+49-5lib/libc/gen/posix_spawn.c
+697-6123 files not shown
+818-13329 files

HardenedBSD/src 9e4dd19lib/libc/gen posix_spawnattr_getprocdescp_np.3 posix_spawn.c, lib/libsys/amd64 pdrfork_thread.S

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+321-22sys/kern/subr_witness.c
+101-0lib/libsys/i386/pdrfork_thread.S
+94-0lib/libc/gen/posix_spawnattr_getprocdescp_np.3
+83-0lib/libsys/amd64/pdrfork_thread.S
+49-34usr.sbin/bhyve/amd64/pci_lpc.c
+49-5lib/libc/gen/posix_spawn.c
+697-6123 files not shown
+818-13329 files