LLVM/project f8eb55d — llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes LoadStoreVec.cpp

[SandboxVec][LoadStoreVec] Fix Legality direction initialization (#237278)

Before this patch Legality was getting initialized with BottomUp
direction regardless of whether we were vectorizing stores or loads.
This patch fixes this and sets the direction accordingly.

The reason why we were not getting any issues was that when vectorizing
loads we are not attempting to vectorize stores, but when vectorizing
stores we were also attempting to vectorize loads. So this is
effectively an NFC.
DeltaFile
+16-4llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/LoadStoreVec.cpp
+16-41 files

LLVM/project 7fcf228 — flang/lib/Lower ConvertArrayConstructor.cpp, flang/test/Lower array-constructor-2.f90

[flang] Use inline temporaries for array-valued array constructor entries (#240342)

Currently code of the form
```fortran
subroutine slow(source, dest)
  implicit none
  real(8), intent(in) :: source(4)
  real(8), intent(out) :: dest(4)
  dest = [source(1:4)]
end subroutine
```
lowers to runtime calls for the array constructor.
While
```fortran
subroutine better(source, dest)
  implicit none
  real(8), intent(in) :: source(4)
  real(8), intent(out) :: dest(4)
  dest = [source(1), source(2), source(3), source(4)]

    [14 lines not shown]
DeltaFile
+121-1flang/test/Lower/HLFIR/array-ctor-as-inlined-temp.f90
+25-32flang/test/Lower/HLFIR/array-ctor-as-runtime-temp.f90
+27-8flang/lib/Lower/ConvertArrayConstructor.cpp
+19-6flang/test/Lower/array-constructor-2.f90
+192-474 files

LLVM/project cc8b7cb — mlir/test/CAPI CMakeLists.txt

[MLIR-C] Fix LLVM component dependencies (#243084)

Add Core and Support as LLVM component dependencies. This will make sure
that we link libLLVM.so if the dylib is used, instead of doing an
additional static link that results in ODR violations.

I checked that the MLIR C API tests work both with a dylib build and a
shared libs build.
DeltaFile
+2-1mlir/test/CAPI/CMakeLists.txt
+2-11 files

LLVM/project cc8b4ef — mlir/docs/Dialects TOSA.md

[mlir][tosa] Update operation purity documentation (#239964)

Add a statement REQUIRE is assumed to have no side effects in this
implementation. This is making the choice in following statement from
the specification explicit in this implementation: "Note that whether
REQUIRE has side effects is implementation-defined.".
DeltaFile
+2-1mlir/docs/Dialects/TOSA.md
+2-11 files

FreeNAS/freenas 854008c —

Empty commit to create PR on github.

You should reset it
DeltaFile
+0-00 files

FreeNAS/freenas 6fb10ef — src/middlewared/middlewared/plugins failover.py, src/middlewared/middlewared/plugins/failover_ nftables.py

Sync SMB pools before STCNITH so durable handles survive

On failover, the other controller drops SMB durable handles that have
unflushed writes. Copies in progress then fail (Windows error
0x8007003B).

With SMB stateful failover on, become_passive now does this first:

- Block SMB and VIP traffic both ways.
- Run `zpool sync` on the pools that have SMB shares.
- Run `truenas_smbhad mark-synced` so the other controller keeps the
  handles.

Each step has a timeout. If one fails, the rest are skipped and the
handles are dropped as before.

`failover.firewall.drop_all` gets a `replies` option for the first
step. Without it, the rules are as before.

Needs the matching truenas_smbhad and Samba changes.
DeltaFile
+80-1src/middlewared/middlewared/plugins/failover.py
+29-11src/middlewared/middlewared/plugins/failover_/nftables.py
+109-122 files

FreeNAS/freenas 855018a — src/middlewared/middlewared/alembic/versions/27.0 2026-11-16_12-00_mail_validate_certificate.py, src/middlewared/middlewared/api/v27_0_0 mail.py

Validate server TLS certificate when sending mail

(cherry picked from commit 763b7c5069f989455560c268339bcaf41c3d28af)
DeltaFile
+145-0tests/api2/test_mail_tls.py
+25-0src/middlewared/middlewared/alembic/versions/27.0/2026-11-16_12-00_mail_validate_certificate.py
+10-2src/middlewared/middlewared/plugins/mail.py
+1-0tests/api2/test_mail.py
+1-0src/middlewared/middlewared/api/v27_0_0/mail.py
+182-25 files

FreeNAS/freenas 2c7729a — src/middlewared/middlewared/alembic/versions/27.0 2026-11-16_12-00_mail_validate_certificate.py, src/middlewared/middlewared/api/v27_0_0 mail.py

NAS-145252 / 27.0.0 / Validate server TLS certificate when sending mail (#20218)
DeltaFile
+145-0tests/api2/test_mail_tls.py
+25-0src/middlewared/middlewared/alembic/versions/27.0/2026-11-16_12-00_mail_validate_certificate.py
+10-2src/middlewared/middlewared/plugins/mail.py
+1-0tests/api2/test_mail.py
+1-0src/middlewared/middlewared/api/v27_0_0/mail.py
+182-25 files

LLVM/project f66b18f — flang/lib/Semantics check-omp-loop.cpp

auto = xxx
DeltaFile
+1-1flang/lib/Semantics/check-omp-loop.cpp
+1-11 files

LLVM/project a1c3a83 — clang/lib/CIR/CodeGen CIRGenExprScalar.cpp, clang/test/CIR/CodeGenOpenCL null-pointer-to-bool.cl

[CIR] Compare pointer-to-bool conversions against the target null pointer
DeltaFile
+159-0clang/test/CIR/CodeGenOpenCL/null-pointer-to-bool.cl
+12-3clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
+171-32 files

LLVM/project e217c04 — llvm/test/CodeGen/X86 popcnt.ll vector-fshr-512.ll

[X86] LowerShiftByScalarImmediate - always freeze vXi8 value before shifting as bitcast vXi16 value (#243108)

We're either increasing uses or shifting as a vXi16 type which can
potentially propagate poison from one i8 element to the entire i16.

LowerShiftByScalarVariable has a similar weakness, which I'll look at
separately.

Fixes #241273
DeltaFile
+1,538-1,476llvm/test/CodeGen/X86/clmul-vector.ll
+850-844llvm/test/CodeGen/X86/vector-reduce-ctpop.ll
+175-107llvm/test/CodeGen/X86/bit-manip-i512.ll
+98-98llvm/test/CodeGen/X86/vector-fshr-128.ll
+96-96llvm/test/CodeGen/X86/vector-fshr-512.ll
+90-36llvm/test/CodeGen/X86/popcnt.ll
+2,847-2,6579 files not shown
+3,129-2,86715 files

FreeBSD/ports bf0e57f — devel/cppinsights distinfo Makefile

devel/cppinsights: Update 20.1 => 23.1

Changelogs:
https://github.com/andreasfertig/cppinsights/releases/tag/v_21.1
https://github.com/andreasfertig/cppinsights/releases/tag/v_23.1

PR:             300797
Sponsored by:   UNIS Labs (vvd, commit patch)
DeltaFile
+9-3devel/cppinsights/Makefile
+3-3devel/cppinsights/distinfo
+12-62 files

LLVM/project cf1cd3d — llvm/include/llvm/CodeGen LiveIntervalCalc.h LiveInterval.h, llvm/lib/CodeGen LiveIntervalCalc.cpp LiveIntervals.cpp

Revert "CodeGen: Create register unit dead defs in slot order (#242577)" (#243143)

This reverts commit 99b84212ed1c630c615b266badbf69c093e98758.

Mid air collision
DeltaFile
+86-0llvm/lib/CodeGen/LiveInterval.cpp
+15-10llvm/lib/CodeGen/LiveIntervals.cpp
+21-1llvm/include/llvm/CodeGen/LiveInterval.h
+12-0llvm/lib/CodeGen/LiveIntervalCalc.cpp
+5-0llvm/include/llvm/CodeGen/LiveIntervalCalc.h
+139-115 files

OPNSense/core b8c5f58 — src/etc/inc system.inc

system: implemement far gateway for IPv6 #10578

Apparently this works on recent FreeBSD and WG VPN providers
like the coolness of /128 addresses being given out.  Fix both
static routes and gateways, but do not add an auto-detect for
IPv6 which isn't needed for this use case and also not otherwise
known to happen out in the wild.

Since the 'missing' gateway error print doesn't bring much to
the table remove it and prevent empty gateway from being used
below which wouldn't work anyway.

Co-authored-by: @cayossarian
DeltaFile
+16-12src/etc/inc/system.inc
+16-121 files

LLVM/project 2218d62 — llvm/include/llvm/Transforms/IPO Attributor.h, llvm/lib/Transforms/IPO AttributorAttributes.cpp HotColdSplitting.cpp

[IPO] Declare Attributor and OpenMPOpt command line options in TableGen (#242879)

Port the options of Attributor, AttributorAttributes, OpenMPOpt and
HotColdSplitting.

* Attributor gains an Opts member, which OpenMPOpt reads.
  HotColdSplitting takes IPOOptions.
* The exported global MaxInitializationChainLength becomes an Attributor
  member. The static PotentialValuesState::MaxPotentialValues becomes a
  member, which AAPotentialConstantValues sets from its Attributor and
  getBestState(const PotentialValuesState &) copies.
* Rename the -openmp-opt-disable* spellings to positive ones. The old
  spellings remain aliases, which reject a value, so tests using
  -openmp-opt-disable-x=false switch to the new spelling.

LLM-aided
DeltaFile
+36-128llvm/lib/Transforms/IPO/Attributor.cpp
+33-118llvm/lib/Transforms/IPO/OpenMPOpt.cpp
+112-0llvm/lib/Transforms/IPO/IPOOptions.td
+16-41llvm/lib/Transforms/IPO/HotColdSplitting.cpp
+10-32llvm/lib/Transforms/IPO/AttributorAttributes.cpp
+18-13llvm/include/llvm/Transforms/IPO/Attributor.h
+225-3322 files not shown
+231-3358 files

LLVM/project 741ddaf — llvm/lib/Target/SPIRV SPIRVGlobalRegistry.h SPIRVGlobalRegistry.cpp

[SPIRV] Use MachineOperand instead of MCOperand in getInlineSpirvType. (#242863)

MCOperand uses MCRegister, but MCRegister isn't supposed to hold virtual
registers.

Use MachineOperand instead. This class is larger, but the vector is
short lived so this shouldn't matter.
DeltaFile
+9-5llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
+5-7llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
+1-1llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h
+15-133 files

LLVM/project 9c26183 — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/AArch64 fast-two-sum-operand-order.ll

[𝘀𝗽𝗿] initial version

Created using spr 2.0.0-beta.1
DeltaFile
+42-4llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+2-8llvm/test/Transforms/SLPVectorizer/AArch64/fast-two-sum-operand-order.ll
+44-122 files

LLVM/project 086cb79 — libc/src/stdio/generic CMakeLists.txt getline.cpp, libc/test/src/stdio CMakeLists.txt getdelim_impl_test.cpp

[libc][stdio] Implement getline POSIX function. (#242975)

Partially based on PR #219601, but with many changes to implementation,
and added tests.

This is an implementation of POSIX
[getline](https://pubs.opengroup.org/onlinepubs/9799919799/functions/getline.html)
function. It's mostly a straightforward per-byte reading, but with
manual malloc/free buffer management required for that function. Some
notes:

* implementation is generic to be trivially reusable for `getdelim`
* ad-hoc dynamic buffer management, similar to what we do in other
functions like `scandir` (there's no unified vector, deliberately)
* we carefully implement POSIX spec where even invalid input arguments
to `getline` set the error bit on the input stream.
* unit tests cover various cases (including buffer overflows) by using
fakes and templates to prevent buffers from growing large as they would
in the normal production version.

    [3 lines not shown]
DeltaFile
+434-0libc/test/src/stdio/getline_test.cpp
+363-0libc/test/src/stdio/getdelim_impl_test.cpp
+186-0libc/src/stdio/generic/getdelim_impl.h
+59-0libc/test/src/stdio/CMakeLists.txt
+41-0libc/src/stdio/generic/CMakeLists.txt
+41-0libc/src/stdio/generic/getline.cpp
+1,124-07 files not shown
+1,168-013 files

LLVM/project 5ae4fd6 — llvm/lib/Target/RISCV RISCVCombine.td, llvm/lib/Target/RISCV/GISel RISCVPostLegalizerCombiner.cpp

[RISCV][GlobalISel] Combine byte-spreading operations to orc.b (#240276)

Recognize byte-spreading shift/subtract patterns in the RISC-V
GlobalISel post-legalizer combiner and fold them to orc.b when
Zbb is enabled.
DeltaFile
+1,166-0llvm/test/CodeGen/RISCV/GlobalISel/orc-b-combine.mir
+357-0llvm/test/CodeGen/RISCV/GlobalISel/orc-b-patterns-rv64.ll
+220-0llvm/test/CodeGen/RISCV/GlobalISel/orc-b-patterns-rv32.ll
+52-0llvm/lib/Target/RISCV/GISel/RISCVPostLegalizerCombiner.cpp
+9-1llvm/lib/Target/RISCV/RISCVCombine.td
+1,804-15 files

LLVM/project f9e4b65 — flang/lib/Semantics check-omp-loop.cpp

Update version handling
DeltaFile
+1-1flang/lib/Semantics/check-omp-loop.cpp
+1-11 files

LLVM/project 46a2c97 — flang/lib/Semantics check-omp-loop.cpp

[flang][OpenMP] Simplify check for DISTRIBUTE/LINEAR restriction, NFC

Use `CollectAffectedDoLoops` instead of traversing the loop nest by hand.
DeltaFile
+7-31flang/lib/Semantics/check-omp-loop.cpp
+7-311 files

LLVM/project aff0644 — llvm/include/llvm/CodeGen LiveIntervals.h, llvm/lib/CodeGen LiveIntervals.cpp

CodeGen: Simplify def segment extension in shrinkToUses

During extendSegmentsToUses, Segments holds only one def segment per
value, and none extend past their block. Live-in segments are kept
separately in LiveIns. To extend a def to a use, find the last segment
starting before the use, check that it starts in the use's block, and
move its end to the use. This replaces extendInBlock, whose general
search and merging of overlapped segments never applies here.

Also combine the per-block live-out and live-in tables into one struct.

llc instructions:u:
  CTMark x86_64: -0.07%
  CTMark arm64:  -0.10%
  AMDGPU sample: -0.27%

Largest AMDGPU improvements:
  rocprim warp_sort (gfx1100):                    -1.89%
  rocsolver stedc (gfx942):                       -1.70%

    [5 lines not shown]
DeltaFile
+25-26llvm/lib/CodeGen/LiveIntervals.cpp
+14-8llvm/include/llvm/CodeGen/LiveIntervals.h
+39-342 files

LLVM/project 99b8421 — llvm/include/llvm/CodeGen LiveIntervalCalc.h LiveInterval.h, llvm/lib/CodeGen LiveIntervalCalc.cpp LiveIntervals.cpp

CodeGen: Create register unit dead defs in slot order (#242577)

computeRegUnitRange created dead defs in use list order, so each one
was inserted into the middle of the segment vector. To avoid the
quadratic cost, every register unit range was built through a std::set
of segments, costing a heap allocation per segment.

Sort the def slots first and append the dead defs in order instead,
and remove the segment set, since register units were its only user.
This also shrinks LiveRange by a pointer.

llc instructions:u:
  CTMark x86_64:                    -0.42%
  CTMark arm64:                     -0.32%
  Largest AMDGPU lit tests, gfx942: -0.24%

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+0-86llvm/lib/CodeGen/LiveInterval.cpp
+10-15llvm/lib/CodeGen/LiveIntervals.cpp
+1-21llvm/include/llvm/CodeGen/LiveInterval.h
+0-12llvm/lib/CodeGen/LiveIntervalCalc.cpp
+0-5llvm/include/llvm/CodeGen/LiveIntervalCalc.h
+11-1395 files

LLVM/project ff91cf9 — utils/bazel/llvm-project-overlay/libc BUILD.bazel, utils/bazel/llvm-project-overlay/libc/hdr BUILD.bazel

[bazel] Add subpackage for libc/include
DeltaFile
+2-488utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+483-1utils/bazel/llvm-project-overlay/libc/include/BUILD.bazel
+146-146utils/bazel/llvm-project-overlay/libc/src/__support/math/BUILD.bazel
+35-35utils/bazel/llvm-project-overlay/libc/test/include/BUILD.bazel
+30-30utils/bazel/llvm-project-overlay/libc/hdr/types/BUILD.bazel
+19-19utils/bazel/llvm-project-overlay/libc/hdr/BUILD.bazel
+715-71914 files not shown
+745-74920 files

LLVM/project 70d219a — utils/bazel/llvm-project-overlay/libc libc_build_rules.bzl BUILD.bazel, utils/bazel/llvm-project-overlay/libc/hdr BUILD.bazel

[bazel] Add subpackage for libc/include
DeltaFile
+184-0utils/bazel/llvm-project-overlay/libc/include/BUILD.bazel
+0-176utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+5-5utils/bazel/llvm-project-overlay/libc/libc_build_rules.bzl
+1-1utils/bazel/llvm-project-overlay/libc/hdr/BUILD.bazel
+190-1824 files

LLVM/project f5221d4 — utils/bazel/llvm-project-overlay/libc BUILD.bazel, utils/bazel/llvm-project-overlay/libc/config BUILD.bazel

[bazel] Add subpackage for libc/config

Generated by:
```
bazel-move-targets move       --workspace_root=utils/bazel/llvm-project-overlay       --src_package=libc       --dst_package=libc/config --rename_strip_package_prefix=config_
```
DeltaFile
+42-0utils/bazel/llvm-project-overlay/libc/config/BUILD.bazel
+0-32utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+2-2utils/bazel/llvm-project-overlay/libc/startup/linux/BUILD.bazel
+2-2utils/bazel/llvm-project-overlay/libc/src/__support/threads/BUILD.bazel
+1-1utils/bazel/llvm-project-overlay/libc/startup/linux/x86_64/BUILD.bazel
+1-1utils/bazel/llvm-project-overlay/libc/src/stdlib/BUILD.bazel
+48-386 files

LLVM/project 02007e3 — utils/bazel/llvm-project-overlay/flang-rt BUILD.bazel, utils/bazel/llvm-project-overlay/libc BUILD.bazel

[bazel] Add subpackage for libc/shared

Generated with:

  bazel-move-targets move \
      --workspace_root=utils/bazel/llvm-project-overlay \
      --src_package=libc \
      --dst_package=libc/shared \
      --rename_strip_package_prefix=shared_ \
      --extra_names=shared_libcxx_headers_hdrs \
      --alias_targets=shared_math_headers_for_apfloat

followed by one manual fix-up: `includes = ["."]` -> `includes = [".."]` on
math_headers_for_apfloat, since `includes` is package-relative.
DeltaFile
+157-0utils/bazel/llvm-project-overlay/libc/shared/BUILD.bazel
+4-143utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+3-3utils/bazel/llvm-project-overlay/libc/src/math/BUILD.bazel
+3-3utils/bazel/llvm-project-overlay/flang-rt/BUILD.bazel
+1-1utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+168-1505 files

LLVM/project 680f251 — utils/bazel/llvm-project-overlay/libc BUILD.bazel, utils/bazel/llvm-project-overlay/libc/src/math BUILD.bazel

[bazel] Consistently use shared_{label} naming convention for libc/shared/
DeltaFile
+15-4utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+3-3utils/bazel/llvm-project-overlay/libc/src/math/BUILD.bazel
+18-72 files

LLVM/project 490d46e — utils/bazel/llvm-project-overlay/libc/test/src/__support/net BUILD.bazel

[Bazel] Fixes 38ff8f3 (#243138)

This fixes 38ff8f3dcf9f59c85db3f3cdc313acbf1ecc432c (#243122).

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds?commit=38ff8f3dcf9f59c85db3f3cdc313acbf1ecc432c

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+0-4utils/bazel/llvm-project-overlay/libc/test/src/__support/net/BUILD.bazel
+0-41 files

FreeBSD/ports c46aca6 — mail/vandelay Makefile Makefile.crates

mail/vandelay: Update 1.0.16 => 1.1.0

Changelog:
https://github.com/stalwartlabs/vandelay/blob/v1.1.0/CHANGELOG.md

PR:             300819
Approved by:    osa, vvd (mentors, implicit)
DeltaFile
+99-99mail/vandelay/distinfo
+48-48mail/vandelay/Makefile.crates
+1-1mail/vandelay/Makefile
+148-1483 files