LLVM/project 7afe97b — llvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp, llvm/test/Transforms/InstCombine vector-shuffle.ll

[InstCombine] SimplifyDemandedVectorElts - add llvm.vector.shuffle handling (#245249)

Simplify the demanded elements of the mask operand using DemandedElts,
and use the mask's constant range to limit the demanded source elements.

This is the InstCombine equivalent of #244921.

Part of #244310

AI Note: I've used Claude Code to help me understand `InstCombine`
concepts and the codebase. The implementation and tests are my own.
DeltaFile
+115-0llvm/test/Transforms/InstCombine/vector-shuffle.ll
+17-0llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+132-02 files

OPNSense/core 0f06ece — src/opnsense/mvc/app/models/OPNsense/Core ACL.php

system: tiny amendmend on previous

It doesn't matter too much but this is more accurate to the purpose.
DeltaFile
+1-1src/opnsense/mvc/app/models/OPNsense/Core/ACL.php
+1-11 files

LLVM/project 1b715f7 — llvm/docs LangRef.md, llvm/test/tools/llubi intr_fp_vector_reduce.ll intr_fp_minmax.ll

[LangRef][llubi] Fix nsz handling for FP min/max intrinsics (#245117)

For FP min/max intrinsics and reductions, nsz only makes the order of
+0.0 and -0.0 non-deterministic and must not flip same-sign zeros. Clear
nsz before handleFMFFlags on inputs and handle opposite-sign zeros in
applyFPMinMax instead. Also clarify in LangRef that
llvm.vector.reduce.{fmaximum,fminimum} follow the same nsz semantics.

Fixes https://github.com/llvm/llvm-project/issues/233676

LLM used for test cases.
DeltaFile
+44-36llvm/tools/llubi/lib/Interpreter.cpp
+37-0llvm/test/tools/llubi/intr_fp_minmax.ll
+33-0llvm/test/tools/llubi/intr_fp_vector_reduce.ll
+8-6llvm/docs/LangRef.md
+122-424 files

FreeBSD/ports f5d4e03 — net/natscli Makefile distinfo

net/natscli: Update to 0.5.2
DeltaFile
+5-5net/natscli/distinfo
+1-2net/natscli/Makefile
+6-72 files

FreeBSD/ports b653d9b — net/nats-surveyor Makefile distinfo

net/nats-surveyor: Update to 0.9.14
DeltaFile
+5-5net/nats-surveyor/distinfo
+1-2net/nats-surveyor/Makefile
+6-72 files

FreeBSD/ports e97ffbd — net/nats-nkeys Makefile distinfo

net/nats-nkeys: Update to 0.4.17
DeltaFile
+5-5net/nats-nkeys/distinfo
+1-2net/nats-nkeys/Makefile
+6-72 files

FreeBSD/ports 4f1b307 — net/nats-server Makefile distinfo

net/nats-server: Update to 2.15.3
DeltaFile
+5-5net/nats-server/distinfo
+1-2net/nats-server/Makefile
+6-72 files

LLVM/project 4981615 — llvm/test/CodeGen/AMDGPU buffer-fat-pointers-memcpy.ll lower-mem-intrinsics.ll, llvm/test/CodeGen/AMDGPU/GlobalISel llvm.memset.ll llvm.memcpy.ll

[AMDGPU] Don't unroll memcpy loops with sub-dword split accesses

If dword accesses aren't allowed at the copy's alignment, the unrolled
<64 x i32> loop is split into bytes, which causes heavy spilling. Only
unroll when dword accesses are allowed, and pick residual types the
alignment allows.

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+822-14,317llvm/test/CodeGen/AMDGPU/memintrinsic-unroll.ll
+258-1,118llvm/test/CodeGen/AMDGPU/lower-buffer-fat-pointers-mem-transfer.ll
+294-179llvm/test/CodeGen/AMDGPU/lower-mem-intrinsics.ll
+79-167llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.memcpy.ll
+80-60llvm/test/CodeGen/AMDGPU/buffer-fat-pointers-memcpy.ll
+25-52llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.memset.ll
+1,558-15,8935 files not shown
+1,680-15,99511 files

LLVM/project 62a5ff0 — bolt/lib/Passes LongJmp.cpp, bolt/test/AArch64 long-jmp-hugify-fixup-out-of-range.s branch-relax-adrp-range.s

[BOLT][AArch64] Enable clustered branch relaxation by default (#234932)

Use clustered relaxation by default when code relocations are available,
and keep --relax-exp as a hidden alias. Without relocations, fall back to
local branch relaxation or stub-insertion pass unless clustered relaxation
was explicitly requested, in which case exit with an error message.

Allow clustered relaxation to handle short-range branches without
requiring the --compact-code-model option.

Move tests that are exclusive to stub-insertion pass into a separate folder.

Link with test/Inputs/stub.c in eh-frame-hdr.test and eh-frame-overwrite.test
to avoid external-call thunks, whose FDEs would prevent the unwind sections
from being rewritten in place when using clustered relaxation.
DeltaFile
+0-68bolt/test/AArch64/branch-relax-limits.s
+68-0bolt/test/AArch64/legacy-longjmp/branch-relax-limits.s
+0-53bolt/test/AArch64/branch-relax-adrp-range.s
+37-16bolt/lib/Passes/LongJmp.cpp
+53-0bolt/test/AArch64/legacy-longjmp/branch-relax-adrp-range.s
+0-52bolt/test/AArch64/long-jmp-hugify-fixup-out-of-range.s
+158-18927 files not shown
+571-48133 files

FreeBSD/src cbd8136 — sys/sys libkern.h

libkern: Remove remnants of inlined memset()

Fixes:          97e898489390 ("libkern: tidy up memset")
MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
DeltaFile
+0-5sys/sys/libkern.h
+0-51 files

LLVM/project acd59d2 — clang/lib/Basic/Targets AMDGPU.h, clang/test/CodeGenOpenCL inline-asm-amdgcn.cl

[AMDGPU][Clang] Support the RF inline asm constraint (#244752)

Accept the AMDGPU-specific "RF" (flat memory address) inline asm
constraint in clang and lower it to "^RF" in IR. The backend support was
added in #241996. The "m" constraint needs no clang change since it is
handled by the generic TargetInfo code.

Add Sema tests for valid and invalid uses of "RF", and CodeGen tests
checking the IR constraint strings for "RF" and "m". Document "RF" in
the AMDGPU section of LangRef.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+26-0clang/test/Sema/inline-asm-validate-amdgpu.cl
+12-0clang/test/CodeGenOpenCL/inline-asm-amdgcn.cl
+8-1clang/lib/Basic/Targets/AMDGPU.h
+1-0llvm/docs/LangRef.md
+47-14 files

LLVM/project 4157e0d — llvm/test/CodeGen/AMDGPU cvt_f32_ubyte.ll

[AMDGPU] Test byte conversion through an i16 funnel shift

Keep both byte conversions and a store of the funnel-shift result to exercise the combine through both shift directions.
DeltaFile
+85-0llvm/test/CodeGen/AMDGPU/cvt_f32_ubyte.ll
+85-01 files

LLVM/project 908622d — llvm/lib/Target/AMDGPU SIISelLowering.cpp

[AMDGPU] Look through any_extend in cvt_f32_ubyteN combine

Fold a shift through an any-extend when the selected byte is within the width of the shift result. This avoids an extra shift when converting elements of an unaligned vector load expanded into smaller pieces.

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+4-3llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+4-31 files

LLVM/project ca38db7 — clang/lib/CIR/Dialect/Transforms CallConvLoweringPass.cpp, clang/lib/CIR/Dialect/Transforms/TargetLowering CIRABIRewriteContext.h CIRABIRewriteContext.cpp

[CIR] Dispatch va_arg lowering via target CIRABIRewriteContext subclasses (#244977)

#244116 included `clang/CIR/Dialect/Passes.h` from
`TargetLowering/CIRABIRewriteContext.h` for `cir::CallConvTarget`,
pulling
in the generated `Passes.h.inc` (`MLIRCIRPassIncGen`) from a
higher-level
library and breaking builds when `CIRABIRewriteContext.cpp` compiles
first.

Keep `CallConvTarget` out of `TargetLowering` by dispatching non-ignored
`cir.va_arg` lowering through a virtual `expandVAArg` hook on
`CIRABIRewriteContext`, implemented by X86_64 and AMDGPU subclasses
selected in `CallConvLoweringPass` (matching the structure of #244729).

Fixes build failure on
https://lab.llvm.org/buildbot/#/builders/sanitizer-windows.

Assisted-by: Gemini
DeltaFile
+29-26clang/lib/CIR/Dialect/Transforms/TargetLowering/CIRABIRewriteContext.h
+42-13clang/lib/CIR/Dialect/Transforms/TargetLowering/CIRABIRewriteContext.cpp
+21-1clang/lib/CIR/Dialect/Transforms/CallConvLoweringPass.cpp
+92-403 files

LLVM/project 1bc975b — llvm/lib/Target/SystemZ SystemZInstrVector.td, llvm/test/CodeGen/SystemZ vec-strict-conv-04.ll vec-conv-04.ll

[SystemZ] Select WCEFB/WCELFB/WCFEB/WCLFEB for vector-element conversions

On z15, use the scalar-in-vector convert instructions when one side of
an i32<->f32 conversion already lives in a vector register:

* (s|u)itofp of an extracted <4 x i32> element -> WCEFB/WCELFB, using
  VREPF first for elements 1-3.
* fptosi/fptoui whose i32 result goes into element 0 of a vector
  (scalar_to_vector, insert into undef, or splat) -> WCFEB/WCLFEB.

This avoids the GPR round trip (vlgvf + cefbr, cfebr + vlvgf). GPR<->FPR
conversions and variable-index extracts are unchanged.

Also fix the dest/source operand types of VCFEB/VCLFEB/WCFEB/WCLFEB
(which were reversed) and VCEFB/VCELFB (v128g -> v128f).

Add vec-conv-04.ll and vec-strict-conv-04.ll, including negative and
z14 checks.
DeltaFile
+351-0llvm/test/CodeGen/SystemZ/vec-conv-04.ll
+348-0llvm/test/CodeGen/SystemZ/vec-strict-conv-04.ll
+38-6llvm/lib/Target/SystemZ/SystemZInstrVector.td
+737-63 files

LLVM/project 7367dff — llvm/lib/Target/RISCV RISCVGISel.td RISCVInstrGISel.td, llvm/lib/Target/RISCV/GISel RISCVRegisterBankInfo.cpp RISCVLegalizerInfo.cpp

[RISCV][GISel] Add G_ORC_B opcode and reuse SelectionDAG isel pattern. (#245331)

Eventually, we should also add computeKnownBits support to match SDAG.

Assisted-by: Claude
DeltaFile
+11-8llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
+9-0llvm/lib/Target/RISCV/RISCVInstrGISel.td
+0-7llvm/lib/Target/RISCV/RISCVGISel.td
+1-2llvm/lib/Target/RISCV/GISel/RISCVRegisterBankInfo.cpp
+21-174 files

FreeBSD/ports ffce983 — games/libretro-shaders-slang Makefile distinfo

games/libretro-shaders-slang: Update g20261022 => g20261120

Commit log:
https://github.com/libretro/slang-shaders/compare/2b0530b...02bf134

PR:     301052
DeltaFile
+55-14games/libretro-shaders-slang/pkg-plist
+3-3games/libretro-shaders-slang/distinfo
+2-2games/libretro-shaders-slang/Makefile
+60-193 files

FreeBSD/src a6e8184 — sys/dev/iicbus/sensor tmp461.c, sys/sys libkern.h

libkern: Bitfield extraction: Stick to standard, separate sign extension

Rename signed_extend32() and signed_extend64() to
extract_signed_bitfield_32() and extract_signed_bitfield_64()
respectively, as these names more clearly describe what these functions
are doing and to make room for functions really doing sign extension.

Change implementation of extract_signed_bitfield_32() and
extract_signed_bitfield_64() to stop relying on GCC/clang-specific
implementation-defined behavior on right shifts of negative integers.
They now rely on two-complement arithmetic, which all machines we
support do, and which is the future direction for C (it is a requirement
since C23).

While here, separate the sign bit extension into sign_extend_32() and
sign_extend_64() respectively, as these could be useful on their own in
addition to serving to implement extract_signed_bitfield_32() and
extract_signed_bitfield_64().


    [4 lines not shown]
DeltaFile
+59-6sys/sys/libkern.h
+1-1sys/dev/iicbus/sensor/tmp461.c
+60-72 files

FreeBSD/ports 68340c6 — games/libretro-shaders-glsl pkg-plist Makefile

games/libretro-shaders-glsl: Update g20261023 => g20261112

Commit log:
https://github.com/libretro/glsl-shaders/compare/cba01a4...a350698

PR:     301051
DeltaFile
+3-3games/libretro-shaders-glsl/distinfo
+2-2games/libretro-shaders-glsl/Makefile
+2-0games/libretro-shaders-glsl/pkg-plist
+7-53 files

LLVM/project c6ecd4a — llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes LoadStoreVec.h, llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes LoadStoreVec.cpp

[SandboxVec][LoadStoreVec] Support mixed-type load vectorization (#236647)

- Allow reinterpretation of same sized values in load vectorization. A
chain of mixed types such as {i32, float} or {double, i32, i32} is
loaded as a vector of integers (as chosen by
`VecUtils::getWidenedType())`, each original load is unpacked from the
lanes it occupies, and then reinterpreted back to its own type with
`SameSizeReinterpret::reinterpretValue()`.
- Chains involving a non-integral pointer are left alone, since such a
pointer cannot be recovered from an integer lane.

Stacked on #243765.

Co-authored-by: Cursor <cursoragent at cursor.com>

---------

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+401-0llvm/test/Transforms/SandboxVectorizer/Passes/LoadStoreVec/load_store_vec_mixed_type_loads.ll
+40-10llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/LoadStoreVec.cpp
+11-1llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes/LoadStoreVec.h
+452-113 files

LLVM/project 67bb052 — llvm/test/Transforms/LoopVectorize vplan-based-stride-mv.ll, llvm/test/Transforms/LoopVectorize/VPlan vplan-based-stride-mv.ll

[NFC][VPlan] More tests for VPlan-based stride speculation

For #182595.

`@predicate_simplification_unknown_to_scev` has been added to #182595
quite some time ago and likely can be considered reviewed already.

Two other `@*might_trigger_ub_if_not_guarded` are for the latest review
round.
DeltaFile
+376-0llvm/test/Transforms/LoopVectorize/vplan-based-stride-mv.ll
+329-0llvm/test/Transforms/LoopVectorize/VPlan/vplan-based-stride-mv.ll
+705-02 files

LLVM/project 5c4ead3 — llvm/lib/Transforms/Utils Evaluator.cpp, llvm/test/Transforms/GlobalOpt ctor-eval-byval-argument.ll

[GlobalOpt] Copy byval arguments when evaluating calls (#241675)

Fixes #241245.

The Evaluator bound the actual argument of a byval parameter directly to
the caller's object. The callee should get a private copy, so a later
store to the global changed the parameter. In the issue, GlobalOpt
evaluated the static constructor and committed a wrong value.

getFormalParams now copies the pointee of a byval argument byte by byte
into a temporary global and binds the parameter to it, the same way the
Evaluator models allocas. A byte-wise copy keeps the padding and does
not depend on the layout of the type. If a byte cannot be read, for
example when the object holds pointers, or the object is larger than 256
bytes, it gives up on the call as before.

The test is reduced from the issue and its checks are added with
update_test_checks.py. The lit tests under Transforms/GlobalOpt pass.
DeltaFile
+69-0llvm/test/Transforms/GlobalOpt/ctor-eval-byval-argument.ll
+37-2llvm/lib/Transforms/Utils/Evaluator.cpp
+106-22 files

FreeBSD/ports 1f6bbbd — databases/redis_exporter Makefile distinfo

databases/redis_exporter: Update 1.96.0 => 1.98.0

Changelogs:
https://github.com/oliver006/redis_exporter/releases/tag/v1.97.0
https://github.com/oliver006/redis_exporter/releases/tag/v1.98.0

Commit log:
https://github.com/oliver006/redis_exporter/compare/v1.96.0...v1.98.0

PR:     301056
MFH:    2026Q4
(cherry picked from commit 92d5aebee6a63c910003e47b08fd34f6ea0bd3ea)
DeltaFile
+5-5databases/redis_exporter/distinfo
+2-3databases/redis_exporter/Makefile
+7-82 files

FreeBSD/ports 92d5aeb — databases/redis_exporter Makefile distinfo

databases/redis_exporter: Update 1.96.0 => 1.98.0

Changelogs:
https://github.com/oliver006/redis_exporter/releases/tag/v1.97.0
https://github.com/oliver006/redis_exporter/releases/tag/v1.98.0

Commit log:
https://github.com/oliver006/redis_exporter/compare/v1.96.0...v1.98.0

PR:     301056
MFH:    2026Q4
DeltaFile
+5-5databases/redis_exporter/distinfo
+2-3databases/redis_exporter/Makefile
+7-82 files

FreeNAS/freenas b482450 — src/middlewared/middlewared/plugins/container lifecycle.py utils.py, tests/api2 test_container.py

NAS-145321 / 27.1.0 / Resolve container etc paths within the rootfs when setting the hostname

Read an existing etc/hosts relative to the container's rootfs, resolving
symlinks as the container itself would, and only if it is a regular file
of a reasonable size. atomic_write already refuses a symlink in the path
of the files it writes.

(cherry picked from commit f5093d9b4c8fe94c5bb88cfe40bc4f7747eaa685)
(cherry picked from commit 9d53b3c6f263908b5dc4c4d6d0d46ca611ad015b)
DeltaFile
+33-14src/middlewared/middlewared/plugins/container/utils.py
+19-0tests/api2/test_container.py
+2-3src/middlewared/middlewared/plugins/container/lifecycle.py
+54-173 files

LLVM/project d5b9943 — llvm/lib/Target/LoongArch LoongArch.h LoongArchMergeBaseOffset.cpp, llvm/test/CodeGen/LoongArch newpm-pipeline.ll

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+254-270llvm/lib/Target/LoongArch/LoongArchExpandPseudoInsts.cpp
+140-136llvm/lib/Target/LoongArch/LoongArchExpandAtomicPseudoInsts.cpp
+174-0llvm/lib/Target/LoongArch/LoongArchCodeGenPassBuilder.cpp
+160-0llvm/test/CodeGen/LoongArch/newpm-pipeline.ll
+62-71llvm/lib/Target/LoongArch/LoongArchMergeBaseOffset.cpp
+98-18llvm/lib/Target/LoongArch/LoongArch.h
+888-49515 files not shown
+1,197-64521 files

LLVM/project fa8a40c — llvm/lib/Target/LoongArch LoongArch.h LoongArchMergeBaseOffset.cpp, llvm/test/CodeGen/LoongArch newpm-pipeline.ll

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+254-270llvm/lib/Target/LoongArch/LoongArchExpandPseudoInsts.cpp
+140-136llvm/lib/Target/LoongArch/LoongArchExpandAtomicPseudoInsts.cpp
+173-0llvm/lib/Target/LoongArch/LoongArchCodeGenPassBuilder.cpp
+154-0llvm/test/CodeGen/LoongArch/newpm-pipeline.ll
+62-71llvm/lib/Target/LoongArch/LoongArchMergeBaseOffset.cpp
+98-18llvm/lib/Target/LoongArch/LoongArch.h
+881-49513 files not shown
+1,132-64519 files

FreeNAS/freenas 246e8a0 — src/middlewared/middlewared/plugins/audit audit.py, tests/api2 test_audit_basic.py

NAS-145323 / 27.1.0 / Only accept a report file name in audit.download_report

audit.export creates each report directly in the user's report
directory, so report_name must be a single file name. Refuse a name
that is empty, is "." or "..", or contains "/" or a NUL byte.

Open the report with safe_open, which refuses a symlink anywhere in
the path, and serve it from that file once it is confirmed to be a
regular file. This replaces the separate existence and file type
checks on the path.

(cherry picked from commit 73b9dd025a1d75ed63fd21491629804e3107af6a)
(cherry picked from commit f4adfef8346e919b5b65d8ccccf3f501ef3f53a1)
DeltaFile
+23-9src/middlewared/middlewared/plugins/audit/audit.py
+8-0tests/api2/test_audit_basic.py
+31-92 files

FreeNAS/freenas 6d3549c — src/middlewared/middlewared/plugins filesystem.py, src/middlewared/middlewared/plugins/filesystem_ acl.py

NAS-145324 / 27.1.0 / Check the resolved path in filesystem permission changes

filesystem.stat set realpath from the absolute path for anything that
was not itself a symlink, so it kept ".." components and symlinked
parent directories. Resolve the whole path, as the field's description
says. NFS share validation and vm.device.convert, which also use
realpath, now see the fully resolved path.

The path checks of filesystem.chown, filesystem.setperm and
filesystem.setacl matched that realpath by string prefix, without a
component boundary. Compare whole path components instead. The S3
bucket check no longer resolves the path a second time.

Also fix the schema name in the "Must be an absolute path" error.

(cherry picked from commit c0250bb7913c6d4b569d4536ec97f5938317894f)
(cherry picked from commit 66226d0b2af2c272f24e1f4cb67af27e1ab74974)
DeltaFile
+7-5src/middlewared/middlewared/plugins/filesystem_/acl.py
+11-0tests/api2/test_190_filesystem.py
+1-1src/middlewared/middlewared/plugins/filesystem.py
+19-63 files

FreeBSD/src 79fd9bd — sys/conf files.arm64 files, sys/dev/clk clk_fixed.c

clk_fixed: partially revert and improve e495998e7c6d

Deferred initialization of the input clock was badly implemented and
did not work as expected.  Resolve the parent clock eagerly during
attach (failing if it is not yet available) and keep deferred
initialization only for the optional GPIO and/or regulator used by
gated-fixed-clocks.  Also clean up the softc layout, move GPIO
configuration into the getter, and make the file FDT-only.

Reported by:    llm-postcr
Fixes:          e495998e7c6d ("FDT, clk_fixed: add gated-fixed-clock support and deferred initialization")
MFC with:       e495998e7c6d
DeltaFile
+140-150sys/dev/clk/clk_fixed.c
+1-1sys/conf/files.arm64
+1-1sys/conf/files
+142-1523 files