LLVM/project 2eda652llvm/lib/Transforms/Vectorize VectorCombine.cpp, llvm/test/Transforms/VectorCombine/RISCV fold-vp-load.ll

[VectorCombine] Fix foldBitcastOfVPLoad reordering loads (#218336)

We were inserting the new vp.load where the bitcast was, which would
reorder loads. This should hopefully fix RISC-V buildbot failures that
were exposed after 93ac788df8ff
DeltaFile
+14-0llvm/test/Transforms/VectorCombine/RISCV/fold-vp-load.ll
+1-0llvm/lib/Transforms/Vectorize/VectorCombine.cpp
+15-02 files

FreeBSD/ports cf184dfwww/py-django-constance Makefile distinfo

www/py-django-constance: Update 4.3.4 to 4.3.5

* Assume maintainership.

* Switch to the more preferred DISTVERSION.

Changelog:

https://github.com/jazzband/django-constance/releases/tag/4.3.5

PR:             297821
Reported by:    Christos Longros
Co-authored-by: Kai Knoblich <kai at FreeBSD.org>
DeltaFile
+3-3www/py-django-constance/distinfo
+2-3www/py-django-constance/Makefile
+5-62 files

LLVM/project 44da054llvm/lib/Target/RISCV RISCVVectorPeephole.cpp, llvm/test/CodeGen/RISCV/rvv vmerge-peephole.mir

RISCV: Fix VectorPeephole null dereference on an undef vmerge true operand (#218328)

Also since this is an SSA pass, switch to using getVRegDef instead of
getUniqueVRegDef

Co-Authored-By: Claude <noreply at anthropic.com> (Claude Opus 4.8)
DeltaFile
+18-0llvm/test/CodeGen/RISCV/rvv/vmerge-peephole.mir
+4-1llvm/lib/Target/RISCV/RISCVVectorPeephole.cpp
+22-12 files

LLVM/project 64bbf27mlir/lib/Dialect/Vector/IR VectorOps.cpp, mlir/test/Dialect/Vector invalid.mlir

[mlir][vector] Verify multi_reduction reduction dimensions (#216854)

`vector.multi_reduction` does not bounds-check `reduction_dims`.
Out-of-range
entries verify cleanly and then crash the canonicalizer:

```mlir
%0 = vector.multi_reduction <add>, %a, %b [1, 2] : vector<1x4xf16> to vector<1xf16>
```

`getReductionMask()` builds `SmallVector<bool> res(sourceRank)` and
executes
`res[2] = true`. The `[1, -1]` variant indexes `res[(size_t)-1]`.

Reject out-of-range and duplicate dims in the verifier, following
`TransposeOp::verify`. The mask is reused by the shape-inference loop
below.

One existing test is itself the repro: `propagate-layout.mlir` uses `[1,

    [10 lines not shown]
DeltaFile
+24-0mlir/test/Dialect/Vector/invalid.mlir
+12-4mlir/lib/Dialect/Vector/IR/VectorOps.cpp
+7-7mlir/test/Dialect/XeGPU/propagate-layout.mlir
+43-113 files

LLVM/project f644508llvm/lib/Target/RISCV RISCVVLOptimizer.cpp, llvm/test/CodeGen/RISCV/rvv vl-opt-undef-vl.mir

RISCV: Fix VLOptimizer null dereference on an undef slide amount (#218329)

Also since this is an SSA pass, switch from getUniqueVRegDef
to regular getVRegDef.

Co-Authored-By: Claude <noreply at anthropic.com> (Claude Opus 4.8)
DeltaFile
+13-1llvm/test/CodeGen/RISCV/rvv/vl-opt-undef-vl.mir
+2-2llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp
+15-32 files

FreeBSD/src 74019bcsys/netinet tcp_var.h

tcp: cleanup whitespaces

Use tabs consistently in #defines
No functional change intended.

Reported by:    Hannes Elfert
MFC after:      1 week
MFC to:         stable/15
DeltaFile
+3-3sys/netinet/tcp_var.h
+3-31 files

NetBSD/pkgsrc 9XRti8odevel/boost-headers PLIST, devel/boost-libs buildlink3.mk PLIST

   boost: updated to 1.92.0

   1.92.0
   https://www.boost.org/releases/1.92.0/
VersionDeltaFile
1.63+85-6devel/boost-headers/PLIST
1.54+14-3devel/boost-libs/PLIST
1.33+6-5devel/py-boost/Makefile
1.8+5-4devel/boost-mpi/Makefile
1.165+4-4meta-pkgs/boost/distinfo
1.72+3-3devel/boost-libs/buildlink3.mk
+117-257 files not shown
+136-4213 files

LLVM/project 9abe861clang/lib/CodeGen CGCall.cpp, clang/test/CodeGenCXX operator-new.cpp new_hot_cold.cpp

Reapply [Clang] Mark new as inaccessiblememonly if sane (#217652)

Reapply https://github.com/llvm/llvm-project/pull/197199 without changes
after https://github.com/llvm/llvm-project/pull/201375 improved our
errno TBAA reasoning.

-----

If `-fassume-sane-operator-new` (the default), assume that `operator
new` does not read or write accessible memory.

Currently, this assumption already exists due to special treatment in
BasicAA. I'd like to remove this special treatment (see
https://github.com/llvm/llvm-project/pull/197180), and instead rely only
on the `memory` attribute.

It's worth noting that this is consistent with GCC's interpretation of
the flag (where it is also enabled by default):


    [5 lines not shown]
DeltaFile
+9-3clang/lib/CodeGen/CGCall.cpp
+4-4clang/test/CodeGenCXX/new_hot_cold.cpp
+4-2clang/test/CodeGenCXX/operator-new.cpp
+17-93 files

LLVM/project 498e994lldb/source/Expression DWARFExpression.cpp, lldb/unittests/Expression DWARFExpressionTest.cpp

[lldb] Keep DW_OP_call_frame_cfa address-sized (#216684)

`DW_OP_call_frame_cfa` currently constructs a `Scalar` directly from
`lldb::addr_t`. Since `addr_t` is a 64-bit carrier, the result remains
64 bits
when evaluating an expression for a 32-bit target, and subsequent
address
arithmetic does not wrap at the target address width.

Normalize the CFA with the evaluator's existing `to_generic` helper
after it
is pushed. This preserves the existing frame lookup, error handling, and
`LoadAddress` value type while making the scalar use the target address
width.

Add an i386 unit test that verifies both 32-bit address arithmetic and
the
resulting `APSInt` bit width.

Fixes #210980
DeltaFile
+20-0lldb/unittests/Expression/DWARFExpressionTest.cpp
+2-0lldb/source/Expression/DWARFExpression.cpp
+22-02 files

FreeBSD/ports b3172d2math/py-numpy-stl distinfo Makefile, math/py-numpy-stl/files patch-pyproject.toml

math/py-numpy-stl: upgrade to 4.0.0

Releases notes at https://github.com/wolph/numpy-stl/releases

Also:
- add category cad;
- change license to BSD 3 clauses;
- switch to pep517;
- remove cython and strip, and set NO_ARCH.

PR:             297446
Approved by:    db (maintainer)
DeltaFile
+14-12math/py-numpy-stl/Makefile
+9-0math/py-numpy-stl/files/patch-pyproject.toml
+3-3math/py-numpy-stl/distinfo
+26-153 files

LLVM/project e48cebfllvm/lib/Support/Windows Threading.inc

Fix AppVerifier GetThreadId(NULL) error in llvm::thread (#216941)

A recent change (64be34c562a23761dcb48a0a6a0b3ef0576c14c4) brought up a
behaviour change to the way llvm::thread checks if it is joinable. Prior
to the patch, a thread handle is checked if it's valid. The new
behaviour is to query a thread id and check if it's non-zero.

On Windows, the new behaviour means calling GetThreadId(handle) to
retrieve the thread id. This, however, results in errors when the thread
handle is not pointing to any active thread (NULL) and when running
applications under AppVerifier as it reports that a "system function is
called with a NULL handle". For applications using LLVM infrastructure
(in our case it is a MLIR-based compiler), the call stack looks like:
```
vrfcore!VerifierStopMessageEx+0x858
vfbasics!AVrfpHandleSanityChecks+0x3c
vfbasics!AVrfpNtQueryInformationThread+0x46
KERNELBASE!GetThreadId+0x33
my_app!llvm::llvm_thread_get_id_impl

    [22 lines not shown]
DeltaFile
+9-1llvm/lib/Support/Windows/Threading.inc
+9-11 files

LLVM/project a4f7977llvm/lib/CodeGen/GlobalISel IRTranslator.cpp

[GlobalISel] Avoid redundant vreg lookups in IRTranslator (NFC) (#217888)
DeltaFile
+11-10llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
+11-101 files

LLVM/project eac7a73llvm/lib/Target/Mips/AsmParser MipsAsmParser.cpp, llvm/test/MC/Mips macro-la-pic-defined-global.s

[Mips] Use ELF binding when expanding PIC la (#217566)

A symbol already assigned to a section is not necessarily local. Use ELF
symbol binding when expanding PIC `la`, retaining the existing
section-based fallback for non-ELF targets, so defined default-visible
globals use the correct global GOT form.

Adds `llvm/test/MC/Mips/macro-la-pic-defined-global.s` covering global,
local, and `$25` call-register expansions.

Fixes #217371
DeltaFile
+44-0llvm/test/MC/Mips/macro-la-pic-defined-global.s
+5-5llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
+49-52 files

FreeBSD/ports 2204523net/py-amqp distinfo Makefile

net/py-amqp: Update to 5.3.1

Also convert build to PEP 517.

PR:             297795
Approved by:    olgeni (maintainer)
DeltaFile
+7-8net/py-amqp/Makefile
+3-3net/py-amqp/distinfo
+10-112 files

OpenBSD/src Ivw3hacusr.bin/tmux format.c

   Add {} to shell escape characters (special in bash/ksh/csh), GitHub
   issue 5514.
VersionDeltaFile
1.413+2-2usr.bin/tmux/format.c
+2-21 files

FreeBSD/ports 931054awww/code-server Makefile distinfo

www/code-server: Update to 4.133.0

Update to code-server 4.133.0, which bundles VS Code 1.133.0.

Changelog: https://github.com/coder/code-server/releases

Sponsored by:   Netzkommune GmbH
DeltaFile
+835-330www/code-server/pkg-plist
+11-11www/code-server/distinfo
+2-2www/code-server/Makefile
+848-3433 files

LLVM/project d6eb42ellvm/docs/CommandGuide opt.rst

[docs] Document `-mtriple` option in opt command guide (NFC) (#213942)

`-mtriple` option has been supported for a long time, but previously
lacked documentation.
DeltaFile
+5-0llvm/docs/CommandGuide/opt.rst
+5-01 files

FreeBSD/src b92d13asys/netpfil/pf if_pfsync.c, tests/sys/netpfil/pf pfsync.sh

pfsync: handle large MTU pfsync interfaces

pfsync packets were allocated with m_get2(), which can't return packets
larger than MJUMPAGESIZE. As a result 9k MTU pfsync interfaces simply didn't work.

Use m_get3(), which can allocate sufficiently large mbufs.

Extend the pfsync:bulk test case to provoke this problem.

PR:             297307
MFC after:      2 weeks
Sponsored by:   Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 7e2781fdcfdbe489cc07572d33dc36bca06a342d)
DeltaFile
+8-3tests/sys/netpfil/pf/pfsync.sh
+1-1sys/netpfil/pf/if_pfsync.c
+9-42 files

FreeBSD/src ef676ecsys/netpfil/pf if_pfsync.c, tests/sys/netpfil/pf pfsync.sh

pfsync: handle large MTU pfsync interfaces

pfsync packets were allocated with m_get2(), which can't return packets
larger than MJUMPAGESIZE. As a result 9k MTU pfsync interfaces simply didn't work.

Use m_get3(), which can allocate sufficiently large mbufs.

Extend the pfsync:bulk test case to provoke this problem.

PR:             297307
MFC after:      2 weeks
Sponsored by:   Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 7e2781fdcfdbe489cc07572d33dc36bca06a342d)
DeltaFile
+8-3tests/sys/netpfil/pf/pfsync.sh
+1-1sys/netpfil/pf/if_pfsync.c
+9-42 files

LLVM/project eae5a88llvm/include/llvm/Analysis TargetLibraryInfo.h AliasAnalysis.h, llvm/lib/Analysis TargetLibraryInfo.cpp BasicAliasAnalysis.cpp

[BasicAA][TLI] Treat local-linkage globals or known environments as not aliasing errno (#170290)

Errno cannot alias global variables with internal/private-linkage,
neither can it aliases globals on known environments, where errno is
known to be defined as a function call – unless targeting
freestanding/baremetal environments.
DeltaFile
+56-1llvm/test/Transforms/InstCombine/may-alias-errno.ll
+23-3llvm/lib/Analysis/BasicAliasAnalysis.cpp
+16-3llvm/lib/Analysis/TargetLibraryInfo.cpp
+19-0llvm/unittests/Analysis/TargetLibraryInfoTest.cpp
+7-5llvm/include/llvm/Analysis/AliasAnalysis.h
+7-0llvm/include/llvm/Analysis/TargetLibraryInfo.h
+128-124 files not shown
+138-1810 files

OpenBSD/src gTeBBy9usr.bin/tmux window.c

   Do not leak cached status line, from Jeong, Heon.
VersionDeltaFile
1.372+2-1usr.bin/tmux/window.c
+2-11 files

FreeBSD/ports 39b0e93java/javamail distinfo Makefile

java/javamail: use the devel/javax-activation port for dependency

Simplifies the port a little.
Pet portclippy.

Approved by:    ale
Differential Revision:  https://reviews.freebsd.org/D59127
DeltaFile
+8-12java/javamail/Makefile
+1-3java/javamail/distinfo
+9-152 files

OpenBSD/src ohagDr1usr.bin/tmux window.c

   Free pane fallback range when freeing pane, from Jeong, Heon.
VersionDeltaFile
1.371+2-3usr.bin/tmux/window.c
+2-31 files

OpenBSD/src Q2OWj2Tusr.bin/tmux server-client.c

   Do not leak path when destroying client, from Jeong, Heon.
VersionDeltaFile
1.506+2-1usr.bin/tmux/server-client.c
+2-11 files

FreeBSD/ports 6d58c44www/pacparser Makefile distinfo

www/pacparser: Update to 1.5.2
DeltaFile
+3-3www/pacparser/distinfo
+1-1www/pacparser/Makefile
+4-42 files

FreeBSD/ports 9b01030devel/mimalloc Makefile distinfo

devel/mimalloc: Update to 3.5.0
DeltaFile
+3-3devel/mimalloc/distinfo
+1-1devel/mimalloc/Makefile
+4-42 files

OpenBSD/src p4Bet2Jusr.bin/tmux window-tree.c

   Do not leak format when drawing preview, from Jeong, Heon.
VersionDeltaFile
1.95+3-1usr.bin/tmux/window-tree.c
+3-11 files

OpenBSD/src UonrryRusr.bin/tmux cmd-set-buffer.c

   Do not leak buffer name on failure, from Jeong, Heon.
VersionDeltaFile
1.38+6-2usr.bin/tmux/cmd-set-buffer.c
+6-21 files

FreeBSD/ports 79d675daudio/libopenmpt Makefile distinfo

audio/libopenmpt: Update to 0.8.8

PR:             297672
DeltaFile
+3-3audio/libopenmpt/distinfo
+1-1audio/libopenmpt/Makefile
+4-42 files

FreeBSD/ports a1cefdbdevel/py-ty Makefile distinfo, devel/py-ty/files patch-ruff_crates_ty_Cargo.toml

devel/py-ty: Update to 0.0.74

Changelog: https://github.com/astral-sh/ty/blob/0.0.74/CHANGELOG.md

Reported by:    portscout
DeltaFile
+3-3devel/py-ty/distinfo
+1-1devel/py-ty/files/patch-ruff_crates_ty_Cargo.toml
+1-1devel/py-ty/Makefile
+5-53 files