NetBSD/pkgsrc wRzVER6 — www/horde Makefile

   horde: remove second apache.mk inclusion
VersionDeltaFile
1.92+1-2www/horde/Makefile
+1-21 files

LLVM/project 1d0a942 — llvm/lib/Transforms/Vectorize VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize interleave_uncountable_exits.ll

[VPlan] Move extract-lane(0, canWideIV) combine before unrolling

Some extract-lane combines can't be performed before unrolling, e.g. the one that combines it to Instruction::ExtractElement can end up extracting from a different part. But the extract-lane(0, canWideIV) can because at index 0 you're always extracting from the first part. Do this before unrolling, which improves codegen of unrolled code.
DeltaFile
+171-5llvm/test/Transforms/LoopVectorize/AArch64/early_exit_with_stores_neon.ll
+16-24llvm/test/Transforms/LoopVectorize/VPlan/early_exit_with_stores_vplan.ll
+4-12llvm/test/Transforms/LoopVectorize/interleave_uncountable_exits.ll
+6-6llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+197-474 files

LLVM/project de4b4e6 — llvm/test/Transforms/LoopVectorize/AArch64 early_exit_with_stores_neon.ll

Precommit test
DeltaFile
+49-0llvm/test/Transforms/LoopVectorize/AArch64/early_exit_with_stores_neon.ll
+49-01 files

NetBSD/pkgsrc K05VmHQ — devel/gdbus-codegen distinfo, devel/glib2 Makefile.common distinfo

   glib2: updated to 2.90.2

   2.90.2
   * Various security fixes
   * Bugs fixed
VersionDeltaFile
1.173+9-9devel/glib2/PLIST
1.2+9-8devel/glib2/patches/patch-gio_tests_socket-address.c
1.354+5-5devel/glib2/distinfo
1.66+4-4devel/gdbus-codegen/distinfo
1.136+2-2devel/glib2/Makefile.common
1.9+1-2devel/glib2-introspection/Makefile
+30-306 files

LLVM/project 85f7ef2 — llvm/lib/Transforms/Vectorize VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize early-exit-tail-folding.ll

[VPlan] Remove header masks whose tail lanes aren't used

Replace a use of header-mask && x with x if the user, transitively
through freeze, logical-and, not and mask.beforefirst(freeze ...), only
reaches masks that are and'ed with the header mask again. The header
mask is a prefix and lane i of mask.beforefirst only depends on lanes
0..i, so the lanes outside of the header mask are never used.

This avoids the i1 vp.merge that EVL tail folding needs for the inner
header mask, e.g. in the early exit mask.beforefirst(freeze(header-mask
&& c)) and in switch default edges.
DeltaFile
+39-0llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+2-4llvm/test/Transforms/LoopVectorize/early-exit-tail-folding.ll
+2-4llvm/test/Transforms/LoopVectorize/RISCV/early_exit_with_stores.ll
+2-4llvm/test/Transforms/LoopVectorize/RISCV/early-exit.ll
+1-2llvm/test/Transforms/LoopVectorize/RISCV/zvl1024b-crash.ll
+46-145 files

LLVM/project cc642fd — llvm/lib/Transforms/Vectorize LoopVectorizationLegality.cpp LoopVectorize.cpp, llvm/test/Transforms/LoopVectorize early_exit_store_legality.ll early-exit-tail-folding.ll

[VPlan] Allow tail folding early exits with side effects

Continues the work in #179595.

This allows us to tail fold e.g. the following loop:

```c
extern char a[1024], b[1024], c[1024], y[1024];
void two_guards(void) {
  for (int i = 0; i < 1000; i++) {
    if (a[i] == 0)
      break;
    if (b[i] > 3) {
      if (c[i] < 9)
        y[i] = 1;
    }
  }
}
```

    [30 lines not shown]
DeltaFile
+40-70llvm/test/Transforms/LoopVectorize/early-exit-tail-folding.ll
+24-41llvm/test/Transforms/LoopVectorize/RISCV/early_exit_with_stores.ll
+18-35llvm/test/Transforms/LoopVectorize/RISCV/early-exit.ll
+24-0llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+0-7llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
+2-2llvm/test/Transforms/LoopVectorize/early_exit_store_legality.ll
+108-1552 files not shown
+111-1578 files

LLVM/project 464de2d — llvm/test/Transforms/LoopVectorize early-exit-tail-folding.ll

Precommit tests
DeltaFile
+214-153llvm/test/Transforms/LoopVectorize/early-exit-tail-folding.ll
+214-1531 files

LLVM/project 419c849 — llvm/lib/Transforms/Vectorize VPlanConstruction.cpp, llvm/test/Transforms/LoopVectorize multiple-early-exits.ll early-exit-tail-folding.ll

[VPlan] Support tail folding uncountable early exits

Enables the first step towards #179595. After #237254, the MaskedHandleExitInVectorLoop early exit style uses the CFG to handle masking for early exit loops. This allows it to compose with tail folding which is also handled via the CFG in #176143.

This allows us to tail fold the following loop:

```c
extern char x[256];
int f(char * restrict y) {
  for (int i = 0; i < 256; i++) {
    if (x[i] == 0)
      return i;
  }
  return -1;
}
```

Into this on RISC-V:


    [18 lines not shown]
DeltaFile
+88-160llvm/test/Transforms/LoopVectorize/RISCV/early-exit-live-out.ll
+77-149llvm/test/Transforms/LoopVectorize/RISCV/early-exit.ll
+54-105llvm/test/Transforms/LoopVectorize/early-exit-tail-folding.ll
+108-16llvm/test/Transforms/LoopVectorize/multiple-early-exits.ll
+20-37llvm/test/Transforms/LoopVectorize/RISCV/sink-to-early-exit.ll
+32-18llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp
+379-4854 files not shown
+411-49310 files

LLVM/project bf3ca8e — llvm/test/Transforms/LoopVectorize early-exit-tail-folding-active-lane-mask.ll early-exit-tail-folding.ll, llvm/test/Transforms/LoopVectorize/RISCV early-exit.ll

Precommit tests
DeltaFile
+552-0llvm/test/Transforms/LoopVectorize/RISCV/early-exit.ll
+524-0llvm/test/Transforms/LoopVectorize/early-exit-tail-folding.ll
+65-0llvm/test/Transforms/LoopVectorize/early-exit-tail-folding-active-lane-mask.ll
+1,141-03 files

LLVM/project 10dfb57 — llvm/lib/Transforms/Vectorize VPlanConstruction.cpp LoopVectorize.cpp

[VPlan] Use vputils::findCanonicalIVIncrement in more places. NFC

In a future patch we want to enable more scenarios with early exits and tail folding. In these scenarios the terminator will no longer be a BranchOnCount/BranchOnCond but a BranchOnTwoConds, so a bunch of canonical IV matchers break. Use vputils::findCanonicalIVIncrement instead since it searches the users of the canonical IV instead of looking at the terminator.
DeltaFile
+7-13llvm/lib/Transforms/Vectorize/VPlanEVLTailFolding.cpp
+2-9llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+2-8llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp
+11-303 files

LLVM/project 2e75744 — llvm/test/Transforms/LoopVectorize early_exit_with_stores.ll

Precommit tests
DeltaFile
+221-0llvm/test/Transforms/LoopVectorize/early_exit_with_stores.ll
+221-01 files

LLVM/project 277de7c — llvm/lib/Transforms/Vectorize VPlan.h VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize early_exit_with_stores.ll

[VPlan] Allow early exit loops with side effects by masking in the vector loop.

When all blocks with side effects are dominated by every early exit, we can vectorize the loop if we mask off any lanes past the exit. We can do this with control flow:

```mermaid
flowchart TD
  header --> exiting
  exiting -->| exit mask | sideeffects --> latch --> latch.split
  exiting -->| !exit mask | latch.split
```

For every early exiting block we add a branch to the latch on `!mask.beforefirst(exitcond)`. This is implemented in UncountableExitStyle::ReadOnly which is now renamed to MaskedHandleExitInVectorLoop.

This is a complementary exit style to MaskedHandleExitInScalarLoop. If any of the side effects aren't dominated by the early exit it still falls back to the scalar loop style, which is why none of the existing early exit side effect tests changed. Masking in loop is profitable for RISC-V and I'm assuming it's also profitable for AArch64 too, but if not then we can add a TTI hook for a preferred exit style.
DeltaFile
+59-76llvm/test/Transforms/LoopVectorize/early_exit_with_stores.ll
+86-33llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+10-9llvm/test/Transforms/LoopVectorize/X86/early_exit_with_stores.ll
+8-7llvm/test/Transforms/LoopVectorize/RISCV/early_exit_with_stores.ll
+5-4llvm/lib/Transforms/Vectorize/VPlan.h
+3-2llvm/unittests/Transforms/Vectorize/VPlanVerifierTest.cpp
+171-1312 files not shown
+176-1338 files

LLVM/project 35be028 — llvm/lib/Transforms/Vectorize VPlanVerifier.cpp VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize predicated-single-exit.ll predicated-early-exits-interleave.ll

[VPlan] Preserve SSA in early exit loops

MaskedCond is used to logically-and the condition to early exit with the current block in-mask. However because we use it in the latch block where the condition isn't defined on all paths, we have to workaround it not being in SSA in the verifier.

This fixes this by using reconstructSSA added in #212209 to preserve SSA in both the exit conditions and live outs in the exit blocks. It also means we get the right exit condition without MaskedCond and allows us to remove the MaskedCond exceptions in the verifier. MaskedCond is still kept since a followup PR will still use it.

One subtle point is that we need to freeze any branch conditions. Any lanes after and including the early exiting lane might contain poison and we can have branches on those poison lanes that didn't we didn't previously branch on in the scalar loop.

There's no miscompile on main today because we coincidentally don't keep SSA so exit conditions are read directly without being polluted by poison stemming from a branch past the early exit. But in this PR the exit conditions are polluted and we can end up with poison in the condition operand of a select, which causes an undefined result for AnyOf even if it freezes its operand. The poison in the branch will also cause problems in future if we decide to preserve uniform control flow and emit branches instead of blends. The exit_cond_merged_after_poison_branch test illustrates this.
DeltaFile
+156-36llvm/test/Transforms/LoopVectorize/predicated-multiple-exits.ll
+24-16llvm/test/Transforms/LoopVectorize/predicated-early-exits-interleave.ll
+26-9llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+1-18llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
+12-6llvm/test/Transforms/LoopVectorize/predicated-single-exit.ll
+219-855 files

LLVM/project 3efbeb1 — llvm/unittests/Transforms/Vectorize VPlanVerifierTest.cpp

Remove old dominance unit test
DeltaFile
+0-18llvm/unittests/Transforms/Vectorize/VPlanVerifierTest.cpp
+0-181 files

LLVM/project 04c8fb1 — llvm/lib/Transforms/Vectorize VPlanPredicator.cpp, llvm/test/Transforms/LoopVectorize uniform-blend.ll select-cmp-blend-chain.ll

[VPlan] Peek through nested phi incoming values in computeBlendMasks
DeltaFile
+495-0llvm/test/Transforms/LoopVectorize/predicator.ll
+389-6llvm/test/Transforms/LoopVectorize/VPlan/predicator.ll
+80-11llvm/lib/Transforms/Vectorize/VPlanPredicator.cpp
+81-0llvm/test/Transforms/LoopVectorize/find-last.ll
+13-3llvm/test/Transforms/LoopVectorize/select-cmp-blend-chain.ll
+3-12llvm/test/Transforms/LoopVectorize/uniform-blend.ll
+1,061-326 files

LLVM/project b7905da — llvm/lib/Transforms/Vectorize VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize blend-i1.ll

[VPlan] Simplify BLEND X/M, false, ..., false -> M && X

If an i1 blend has false for all but one incoming value, then we can simplify this to the one non-false value. Blends by construction never have any overlapping mask values, so we don't need to worry about the order as the masks can't "shortcut" each other.
DeltaFile
+13-0llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+3-8llvm/test/Transforms/LoopVectorize/blend-i1.ll
+16-82 files

LLVM/project 5a0e093 — llvm/test/Transforms/LoopVectorize blend-i1.ll

Precommit tests
DeltaFile
+69-0llvm/test/Transforms/LoopVectorize/blend-i1.ll
+69-01 files

LLVM/project c0bc170 — llvm/lib/Transforms/Vectorize VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize interleave_uncountable_exits.ll

[VPlan] Move extract-lane(0, canWideIV) combine before unrolling

Some extract-lane combines can't be performed before unrolling, e.g. the one that combines it to Instruction::ExtractElement can end up extracting from a different part. But the extract-lane(0, canWideIV) can because at index 0 you're always extracting from the first part. Do this before unrolling, which improves codegen of unrolled code.
DeltaFile
+16-24llvm/test/Transforms/LoopVectorize/VPlan/early_exit_with_stores_vplan.ll
+4-12llvm/test/Transforms/LoopVectorize/interleave_uncountable_exits.ll
+6-6llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+26-423 files

NetBSD/pkgsrc VMNuJth — doc CHANGES-2026

   Updated devel/libffi, misc/py-forbiddenfruit
VersionDeltaFile
1.8410+3-1doc/CHANGES-2026
+3-11 files

NetBSD/pkgsrc kRfsGW3 — misc/py-forbiddenfruit Makefile distinfo

   py-forbiddenfruit: updated to 0.1.5

   0.1.5
   feat: Add support for cursing __next__, __hash__, and __new__
   build: use pytest to run tests and twine for publishing package
   tests: use github ci instead of travis
VersionDeltaFile
1.2+4-4misc/py-forbiddenfruit/distinfo
1.2+2-2misc/py-forbiddenfruit/Makefile
+6-62 files

NetBSD/pkgsrc 7hG4YMP — devel/libffi Makefile distinfo

   libffi: updated to 3.8.2

   3.8.2

   x86-64: reject vector types under the Win64 ABIs on non-Windows
   builds, as documented (GHSA-v9rw-6cxm-q6rf).
   CRIS: reject vector types (GHSA-j9pv-w354-7fg2).
   aarch64: reserve enough stack for large by-value structs mixed
   with 16-byte-aligned arguments (GHSA-wc36-xxj4-cxh5).
   Pass by-value aggregates aligned beyond the stack alignment
   correctly on x86-64, i386, ARM, MIPS, m88k and AArch64
   (GHSA-rwpw-56v4-44r3).
   powerpc64 ELFv2: fix closures overwriting the caller's frame
   with float structs and _Complex arguments
   (GHSA-p8c7-j6j7-h7vg), and stop padding IBM long double
   aggregates (GHSA-34hv-975q-7p7w).
   RISC-V, LoongArch: fix one-float structs passed after the FP
   argument registers run out (GHSA-2xrh-7r9c-rwmf).
   Static trampolines: make the temporary code-table file

    [16 lines not shown]
VersionDeltaFile
1.75+4-4devel/libffi/distinfo
1.64+2-2devel/libffi/Makefile
+6-62 files

LLVM/project dcc0128 — utils/bazel/llvm-project-overlay/llvm BUILD.bazel

[Bazel] Fixes 6e144d9 (#246241)

This fixes 6e144d9372f2169817e07f6a828438ec0880f34f (#223745).

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

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+23-3utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+23-31 files

LLVM/project 77d6721 — flang-rt/unittests/Runtime Namelist.cpp, flang/include/flang/Support Fortran-features.h

[flang] Fix value separators for CHARACTER array output (#205303)

Fixes #192936

Undelimited character values in namelist output might not be readable as
namelist input (F'2018 13.11.4.2 NOTE 1). Emit a warning for namelist
WRITE/PRINT when a group item has CHARACTER data and DELIM= is absent or
'NONE'. DELIM='NONE' runtime output is unchanged, and a runtime test is
added for DELIM='QUOTE' namelist output and read-back.
The warning is enabled by default since the affected users are the ones
who would not opt in; it can be disabled with
-Wno-undelimited-namelist-character.
DeltaFile
+63-0flang/test/Semantics/io20.f90
+43-0flang/lib/Semantics/check-io.cpp
+31-0flang-rt/unittests/Runtime/Namelist.cpp
+3-1flang/lib/Semantics/check-io.h
+2-1flang/include/flang/Support/Fortran-features.h
+3-0flang/unittests/Common/FortranFeaturesTest.cpp
+145-21 files not shown
+146-27 files

HardenedBSD/src 9961669 — contrib/atf/atf-c macros_test.c, sys/amd64/vmm x86.c vmm_cpuid.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+1,100-0sys/amd64/vmm/vmm_cpuid.c
+775-214sys/contrib/zstd/lib/compress/zstd_compress.c
+713-235sys/contrib/zstd/programs/fileio.c
+0-623sys/amd64/vmm/x86.c
+273-282contrib/atf/atf-c/macros_test.c
+439-105sys/contrib/zstd/programs/util.c
+3,300-1,459221 files not shown
+10,824-6,878227 files

NetBSD/src DegGzdt — sys/arch/arm/nxp imx_ccm.h imx_ccm.c

   imx_ccm: check that regidx is mapped; accept same-rate set_rate

   - Reject table entries whose register region is not mapped.
   - For clocks without set_rate, return 0 if the requested rate equals
     the current rate, as clk_set_rate() does; otherwise ENXIO as before.
   - Note that busy_reg must be in the same region as the divider.

   Tested on QEMU mcimx7d-sabre: the clock list is unchanged, a same-rate
   request on a PLL now succeeds (was ENXIO), and an unmapped regidx
   stops attach. Built GENERIC and GENERIC64.
VersionDeltaFile
1.4+11-3sys/arch/arm/nxp/imx_ccm.c
1.4+2-1sys/arch/arm/nxp/imx_ccm.h
+13-42 files

HardenedBSD/ports 6bbd65c — databases/sqlcipher Makefile, databases/sqlcipher/files patch-autosetup_sqlite-config.tcl

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+169-131devel/tuicr/distinfo
+83-64devel/tuicr/Makefile.crates
+33-39editors/fresh/distinfo
+15-18editors/fresh/Makefile.crates
+16-14databases/sqlcipher/files/patch-autosetup_sqlite-config.tcl
+13-12databases/sqlcipher/Makefile
+329-27833 files not shown
+433-35139 files

Linux/linux 25faec9 — drivers/net/ethernet/freescale/dpaa2 dpaa2-eth.c

net: dpaa2-eth: fix objtool warning and logic bug

This commit came about because I locally had a build with COMPILE_TEST
and various runtime hardening features (that don't make sense for a pure
build test anyway) disabled - and objtool complained about some of the
code as a result:

   drivers/net/ethernet/freescale/dpaa2/fsl-dpaa2-eth.o: warning: objtool: dpaa2_eth_add_bufs+0x3f8: stack state mismatch: reg1[15]=-1+0 reg2[15]=-2-208

The reason seems to be that without the hardening features, objtool
notices that gcc is doing really odd things with the 'page' variable,
which is uninitialized in the path where 'ch->xsk_zc' is true.

Now, this seems to be just objtool becoming confused about some ugly
code, but that code is _also_ actively buggy in a different way, so
let's just fix this all.

What confuses objtool seems to be the stack slot for the uninitialized
'page' variable - for the case where that variable isn't actually used.

    [54 lines not shown]
DeltaFile
+12-16drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c
+12-161 files

LLVM/project 6e144d9 — llvm/include/llvm/UBAwareInterpreter Value.h, llvm/lib/UBAwareInterpreter Context.cpp Interpreter.cpp

[llubi] Refactor library into llvm/lib (#223745)

This makes it easier for out-of-tree consumers to use the LLUBI library
for use cases where LLUBI is a good replacement for ExecutionEngine
(e.g., fuzzing workloads).

Part of

https://discourse.llvm.org/t/rfc-delete-executionengine-interpreter/91720.
DeltaFile
+0-3,294llvm/tools/llubi/lib/Interpreter.cpp
+3,294-0llvm/lib/UBAwareInterpreter/Interpreter.cpp
+0-1,388llvm/tools/llubi/lib/Context.cpp
+1,388-0llvm/lib/UBAwareInterpreter/Context.cpp
+514-0llvm/include/llvm/UBAwareInterpreter/Value.h
+0-511llvm/tools/llubi/lib/Value.h
+5,196-5,19317 files not shown
+7,115-7,09323 files

HardenedBSD/ports ed10ff7 — databases/sqlcipher Makefile, databases/sqlcipher/files patch-autosetup_sqlite-config.tcl patch-src_shell.c.in

databases/sqlcipher: Enable editline
DeltaFile
+11-0databases/sqlcipher/files/patch-src_shell.c.in
+8-0databases/sqlcipher/files/patch-autosetup_sqlite-config.tcl
+3-2databases/sqlcipher/Makefile
+22-23 files

FreeBSD/ports ed10ff7 — databases/sqlcipher Makefile, databases/sqlcipher/files patch-autosetup_sqlite-config.tcl patch-src_shell.c.in

databases/sqlcipher: Enable editline
DeltaFile
+11-0databases/sqlcipher/files/patch-src_shell.c.in
+8-0databases/sqlcipher/files/patch-autosetup_sqlite-config.tcl
+3-2databases/sqlcipher/Makefile
+22-23 files