LLVM/project a81621allvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.perm.pk.ll

AMDGPU/GlobalISel: RegBankLegalize rules for perm_pk16_b{4,6,8}_u4 (#192368)
DeltaFile
+95-1llvm/test/CodeGen/AMDGPU/llvm.amdgcn.perm.pk.ll
+12-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+107-12 files

LLVM/project fbbb8c1flang/test/Evaluate rewrite09.f90

Remove empty trailing lines
DeltaFile
+0-2flang/test/Evaluate/rewrite09.f90
+0-21 files

FreeBSD/ports 11a1518devel/p5-Log-Dispatch-File-Rolling Makefile, devel/p5-Log-Dispatch-File-Rolling/files patch-lib_Log_Dispatch_File_Rolling.pm

devel/p5-Log-Dispatch-File-Rolling: patch for perl 5.40

The attached patch fixes this message:

Attempt to call undefined import method with arguments ("2.37")
via package "Log::Dispatch::File" (Perhaps you forgot to load the
package?) at /usr/local/lib/perl5/site_perl/Log/Dispatch/File/Rolling.pm line 8.

PR:             288790
Approved by:    maintainer timeout (8 months)
DeltaFile
+10-1devel/p5-Log-Dispatch-File-Rolling/files/patch-lib_Log_Dispatch_File_Rolling.pm
+1-1devel/p5-Log-Dispatch-File-Rolling/Makefile
+11-22 files

LLVM/project 1b433e9mlir/include/mlir/Dialect/OpenACC OpenACCCGOps.td, mlir/lib/Dialect/OpenACC/IR OpenACCCG.cpp

[mlir][acc] Add canonicalization patterns for compute_region (#192376)

This PR improves the APIs for navigating through acc.compute_region
block arguments and also adds canonicalization patterns for those
arguments to remove unused ones and merge duplicates.
DeltaFile
+111-2mlir/lib/Dialect/OpenACC/IR/OpenACCCG.cpp
+78-0mlir/test/Dialect/OpenACC/compute-region-canonicalize.mlir
+17-2mlir/include/mlir/Dialect/OpenACC/OpenACCCGOps.td
+5-0mlir/unittests/Dialect/OpenACC/OpenACCUtilsCGTest.cpp
+2-0mlir/lib/Dialect/OpenACC/Utils/OpenACCUtils.cpp
+213-45 files

LLVM/project 5938bc1flang/test/Evaluate rewrite09.f90

Add test file
DeltaFile
+51-0flang/test/Evaluate/rewrite09.f90
+51-01 files

FreeBSD/doc b3675bewebsite/content/en/status/report-2026-01-2026-03 gcc.adoc

Status/2026Q1/gcc.adoc: Add report

Reviewed by:    status (Graham Percival <gperciva at tarsnap.com>)
Differential Revision:  https://reviews.freebsd.org/D56378
DeltaFile
+25-0website/content/en/status/report-2026-01-2026-03/gcc.adoc
+25-01 files

FreeBSD/ports b199a8dports-mgmt/pkg pkg-plist Makefile

ports-mgmt/pkg: update to 2.7.4

- repo: do not delete repositories in overrides, simply disable them
- query: fix %y/%Y
- Declare CheriBSD and CheriABI OS and ABI
DeltaFile
+2-2ports-mgmt/pkg/pkg-plist
+1-1ports-mgmt/pkg/Makefile
+3-32 files

FreeBSD/ports 12dc3fctextproc/py-zensical Makefile distinfo

textproc/py-zensical: Update to 0.0.33

Approved by:    kai
Changelog:      https://github.com/zensical/zensical/releases/tag/v0.0.33
Differential Revision:  https://reviews.freebsd.org/D56418
DeltaFile
+3-3textproc/py-zensical/Makefile
+3-3textproc/py-zensical/distinfo
+6-62 files

FreeBSD/src 90fc383sys/amd64/amd64 pmap.c, sys/arm/arm pmap-v6.c

pmap: Do not use PMAP_LOCK_INIT with kernel_pmap

The kernel_pmap lock is a bit special: it does not need the DUPOK flag,
and it really belongs to a different lock class.  If it belongs to the
same class as regular pmap locks, then witness may report warnings when
performing UMA allocations under a regular pmap lock, if the allocation
triggers a pmap_growkernel() call.

Replace instances of PMAP_LOCK_INIT(kernel_pmap) with inline mtx_init()
calls to silence some witness warnings for harmless behaviour I see with
some uncommitted test programs.

Reviewed by:    alc, kib
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D56185

(cherry picked from commit c6a1c1260f02e44b7f44b1e3735ce5dbd785544d)
DeltaFile
+1-1sys/powerpc/booke/pmap.c
+1-1sys/riscv/riscv/pmap.c
+1-1sys/arm64/arm64/pmap.c
+1-1sys/amd64/amd64/pmap.c
+1-1sys/arm/arm/pmap-v6.c
+1-1sys/i386/i386/pmap.c
+6-63 files not shown
+9-99 files

FreeBSD/src 1379cdesys/kern imgact_elf.c

imgact_elf: Unconditionally initialize a variable in a note handler

In the sb == NULL case, we are computing the size of the note using a
dummy sbuf drain handler which counts bytes and discards the contents of
the buffer, so the fact that "structsize" is uninitialized doesn't
matter.  But, the compiler may complain about this, so we might as well
just initialize it unconditionally to silence the warning, as other
handlers already do.

PR:             292811
MFC after:      1 week

(cherry picked from commit 8a68c2509c00ae0dbeab64064bb600cfac787a73)
DeltaFile
+1-1sys/kern/imgact_elf.c
+1-11 files

LLVM/project f2ad59eflang/lib/Evaluate fold-implementation.h, flang/test/Evaluate rewrite01.f90

[flang] Fold x + 0, 0 + x and x - 0 for INTEGER and UNSIGNED
DeltaFile
+30-0flang/lib/Evaluate/fold-implementation.h
+4-12flang/test/Lower/HLFIR/array-ctor-as-inlined-temp.f90
+1-3flang/test/Lower/HLFIR/array-ctor-as-elemental.f90
+1-3flang/test/Lower/HLFIR/array-ctor-as-runtime-temp.f90
+1-1flang/test/Evaluate/rewrite01.f90
+37-195 files

LLVM/project 547197dllvm/lib/Target/AMDGPU AMDGPUUnifyDivergentExitNodes.cpp AMDGPUTargetMachine.cpp

[NFC][AMDGPU] Rename AMDGPUUnifyDivergentExitNodes to AMDGPUUnifyDivergentExitNodesLegacy (#192399)

### Summary
This NFC patch renames the legacy pass wrapper class for
`AMDGPUUnifyDivergentExitNodes` to
`AMDGPUUnifyDivergentExitNodesLegacy`. This makes the old pass manager
wrapper explicit and avoids ambiguity. No behavior change is intended.
DeltaFile
+10-8llvm/lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp
+1-1llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
+1-1llvm/lib/Target/AMDGPU/AMDGPU.h
+12-103 files

LLVM/project 04cae92clang/lib/Basic/Targets SPIR.cpp, clang/test/Preprocessor predefined-macros.c

[SPIRV] Conditionally define `__AMDGCN_UNSAFE_FP_ATOMICS__` for AMDGCN flavoured SPIR-V (#192136)

Client apps rely on the `__AMDGCN_UNSAFE_FP_ATOMICS__` macro to guide
optimised execution pathways. We were not defining it for AMDGCN
flavoured SPIR-V, which led to pessimisation.
DeltaFile
+4-0clang/test/Preprocessor/predefined-macros.c
+3-0clang/lib/Basic/Targets/SPIR.cpp
+7-02 files

LLVM/project 8246715llvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.add.min.max.ll

AMDGPU/GlobalISel: RegBankLegalize rules for add_min/max intrinsics (#192356)
DeltaFile
+12-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+1-1llvm/test/CodeGen/AMDGPU/llvm.amdgcn.add.min.max.ll
+13-12 files

LLVM/project 911f03ellvm/lib/Target/AArch64 AArch64AsmPrinter.cpp, llvm/test/CodeGen/AArch64 ptrauth-intrinsic-auth-resign-with-blend.ll

[AArch64][PAC] Rework the expansion of AUT/AUTPAC pseudos

Refactor `AArch64AsmPrinter::emitPtrauthAuthResign` to improve
readability and fix the conditions when `emitPtrauthDiscriminator` is
allowed to clobber AddrDisc.

* do not clobber `AUTAddrDisc` when computing `AUTDiscReg` on resigning
  if `AUTAddrDisc == PACAddrDisc`, as it would prevent passing raw,
  64-bit value as the new discriminator
* move the code computing `ShouldCheck` and `ShouldTrap` conditions to a
  separate function
DeltaFile
+66-41llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
+67-10llvm/test/CodeGen/AArch64/ptrauth-intrinsic-auth-resign-with-blend.ll
+133-512 files

LLVM/project 4ee68c9llvm/lib/Target/AArch64 AArch64AsmPrinter.cpp

Improve readability
DeltaFile
+20-19llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
+20-191 files

LLVM/project 9d923ecclang/lib/Headers altivec.h, clang/test/CodeGen/PowerPC builtins-ppc-deeply-compressed-weights.c

[PowerPC] Implement Deeply Compressed Weights Builtins (#184666)

Add support for the following deeply compressed weights builtins for ISA
Future.
- vec_uncompresshn(vector unsigned char, vector unsigned char)
- vec_uncompressln(vector unsigned char, vector unsigned char)
- vec_uncompresshb(vector unsigned char, vector unsigned char)
- vec_uncompresslb(vector unsigned char, vector unsigned char)
- vec_uncompresshh(vector unsigned char, vector unsigned char)
- vec_uncompresslh(vector unsigned char, vector unsigned char)
- vec_unpack_hsn_to_byte(vector unsigned char)
- vec_unpack_lsn_to_byte(vector unsigned char)
- vec_unpack_int4_to_bf16(vector unsigned char, uint2)
- vec_unpack_int8_to_bf16(vector unsigned char, uint1)
- vec_unpack_int4_to_fp32(vector unsigned char, uint3)
- vec_unpack_int8_to_fp32(vector unsigned char, uint2)

Assisted by AI.
DeltaFile
+244-0llvm/test/CodeGen/PowerPC/deeply-compressed-weights.ll
+194-0clang/test/CodeGen/PowerPC/builtins-ppc-deeply-compressed-weights.c
+58-0clang/lib/Headers/altivec.h
+54-0clang/test/Sema/builtins-ppc-deeply-compressed-weights-error.c
+36-12llvm/lib/Target/PowerPC/PPCInstrFuture.td
+30-0llvm/include/llvm/IR/IntrinsicsPowerPC.td
+616-122 files not shown
+650-128 files

LLVM/project f4e43c4llvm/lib/Transforms/Vectorize LoopVectorize.cpp VPlanRecipes.cpp, llvm/test/Transforms/LoopVectorize select-cmp-multiuse.ll epilog-vectorization-any-of-reductions.ll

[VPlan] Remove ComputeAnyOfResult, use ComputeReductionResult. (#190039)

ComputeAnyOfResult is simply a boolean OR reduction. Remove the
dedicated opcode and model directly via ComputeReductionResult.

This simplifies and unifies the code, as well as enabling trivial
constant folding.

PR: https://github.com/llvm/llvm-project/pull/190039
DeltaFile
+76-90llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+36-48llvm/test/Transforms/LoopVectorize/select-cmp-multiuse.ll
+7-9llvm/test/Transforms/LoopVectorize/epilog-vectorization-any-of-reductions.ll
+0-16llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+15-0llvm/lib/Transforms/Vectorize/VPlan.cpp
+10-4llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
+144-1678 files not shown
+158-20614 files

LLVM/project 5467e55llvm/lib/Target/RISCV RISCVInstrInfo.td, llvm/test/CodeGen/RISCV branch-relaxation-rv64.ll branch-relaxation-rv32.ll

[RISCV] Generate landing pad based on cf-protection-branch flag only (#179960)

Previously, the backend generated lpad instructions when the Zicfilp
extension was enabled. This patch changes the behavior to generate lpad
instructions only when the cf-protection-branch module flag is set
(typically from -fcf-protection=branch).

This aligns with the Clang frontend's intent, which has a comment saying
"Always generate Zicfilp lpad insns, Non-zicfilp CPUs would read them as
NOP".

The Zicfilp extension is no longer required for lpad generation - only
the module flag matters. Tests that previously used
-mattr=+experimental-zicfilp to trigger lpad generation now use the
cf-protection-branch module flag.

Additionally, the selection of NonX7 variants for indirect
branches/calls is now based on the cf-protection-branch module flag
instead of the Zicfilp extension. This ensures consistent behavior: when
cf-protection-branch is enabled, X7 is reserved for landing pad labels
and cannot be used for indirect branch/call target addresses.
DeltaFile
+789-783llvm/test/CodeGen/RISCV/branch-relaxation-rv64.ll
+789-783llvm/test/CodeGen/RISCV/branch-relaxation-rv32.ll
+950-255llvm/test/CodeGen/RISCV/tail-calls.ll
+240-0llvm/test/CodeGen/RISCV/calls-cf-branch.ll
+3-175llvm/test/CodeGen/RISCV/calls.ll
+18-39llvm/lib/Target/RISCV/RISCVInstrInfo.td
+2,789-2,03519 files not shown
+2,913-2,13725 files

FreeBSD/doc 456f559documentation/content/en/books/porters-handbook/special _index.adoc

[phb]: Remove references to INSTALLS_OMF

Following
https://cgit.freebsd.org/ports/commit/?id=d50e1535e7b7d3513ba01868bf5c7c1a22e6527e
DeltaFile
+0-12documentation/content/en/books/porters-handbook/special/_index.adoc
+0-121 files

LLVM/project fce45b3clang/include/clang/Frontend CompilerInstance.h, clang/lib/Frontend CompilerInstance.cpp

[Frontend] Consolidate frontend timer setup in CompilerInstance::ExecuteAction. NFC (#192266)

Move the frontend timer creation (-ftime-report) and TimeTraceScope
("ExecuteCompiler") from cc1_main into CompilerInstance::ExecuteAction
via a new private PrepareForExecution() method. This ensures all tools
that use ExecuteAction (cc1, clang-repl, libclang, etc.) get consistent
timing infrastructure without duplicating setup code.
DeltaFile
+52-48clang/unittests/Support/TimeProfilerTest.cpp
+20-0clang/lib/Frontend/CompilerInstance.cpp
+14-0clang/include/clang/Frontend/CompilerInstance.h
+1-8clang/tools/driver/cc1_main.cpp
+5-0clang/test/Interpreter/ftime-report.cpp
+92-565 files

FreeBSD/src 3f68410sys/compat/freebsd32 freebsd32_misc.c

freebsd32: Fix freebsd11_nstat copyout condition

freebsd11_freebsd32_nstat() invoked copyout(2) when
freebsd11_cvtnstat32() failed and skipped copyout on success. This is
backwards.

Fix this to match freebsd11_freebsd32_nlstat() and freebsd11_nstat(),
and only copy the nstat32 result to userspace when conversion succeeds.

Signed-off-by:  Weixie Cui <cuiweixie at gmail.com>
Reviewed by:    mhorne
MFC after:      1 week
Pull Request:   https://github.com/freebsd/freebsd-src/pull/2109

(cherry picked from commit c6224994ac70b4f71ef9e11903bb2e50ed2b1bfe)
DeltaFile
+1-1sys/compat/freebsd32/freebsd32_misc.c
+1-11 files

FreeBSD/src fb10574sys/arm/broadcom/bcm2835 raspberrypi_virtgpio.c bcm2835_firmware.h, sys/conf files.arm64

bcm2835_virtgpio: Add driver for virtual GPIO controller on some RPi models

This driver enables bcm2835-virtgpio GPIO controller found on RPi3B and
some CM boards. On which, the ACT (green) LED is connected to this
controller. It is essential for FreeBSD to have this driver to control
this LED.

It will be exposed via gpioled(4).

Reviewed by:    mhorne
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D51456

(cherry picked from commit 84c68dbb59df81d5371f0d1eea888d30561d428d)
DeltaFile
+347-0sys/arm/broadcom/bcm2835/raspberrypi_virtgpio.c
+12-0sys/arm/broadcom/bcm2835/bcm2835_firmware.h
+1-0sys/conf/files.arm64
+360-03 files

FreeBSD/src 0a5c457lib/libsys mq_open.2

mq_open(2): document sysctl limit EINVAL and ENFILE conditions

Document two missing error conditions for mq_open(2):

- EINVAL: returned when mq_maxmsg exceeds kern.mqueue.maxmsg or
  mq_msgsize exceeds kern.mqueue.maxmsgsize.
- ENFILE: add kern.mqueue.maxmq sysctl name to the existing entry.

PR:             243209
Reviewed by:    mhorne
MFC after:      1 week
Signed-off-by:  Kit Dallege <xaum.io at gmail.com>
Pull Request:   https://github.com/freebsd/freebsd-src/pull/2098

(cherry picked from commit 3e9f4fd6fc50300d052d5619d82a14d3488483d5)
DeltaFile
+22-1lib/libsys/mq_open.2
+22-11 files

FreeBSD/src 00e0253share/man/man9 malloc.9

malloc.9: adjust flag table indentation

The current indentation is shorter than all but one of these flags. This
renders much more nicely.

MFC after:      3 days

(cherry picked from commit be79a42275cad21c6087d8bbd6a328735ea813fa)
DeltaFile
+1-1share/man/man9/malloc.9
+1-11 files

Linux/linux 3cd8b19fs/smb/client smbdirect.c, fs/smb/common/smbdirect smbdirect_connection.c smbdirect_connect.c

Merge tag 'v7.1-rc-part1-smbdirect-fixes' of git://git.samba.org/ksmbd

Pull smbdirect updates from Steve French:
 "Move smbdirect server and client code to common directory:

   - temporary use of smbdirect_all_c_files.c to allow micro steps

   - factor out common functions into a smbdirect.ko.

   - convert cifs.ko to use smbdirect.ko

   - convert ksmbd.ko to use smbdirect.ko

   - let smbdirect.ko use global workqueues

   - move ib_client logic from ksmbd.ko into smbdirect.ko

   - remove smbdirect_all_c_files.c hack again


    [24 lines not shown]
DeltaFile
+166-2,958fs/smb/client/smbdirect.c
+225-2,739fs/smb/server/transport_rdma.c
+2,181-0fs/smb/common/smbdirect/smbdirect_connection.c
+925-0fs/smb/common/smbdirect/smbdirect_connect.c
+857-0fs/smb/common/smbdirect/smbdirect_accept.c
+743-0fs/smb/common/smbdirect/smbdirect_socket.c
+5,097-5,69724 files not shown
+7,133-5,83730 files

FreeBSD/src 14b1824sys/conf files.arm64

conf: Mark vchiq as depending on fdt

Fix an ACPI only kernel by only building the vchiq files when FDT is
enabled.

Fixes:  745c4aa5e8f0 ("Make BRCM2837 port conform FreeBSD/ARM64 guidelines")
Sponsored by:   Arm Ltd

(cherry picked from commit 7446569bbcb42c08c650a5e1015f544f13066d7f)
DeltaFile
+9-9sys/conf/files.arm64
+9-91 files

FreeBSD/src 9280919share/man/man4 hwpmc.4

hwpmc.4: correct stale default values and update diagnostics

The default values documented for kern.hwpmc.logbuffersize (4KB) and
kern.hwpmc.nbuffers_pcpu (64) have been incorrect since 2981a3420cb1
(2018), which updated the compiled defaults but did not update the
man page.

- Correct logbuffersize default from 4KB to 256KB, add 16MB maximum
- Correct nbuffers_pcpu default from 64 to 32, document 32MB per-CPU
  product limit with kern.hwpmc.logbuffersize
- Update DIAGNOSTICS section to reflect current warning messages

Reviewed by:    mhorne
MFC after:      1 week
Sponsored by:   NLINK (nlink.com.br)
Differential Revision:  https://reviews.freebsd.org/D56050

(cherry picked from commit 2318ea10a3afb66c51078483f74c1a622811a619)
DeltaFile
+19-6share/man/man4/hwpmc.4
+19-61 files

FreeBSD/src 290a7adsys/dev/hwpmc hwpmc_logging.c, sys/sys pmc.h

hwpmc: improve diagnostic messages for invalid tunables

Replace printf() with log(LOG_WARNING, ...) in pmclog_initialize()
so that tunable validation failures are visible in dmesg and
/var/log/messages rather than only on the early console.

Also improve the messages to report both the invalid value and the
default it resets to, making it easier for users to understand why
their tunable was ignored.

While here, adjust some whitespacing/style.

Reviewed by:    Ali Mashtizadeh <ali at mashtizadeh.com>, mhorne
MFC after:      1 week
Sponsored by:   NLINK (nlink.com.br)
Differential Revision:  https://reviews.freebsd.org/D56029

(cherry picked from commit b3a18736ec2fc2bd097995dedd8d09e79bcb2056)
DeltaFile
+26-9sys/dev/hwpmc/hwpmc_logging.c
+2-0sys/sys/pmc.h
+28-92 files

FreeBSD/doc b2222ccdocumentation/content/en/books/porters-handbook/uses _index.adoc

[phb][uses]: Add inotify
DeltaFile
+7-0documentation/content/en/books/porters-handbook/uses/_index.adoc
+7-01 files