LLVM/project f5cef67llvm/lib/Target/PowerPC PPCInstrInfo.td PPCInstr64Bit.td

[PowerPC] Hardcode LDAT/LWAT_CSNE constant immediate (#196115)

The FC field in LDAT/LWAT_CSNE instructions is always 16, so hardcode it
in the TableGen definition instead of passing it as an explicit operand.
DeltaFile
+4-4llvm/lib/Target/PowerPC/PPCInstrInfo.td
+3-3llvm/lib/Target/PowerPC/PPCInstr64Bit.td
+0-1llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
+7-83 files

FreeBSD/ports 2a7c056archivers/py-borgbackup/files acl_extended_file_np.c, misc/mtx/files extra-patch-FreeBSD_14 patch-mtx1.c

all: drop support for FreeBSD 13, mips and risc64sf

Reviewed by:            many (*)
Differential Revision:  https://reviews.freebsd.org/D55624
Differential Revision:  https://reviews.freebsd.org/D55642 (merged in from bofh)

many (*)
  acm arrowd brooks cmt dch decke dinoex eduardo fluffy fuz gahr garga
  jbeich joerg jrm kai kenrap martymac matthew mfechner michaelo mizhka
  nobutaka pkubaj se tagattie thj

  Anton Saietskii
  GenericRikka
  Gert Doering
  Jan Bramkamp
  Oleh Hushchenkov
  Oleksandr Kryvulia
  Ralf van der Enden
  Yamagi

    [2 lines not shown]
DeltaFile
+0-923misc/mtx/files/extra-patch-FreeBSD_14
+566-0misc/mtx/files/patch-mtx1.c
+0-370net/bird2/files/extra-patch-netlink-route/patch-sysdep_bsd-netlink_netlink-route.h
+358-0misc/mtx/files/patch-mtx.h
+0-171net-im/prosody/files/freebsd-13-patches/patch-util-src_crypto.c
+0-83archivers/py-borgbackup/files/acl_extended_file_np.c
+924-1,547326 files not shown
+1,098-2,476332 files

LLVM/project 3f46fa2flang/lib/Lower/OpenMP OpenMP.cpp, flang/test/Lower/OpenMP metadirective-loop.f90

Fix metadirective loop variant lowering

Preserve the associated DO evaluation when a dynamic metadirective can
select either a loop-associated directive or a standalone fallback, so
the fallback still lowers the original loop body.

Scope temporary loop-IV data-sharing attributes to the selected variant.
Use the selected variant's collapse clause to determine how many loop IVs
to mark, avoiding DSA state leaking between alternatives.
DeltaFile
+84-23flang/lib/Lower/OpenMP/OpenMP.cpp
+49-1flang/test/Lower/OpenMP/metadirective-loop.f90
+133-242 files

FreeBSD/ports af218a4cad/abc Makefile distinfo

cad/abc: Update g20260328 => g20260505

Approved by:            db@, yuri@ (Mentors, implicit)
DeltaFile
+4-6cad/abc/Makefile
+3-3cad/abc/distinfo
+7-92 files

LLVM/project 497ebfcflang/lib/Lower/OpenMP OpenMP.cpp DataSharingProcessor.cpp, flang/test/Lower/OpenMP metadirective-loop.f90

[flang][OpenMP] Support loop-associated metadirective variants (part 3)

Enable metadirective lowering for loop-associated variants such as
`do`, `simd`, `parallel do`, and `do simd`.

When a metadirective resolves to a loop-associated directive, the
sibling DO evaluation is spliced into the metadirective's evaluation
list so existing loop lowering finds it. Loop IV data-sharing
attributes are marked at lowering time since semantic analysis cannot
know which variant will be selected. The DataSharingProcessor is also
extended to handle spliced evaluations.

This patch is part of the feature work for #188820 and stacked on top
of #194424.

Assisted with copilot and GPT-5.4
DeltaFile
+203-0flang/test/Lower/OpenMP/metadirective-loop.f90
+101-1flang/lib/Lower/OpenMP/OpenMP.cpp
+83-2flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
+15-0flang/test/Lower/OpenMP/Todo/metadirective-target-loop.f90
+14-0flang/lib/Lower/OpenMP/Utils.cpp
+12-0flang/test/Lower/OpenMP/Todo/metadirective-no-loop.f90
+428-32 files not shown
+430-158 files

FreeBSD/ports 9ca8a39devel Makefile, devel/py-pyroaring Makefile pkg-descr

devel/py-pyroaring: New port

Python wrapper for the C library CRoaring

Sponsored by:   Netflix
DeltaFile
+26-0devel/py-pyroaring/Makefile
+3-0devel/py-pyroaring/pkg-descr
+3-0devel/py-pyroaring/distinfo
+1-0devel/Makefile
+33-04 files

LLVM/project a8321f3llvm/test/CodeGen/X86 vector-reduce-smin.ll vector-reduce-smax.ll, llvm/test/tools/llvm-mca/AArch64/Cortex C1Premium-sve-instructions.s C1Premium-writeback.s

rebase

Created using spr 1.3.4
DeltaFile
+6,873-0llvm/test/tools/llvm-mca/AArch64/Cortex/C1Premium-sve-instructions.s
+2,928-1,388llvm/test/CodeGen/X86/vector-reduce-smin.ll
+2,924-1,389llvm/test/CodeGen/X86/vector-reduce-smax.ll
+2,969-1,160llvm/test/CodeGen/X86/vector-reduce-mul.ll
+3,979-0llvm/test/tools/llvm-mca/AArch64/Cortex/C1Premium-writeback.s
+2,677-1,279llvm/test/CodeGen/X86/vector-reduce-umax.ll
+22,350-5,2163,419 files not shown
+140,008-44,7103,425 files

LLVM/project c19f83dllvm/test/Instrumentation/MemorySanitizer ftrunc.ll

[NFCI][msan] Add test case for llvm.fptoui.sat/llvm.fptosi.sat (#196416)

Forked from llvm/test/Instrumentation/MemorySanitizer/ftrunc.ll

PR #191365 lowered NEON fcvtz[us] intrinsics into fpto[us]i.sat,
exposing a gap in MSan's instrumentation. A follow-up patch will add
support in MSan for ftop[us]i.sat, propagating the shadow (similar to
its handling of fcvtz[us]) rather than strictly handling them.
DeltaFile
+278-0llvm/test/Instrumentation/MemorySanitizer/ftrunc.ll
+278-01 files

FreeBSD/ports 6352ac5net-p2p/bitcoin Makefile distinfo, net-p2p/bitcoin-daemon Makefile

net-p2p/bitcoin{-daemon,-utils}: Update to 31.0

Drop HARDENING option, it is upstream default now.
DeltaFile
+3-6net-p2p/bitcoin/Makefile
+3-3net-p2p/bitcoin/distinfo
+2-2net-p2p/bitcoin-utils/Makefile
+2-2net-p2p/bitcoin-daemon/Makefile
+10-134 files

FreeBSD/ports c8d7eb5devel/kyua pkg-plist Makefile, devel/kyua/files kyua.conf.in

devel/kyua: Remove expired port

kyua from base must be used for FreeBSD 14.x and newer
DeltaFile
+0-193devel/kyua/pkg-plist
+0-55devel/kyua/Makefile
+0-16devel/kyua/pkg-descr
+0-15devel/kyua/pkg-message
+0-12devel/kyua/files/kyua.conf.in
+0-3devel/kyua/distinfo
+0-2942 files not shown
+2-2968 files

LLVM/project 583853cllvm/test/CodeGen/X86 vector-reduce-smin.ll vector-reduce-smax.ll, llvm/test/tools/llvm-mca/AArch64/Cortex C1Premium-sve-instructions.s C1Premium-writeback.s

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.4

[skip ci]
DeltaFile
+6,873-0llvm/test/tools/llvm-mca/AArch64/Cortex/C1Premium-sve-instructions.s
+2,928-1,388llvm/test/CodeGen/X86/vector-reduce-smin.ll
+2,924-1,389llvm/test/CodeGen/X86/vector-reduce-smax.ll
+2,969-1,160llvm/test/CodeGen/X86/vector-reduce-mul.ll
+3,979-0llvm/test/tools/llvm-mca/AArch64/Cortex/C1Premium-writeback.s
+2,677-1,279llvm/test/CodeGen/X86/vector-reduce-umax.ll
+22,350-5,2163,418 files not shown
+139,996-44,6793,424 files

FreeBSD/ports e6a679esysutils/zogftw Makefile

sysutils/zogftw: use kyua from base on FreeBSD 14+
DeltaFile
+3-3sysutils/zogftw/Makefile
+3-31 files

FreeBSD/ports 7adda50x11-wm/dwm Makefile

x11-wm/dwm: use kyua from base on FreeBSD 14+
DeltaFile
+1-3x11-wm/dwm/Makefile
+1-31 files

FreeBSD/ports 28444f4mail/mlmmj Makefile

mail/mlmmj: use kyua from base on FreeBSD 14+
DeltaFile
+2-2mail/mlmmj/Makefile
+2-21 files

FreeBSD/ports b703147devel/pkgconf Makefile

devel/pkgconf: use kyua from base on FreeBSD 14+
DeltaFile
+1-2devel/pkgconf/Makefile
+1-21 files

FreeBSD/ports 61ac3c7cad/netgen distinfo Makefile

cad/netgen: Update 6.2.2603 => 6.2.2604

Approved by:            db@, yuri@ (Mentors, implicit)
DeltaFile
+3-3cad/netgen/distinfo
+1-1cad/netgen/Makefile
+4-42 files

LLVM/project 5c72b10mlir/lib/Dialect/AMDGPU/Transforms VectorReductionToDot.cpp, mlir/test/Dialect/AMDGPU vector-reduction-to-dot.mlir

test

Signed-off-by: Eric Feng <Eric.Feng at amd.com>
DeltaFile
+7-66mlir/test/Dialect/AMDGPU/vector-reduction-to-dot.mlir
+0-16mlir/lib/Dialect/AMDGPU/Transforms/VectorReductionToDot.cpp
+7-822 files

LLVM/project c507e20llvm/include/llvm/Transforms/IPO InstrumentorStubPrinter.h Instrumentor.h, llvm/lib/Transforms/IPO InstrumentorStubPrinter.cpp

[Instrumentor] Allow printing a runtime stub (#138978)

This commit extends the Instrumentor with the option
`configuration.runtime_stubs_file` to generate a runtime stub file with
the configured instrumentation. The stub prints all parameters passed to
each enabled instrumentation function.
DeltaFile
+212-0llvm/lib/Transforms/IPO/InstrumentorStubPrinter.cpp
+105-0llvm/test/Instrumentation/Instrumentor/rt_config.json
+105-0llvm/test/Instrumentation/Instrumentor/bad_rt_config.json
+37-0llvm/test/Instrumentation/Instrumentor/default_rt
+32-0llvm/include/llvm/Transforms/IPO/InstrumentorStubPrinter.h
+16-0llvm/include/llvm/Transforms/IPO/Instrumentor.h
+507-07 files not shown
+520-213 files

LLVM/project 54e1afcllvm/lib/Target/AArch64 AArch64SLSHardening.cpp AArch64.h

[NewPM] Port for AArch64SLSHardening (#196378)

AArch64.h: Declared the AArch64SLSHardeningPass class.
AArch64PassRegistry.def: Registered the pass under the name
aarch64-sls-hardening.
AArch64SLSHardening.cpp: Implemented the run method to bridge the NewPM
with the existing pass logic, ensuring MachineModuleAnalysis is
correctly retrieved.
DeltaFile
+28-6llvm/lib/Target/AArch64/AArch64SLSHardening.cpp
+8-2llvm/lib/Target/AArch64/AArch64.h
+2-2llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
+1-0llvm/lib/Target/AArch64/AArch64PassRegistry.def
+39-104 files

LLVM/project 119f338clang/lib/Basic Targets.cpp, clang/lib/Basic/Targets OSTargets.h

[clang][RISCV] Remove some of the bits added with RISC-V big endian support (#192903)

- FreeBSD will not have any new 32-bit archs
- *BSD's are unlikely to touch BE RISC-V
- Keep the BE and LE targets separate
DeltaFile
+16-2clang/lib/Basic/Targets.cpp
+0-8clang/lib/Driver/ToolChains/FreeBSD.cpp
+3-0clang/test/Driver/freebsd.c
+0-2clang/lib/Basic/Targets/OSTargets.h
+19-124 files

LLVM/project a2e0ee2bolt/docs BinaryAnalysis.md, llvm/docs/AMDGPU AMDGPUAsmGFX950.rst

Merge branch 'main' into users/s-perron/constantbuffer-type-trait
DeltaFile
+5,910-880llvm/test/CodeGen/AArch64/bf16-v8-instructions.ll
+3,306-504llvm/test/CodeGen/AArch64/bf16-v4-instructions.ll
+581-920llvm/docs/AMDGPU/AMDGPUAsmGFX950.rst
+1,287-0llvm/test/tools/dsymutil/AArch64/typedef-different-types.test
+0-775llvm/utils/Reviewing/find_interesting_reviews.py
+672-100bolt/docs/BinaryAnalysis.md
+11,756-3,1791,890 files not shown
+42,586-17,1011,896 files

LLVM/project d279247llvm/lib/Target/AMDGPU/AsmParser AMDGPUAsmParser.cpp, llvm/test/MC/AMDGPU gfx1250_asm_vop3_err.s

[AMDGPU] Also disable lit64() from VOP3 and inline constant
DeltaFile
+5-3llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+5-0llvm/test/MC/AMDGPU/gfx1250_asm_vop3_err.s
+10-32 files

FreeBSD/src 1d24638sys/kern uipc_usrreq.c, sys/sys ucred.h

Fix LOCAL_PEERCRED in 32-bit compat mode

Previously the cr_pid field would be incorrectly copied to userland, due
to a size mismatch between the structure as defined in 32-bit vs 64-bit
builds.  Fix it by converting the structure before copying it to
userland.

PR:             294833
Sponsored by:   ConnectWise
MFC after:      1 week
Reviewed by:    emaste
Differential Revision: https://reviews.freebsd.org/D56675
DeltaFile
+19-2sys/kern/uipc_usrreq.c
+11-0sys/sys/ucred.h
+30-22 files

NetBSD/pkgsrc 7pgCbL0www/py-postorius Makefile distinfo, www/py-postorius/patches patch-src_postorius_static_postorius_js_held__messages.js

   py-postorius: Apply an upstream security bug fix.

   Bump PKGREVISION.
VersionDeltaFile
1.1+15-0www/py-postorius/patches/patch-src_postorius_static_postorius_js_held__messages.js
1.6+5-1www/py-postorius/Makefile
1.4+2-1www/py-postorius/distinfo
+22-23 files

LLVM/project cc79831clang/include/clang/CIR/Interfaces CIROpInterfaces.td, clang/lib/CIR/CodeGen CIRGenModule.cpp

[CIR] Implement weak ref and alias attribute handling (#195972)

This adds handling for globals with the WeakRefAttr (not emitted) or
AliasAttr attributes set. CIR already had support for function aliases,
but we weren't handling the explicit alias attribute, and we didn't have
any support for global variable aliases. This change adds the global
variable alias support and adds the code to handle the explicit
attribute for variables and functions.

Assisted-by: Cursor / claude-opus-4.7-thinking-xhigh
DeltaFile
+91-3clang/lib/CIR/CodeGen/CIRGenModule.cpp
+79-0clang/test/CIR/CodeGen/attr-alias.c
+32-22clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+42-0clang/test/CIR/IR/invalid-global.cir
+26-0clang/include/clang/CIR/Interfaces/CIROpInterfaces.td
+26-0clang/test/CIR/CodeGen/attr-weakref.c
+296-254 files not shown
+324-2610 files

FreeBSD/src 5dca0c8tests/sys/netinet socket_afinet.c

tests/socket_afinet: Remove a conditional skip

The test runs without any unexpected results when mac_portacl is loaded.

Approved by:    re (cperciva)
PR:             238781
MFC after:      1 week

(cherry picked from commit 9f6041fb579106aa6fa358071a14eddabd581998)
(cherry picked from commit ae6c11642b54f304490434ec5fe1eb2b470ff620)
DeltaFile
+0-3tests/sys/netinet/socket_afinet.c
+0-31 files

FreeBSD/src 87054cetests/sys/posixshm posixshm_test.c

tests/posixshm: Check for hardware support in largepage_pkru

Approved by:    re (cperciva)
MFC after:      3 days
Fixes:          ca87c0b8e396 ("pkru: Fix handling of 1GB largepage mappings")

(cherry picked from commit 75c66218401c00f4728d5312e2b933b8d3aefde1)
(cherry picked from commit 8988b4de4e3b85baa97fd76254e00da7d3304b35)
DeltaFile
+10-0tests/sys/posixshm/posixshm_test.c
+10-01 files

FreeBSD/src fdd8f30sys/fs/nullfs null_vnops.c, sys/kern vfs_inotify.c

nullfs: Clear inotify flags during reclaim

The inotify flags are copied from the lower vnode into the nullfs vnode
so that the INOTIFY() macro will invoke VOP_INOTIFY on the nullfs vnode;
this is then bypassed to the lower vnode.  However, when a nullfs vnode
is reclaimed we should clear these flags, as the vnode is now doomed and
no longer forwards VOPs to the lower vnode.

Add regression tests.  Remove a test in vn_inotify_revoke() which is no
longer needed after this change.

Approved by:    re (cperciva)
PR:             292495
Reviewed by:    kib
Reported by:    Jed Laundry <jlaundry at jlaundry.com>
Fixes:          f1f230439fa4 ("vfs: Initial revision of inotify")
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D56639


    [2 lines not shown]
DeltaFile
+112-0tests/sys/kern/inotify_test.c
+12-0sys/fs/nullfs/null_vnops.c
+0-4sys/kern/vfs_inotify.c
+124-43 files

FreeBSD/src a096a97sys/kern uipc_socket.c

so_splice: Fix the KTLS check for the sink socket in so_splice()

Approved by:    re (cperciva)
Reviewed by:    gallatin
Reported by:    Claude Sonnet 4.6
Fixes:          1000cc4a0d39 ("so_splice: Disallow splicing with KTLS-enabled sockets")
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D56385

(cherry picked from commit d88a159da42a75dbd46ea4f6f9c8059975dab5e8)
(cherry picked from commit 43b1de5970d1246aa54d8e34b0f211511cc2b103)
DeltaFile
+1-1sys/kern/uipc_socket.c
+1-11 files

FreeBSD/src 88e12cctests/sys/netinet socket_afinet.c

tests/socket_afinet: Fix the bind_connected_port test

The test verifies that a socket can bind to a local address assigned by
connect(2) to a different socket.  It was however trying to bind to the
wrong address, and the check of the result was inverted, so this went
unnoticed.  It also needs to set SO_REUSEADDR for this to succeed.

Approved by:    re (cperciva)
Reported by:    glebius
MFC after:      1 week

(cherry picked from commit d3d0466cae546254c50c80cf3e0c060bbbbba53c)
(cherry picked from commit 9e8d7d83ecfbf8b34b785d7981a29dda567d0bc6)
DeltaFile
+7-7tests/sys/netinet/socket_afinet.c
+7-71 files