LLVM/project a070233 — lld/ELF LTO.cpp, lld/test/ELF/lto basic-block-sections-missing.ll

[lld][ELF]: Fix crash when a basic-block sections profile doesn't exist (#226522)

I ran into this crash while linking ONNX Runtime with ThinLTO after
passing a nonexistent path to `--lto-basic-block-sections`. lld reported
that it could not open the profile, but then crashed instead of exiting
with an error.

The failed read leaves `BBSectionsFuncListBuf` null, but `createConfig`
still sets `BBSections` to `List`. The LTO backend then constructs a
basic-block sections profile reader with that null buffer.

This change enables `List` mode only after the profile has been read
successfully, leaving the existing error reporting in place.

The regression test uses a minimal `_start` definition and a nonexistent
profile path to cover both full LTO and ThinLTO.

AI assistance: LLM-aided investigation and testing
DeltaFile
+14-0lld/test/ELF/lto/basic-block-sections-missing.ll
+1-1lld/ELF/LTO.cpp
+15-12 files

LLVM/project bcd5966 — flang/include/flang/Optimizer/Dialect FIROpsSupport.h, flang/lib/Lower Bridge.cpp

[flang] Trust the lowering symbol table in the FirOpBuilder lookups (#232678)

Lowering's `FirOpBuilder::getNamedGlobal` / `getNamedFunction` (and
`fir::createFuncOp`, `createGlobalOp`, `lookupTypeInfoOp`) fall back to
a linear `ModuleOp::lookupSymbol` walk whenever the bridge's
`mlir::SymbolTable` misses, and every new global is a miss. For a unit
that reaches N derived types (about 25 `linkonce_odr` type-info globals
each), lowering walks the module once per global: O(N^2) again, after
#232555 removed the larger codegen term.

The fallback existed because the table was not complete:
`fir::createFuncOp` took it by const pointer and never inserted the
function it created, so every runtime, intrinsic and procedure
declaration bypassed it, and three sites in OpenACC/OpenMP lowering
created `func.func` directly. This PR makes the table complete (creation
helpers insert what they create; the direct creations register through a
new `fir::registerSymbol`, which never renames on a clash; the sham
function of `createBuilderOutsideOfFuncOpAndDo` is erased through the
table) and then lets the lookups trust it. Under `EXPENSIVE_CHECKS`

    [3 lines not shown]
DeltaFile
+26-25flang/lib/Optimizer/Builder/FIRBuilder.cpp
+33-14flang/lib/Optimizer/Dialect/FIROps.cpp
+19-6flang/include/flang/Optimizer/Dialect/FIROpsSupport.h
+24-0flang/test/Lower/duplicate-global-identifier.f90
+10-5flang/lib/Lower/Bridge.cpp
+8-3flang/lib/Optimizer/Support/Utils.cpp
+120-535 files not shown
+136-6711 files

LLVM/project 145cd8a — llvm/lib/Target/AArch64 AArch64ISelLowering.cpp AArch64SVEInstrInfo.td, llvm/test/CodeGen/AArch64 sve-intrinsics-and-not.ll

[AArch64][llvm] Combine SVE AND-NOT operations into BIC for _x forms (#232526)

Replace `not` followed by `and` with `bic` for expressions such as:
```
  return svand_u32_x(svptrue_b32(), a, svnot_u32_x(svptrue_b32(), b));
```
Combine ordinary `and` with `not` when the `not` predicate is all-active
or its inactive values are undefined.

Also combine matching-predicate SVE `and_x`-`not` pairs before lowering
discards the `and` predicate. `and_x` ignores inactive results, so the
`not`'s inactive values do not need preserving.

This applies to all integer element widths. Update the pre-commit LLVM
expectations, including cases where combining would change the
result.
DeltaFile
+38-169llvm/test/CodeGen/AArch64/sve-intrinsics-and-not.ll
+57-0llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
+2-2llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+97-1713 files

LLVM/project 0a6c7b2 — llvm/lib/Target/AArch64 AArch64SVEInstrInfo.td, llvm/test/CodeGen/AArch64 sve-intrinsics-and-not.ll

[AArch64][llvm] Combine SVE AND-NOT operations into BIC for _m forms (#232527)

Replace `not` followed by merging `and` with `bic` for expressions such
as:
```
  return svand_u32_m(pg, a, svnot_u32_x(pg, b));
```
Combine when `not` is the second operand and its predicate matches the
`and` predicate or is all-active.

Use predicated `bic` to preserve the `and`'s first operand in inactive
lanes. Use unpredicated `bic` when the `and` predicate is all-active.

Do not commute merging `and` operands, since this would change inactive
results. Leave pairs with incompatible predicates unchanged.

This applies to all integer element widths. Update the pre-commit LLVM
expectations, including cases where combining would change the
result.
DeltaFile
+12-48llvm/test/CodeGen/AArch64/sve-intrinsics-and-not.ll
+20-0llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
+32-482 files

LLVM/project 2cd4242 — llvm/test/CodeGen/AArch64 sve-intrinsics-and-not.ll

[AArch64][llvm] NFC: Add pre-commit tests for SVE AND-NOT combining (#232525)

Add LLVM tests for expressions where NOT followed by AND could
use BIC. Record the existing assembly so the following changes show the
missed optimisations being fixed.

Cover _x and _m AND forms using all-active and runtime predicates. Test
_m forms across all integer element widths. Include NOT with defined
inactive values and reversed AND operands.

Also test cases that must remain as NOT followed by AND because
combining would change the values in inactive lanes.
DeltaFile
+462-0llvm/test/CodeGen/AArch64/sve-intrinsics-and-not.ll
+462-01 files

LLVM/project 9ff9476 — llvm/lib/Transforms/Utils InlineFunction.cpp

[InlineFunction] Simplify lifetime intrinsic check (NFC) (#235681)

The pointer type check always passes since the opaque pointers
migration. Additionally, we nowadays require that lifetime
intrinsics are direct users of the alloca.
DeltaFile
+1-28llvm/lib/Transforms/Utils/InlineFunction.cpp
+1-281 files

FreeBSD/src ae99c82 — usr.bin/locate/locate locate.1

locate.1: clarify bytes vs. characters

The database stores bytes, not characters. Remove the historical
note about 7-bit storage. Also document that -i ignores case only
for ASCII letters.

Reviewed by: ziaee
MFC after: 3 days

(cherry picked from commit a03b051f238eb78cfccbe834b0cc206e66d566e5)
DeltaFile
+12-9usr.bin/locate/locate/locate.1
+12-91 files

LLVM/project a938710 — libc/src/__support/OSUtil/linux/syscall_wrappers CMakeLists.txt epoll_pwait2.h, libc/src/sys/epoll/linux epoll_pwait2.cpp CMakeLists.txt

[libc] Use a syscall wrapper for
DeltaFile
+40-23utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+42-0libc/src/__support/OSUtil/linux/syscall_wrappers/epoll_pwait2.h
+18-18libc/src/sys/epoll/linux/CMakeLists.txt
+7-15libc/src/sys/epoll/linux/epoll_pwait2.cpp
+16-0libc/src/__support/OSUtil/linux/syscall_wrappers/CMakeLists.txt
+123-565 files

FreeBSD/src 4b0fb44 — usr.bin/find find.1

find.1: rewrite the -s flag section for clarity

Restructure the description of -s flag:
1. what the option does
2. why it is useful (deterministic order, streaming output)
3. how its results can differ from `find | sort'

Reviewed by: ziaee
MFC after: 3 days

(cherry picked from commit ad0f86694157c998fec500e9a553550976cbc100)
DeltaFile
+31-10usr.bin/find/find.1
+31-101 files

LLVM/project bdabd18 — llvm/lib/Target/AArch64 AArch64AsmPrinter.cpp AArch64InstrAtomics.td, llvm/test/CodeGen/AArch64 rcpc3.ll

[AArch64] Support FP atomic stores with memory hints

This patch extends the atomic-store-hint pseudos to accept preserved
floating-point atomic stores. It adds an FPR16 pseudo family and direct
half, bfloat, float, and double patterns for the supported addressing
modes.

The pseudos expand relaxed stores to STR and RCPC3 release and
sequentially consistent stores to STLUR, retaining memory hints without
cross-register-bank copies.

The existing AArch64::ATOMIC_STORE_HINT_H is renamed to
AArch64::ATOMIC_STORE_HINT_HH and AArch64::ATOMIC_STORE_HINT_H now means
FP16 instead of it's old association with integer half-word.
DeltaFile
+145-0llvm/test/CodeGen/AArch64/rcpc3.ll
+65-6llvm/lib/Target/AArch64/AArch64InstrAtomics.td
+43-11llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
+8-24llvm/test/CodeGen/AArch64/Atomics/aarch64-relaxed-store-hint.ll
+2-6llvm/test/CodeGen/AArch64/Atomics/aarch64-atomic-store-hint.ll
+4-4llvm/test/CodeGen/AArch64/Atomics/atomic-store-pseudo.mir
+267-512 files not shown
+273-588 files

FreeBSD/src 50bc1b8 — usr.bin/find find.1

find.1: fix rendering of find -s example

The period here is part of the literal string in the example.  Adding a
space caused the example to be quoted wrongly.  Instead, a trailing
zero-width space keeps the linter mandoc -T happy.

Reviewed by:    ziaee
Differential Revision:  https://reviews.freebsd.org/D59353

(cherry picked from commit 3581b6db62b1a2146014b3196f18bde3fc33010d)
DeltaFile
+2-2usr.bin/find/find.1
+2-21 files

LLVM/project fda1a29 — llvm/lib/Target/AArch64 AArch64ISelLowering.cpp AArch64InstrAtomics.td, llvm/test/CodeGen/AArch64 rcpc3.ll atomic-fp-cast.ll

[AArch64] Support direct RCPC3 FP atomic loads and stores

Preserve half, bfloat, float, and double atomic loads and stores
through AtomicExpand for acquire and release orderings, and preserve
sequentially consistent stores, when RCPC3 and NEON are available.

Add SelectionDAG patterns for the RCPC3 LDAPUR and STLUR operations,
including unscaled offsets, and update the existing FP lane patterns to
match the preserved floating-point atomic nodes. Targets without the
required features continue to use integer lowering.
DeltaFile
+182-0llvm/test/CodeGen/AArch64/atomic-fp-store.ll
+118-0llvm/test/CodeGen/AArch64/atomic-fp-load.ll
+65-8llvm/lib/Target/AArch64/AArch64InstrAtomics.td
+45-5llvm/test/CodeGen/AArch64/atomic-fp-cast.ll
+20-12llvm/test/CodeGen/AArch64/rcpc3.ll
+9-0llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+439-256 files

LLVM/project cc957f6 — llvm/lib/Target/AArch64 AArch64ISelLowering.cpp AArch64InstrAtomics.td, llvm/test/CodeGen/AArch64 sincos-stack-slots.ll v8.4-atomic.ll

[AArch64] Support direct relaxed FP atomic loads and stores

This patch preserves half, bfloat, float, and double atomic loads and
stores through AtomicExpand when they use unordered or monotonic
ordering and the target supports floating point.

It adds SelectionDAG patterns that select the accesses directly in the
floating-point register bank. Unsupported targets, stronger orderings,
and stores carrying memory hints continue to use integer lowering but
will be handled in the subsequent PRs.
DeltaFile
+156-52llvm/lib/Target/AArch64/AArch64InstrAtomics.td
+60-16llvm/test/CodeGen/AArch64/relaxed-fp-atomics.ll
+68-0llvm/test/CodeGen/AArch64/atomic-fp-cast.ll
+41-0llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+8-8llvm/test/CodeGen/AArch64/v8.4-atomic.ll
+3-4llvm/test/CodeGen/AArch64/sincos-stack-slots.ll
+336-801 files not shown
+340-807 files

LLVM/project 2b28804 — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

[SLP] NFC: make candidate state ownership explicit

Separate the state for the currently owned SLP graph from the graph state
used by dependency analysis, costing and emission. Keep these in private
CandidateState and SharedGraphState members of BoUpSLP.

Centralize candidate reset after scheduler invalidation, clear shared
observers before destroying graph entries, and verify ownership under
EXPENSIVE_CHECKS. Preserve existing reset boundaries and vectorization
behavior.

Assisted-by: codex
DeltaFile
+1,594-1,273llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+1,594-1,2731 files

LLVM/project c70802e — libc/src/__support/OSUtil/linux/syscall_wrappers CMakeLists.txt epoll_create1.h, libc/src/sys/epoll/linux CMakeLists.txt epoll_create1.cpp

[libc] Use a syscall wrapper for `epoll_create1` (#234907)

This PR move `epoll_create1` behind the centralized syscall wrappers,
following `libc/docs/dev/syscall_wrapper_refactor.md`.
DeltaFile
+34-0libc/src/__support/OSUtil/linux/syscall_wrappers/epoll_create1.h
+16-1utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+5-10libc/src/sys/epoll/linux/epoll_create1.cpp
+12-0libc/src/__support/OSUtil/linux/syscall_wrappers/CMakeLists.txt
+4-2libc/src/sys/epoll/linux/CMakeLists.txt
+71-135 files

LLVM/project f92cdb0 — flang/test/Semantics case02.f90 cmp-relational-char-kinds.f90

Tests for Gemini's false alarms
DeltaFile
+69-0flang/test/Semantics/cmp-relational-char-kinds.f90
+61-0flang/test/Semantics/case02.f90
+130-02 files

LLVM/project 834ef8c — flang/include/flang/Evaluate expression.h constant.h, flang/include/flang/Semantics tools.h

Gemini suggestions

Dead code found by Gemini 4

Restore matching ValType

Additionl kind CHECKs
DeltaFile
+14-9flang/include/flang/Evaluate/match.h
+0-14flang/include/flang/Semantics/tools.h
+9-0flang/include/flang/Evaluate/constant.h
+1-3flang/lib/Lower/Support/Utils.cpp
+2-2flang/include/flang/Evaluate/expression.h
+3-0flang/tools/object-size-probe/CMakeLists.txt
+29-283 files not shown
+34-319 files

NetBSD/pkgsrc LyutmNz — doc CHANGES-2026

   doc: Added www/chawan version v0.5.1
VersionDeltaFile
1.7322+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc aWNP5pr — doc CHANGES-2026

   doc: Added editors/vis-editor version 0.9
VersionDeltaFile
1.7321+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc vRV4QbC — editors Makefile

   editors/Makefile: + vis-editor
VersionDeltaFile
1.272+2-1editors/Makefile
+2-11 files

NetBSD/pkgsrc E8iRhIF — editors/vis-editor distinfo DESCR

   editors/vis-editor: import vis-editor-0.9

   Packaged for wip by arcathrax, Manuel Kuklinski, pin, leot, Silas, and
   Eric Garver.

   Vis aims to be a modern, legacy free, simple yet efficient vim-like editor.

   The intention is not to be bug for bug compatible with vim, instead a similar
   editing experience should be provided. The goal could thus be summarized as
   "80% of vim's features implemented in roughly 1% of the code".
VersionDeltaFile
1.1+187-0editors/vis-editor/PLIST
1.1+67-0editors/vis-editor/Makefile
1.1+5-0editors/vis-editor/distinfo
1.1+5-0editors/vis-editor/DESCR
+264-04 files

NetBSD/pkgsrc-wip 7db7920 — . Makefile, vis-editor distinfo DESCR

vis-editor: remove, imported to pkgsrc/editors
DeltaFile
+0-187vis-editor/PLIST
+0-67vis-editor/Makefile
+0-5vis-editor/distinfo
+0-5vis-editor/DESCR
+0-1Makefile
+0-2655 files

FreeBSD/src 13d222b — share/man/man3 pthread_signals_block_np.3 stdbit.3

manpages: Fix unusual Xr order
DeltaFile
+14-14share/man/man3/stdbit.3
+2-2share/man/man3/pthread_signals_block_np.3
+16-162 files

LLVM/project 6c11ea9 — clang/include/clang/StaticAnalyzer/Core/PathSensitive APSIntType.h, clang/lib/StaticAnalyzer/Core SimpleSValBuilder.cpp

[analyzer] Remove questionable assertions in tryRearrange (#234624)

The `tryRearrange` logic in `SimpleSValBuilder.cpp` has asserted that if
a `SymIntExpr` reaches this point (as an operand of the expression that
is being rearranged), then its RHS (a concrete `APSInt`) has the same
type as the symbolic LHS.

This commit replaces these assertions with a defensive early return.

I did not observe any failure of these assertions; tests in
`svalbuilder-rearrange-comparisons.cpp` validate that they are not
triggered by some natural candidates, e.g. handling `x - 1U` where `x`
is a symbolic integer.

However, this is not a general invariant of all `SymIntExpr` instances
(there are 50+ LIT tests where one argument of `evalBinOpNN` is a
`SymIntExpr` where the types of the LHS and RHS are different) and there
isn't any concrete reason that would filter out mixed-type `SymIntExpr`s
before the `tryRearrange` logic, so the assertion isn't justified.

    [12 lines not shown]
DeltaFile
+4-6clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp
+2-0clang/include/clang/StaticAnalyzer/Core/PathSensitive/APSIntType.h
+6-62 files

FreeBSD/ports 5c0070d — databases/casstcl Makefile distinfo

databases/casstcl: update to 2.17.0

Release notes: https://github.com/flightaware/casstcl/releases/tag/v2.17.0
DeltaFile
+3-3databases/casstcl/distinfo
+1-1databases/casstcl/Makefile
+4-42 files

LLVM/project aed6a9c — llvm/docs AMDGPUUsage.rst, llvm/test/CodeGen/NVPTX store-sm60.ll load-sm70.ll

Rebase, address comments

Created using spr 1.3.7
DeltaFile
+22,584-0llvm/test/CodeGen/NVPTX/load-sm90.ll
+0-22,223llvm/docs/AMDGPUUsage.rst
+21,644-0llvm/test/CodeGen/NVPTX/store-sm90.ll
+20,068-0llvm/test/CodeGen/NVPTX/load-sm60.ll
+19,684-0llvm/test/CodeGen/NVPTX/load-sm70.ll
+19,088-0llvm/test/CodeGen/NVPTX/store-sm60.ll
+103,068-22,2235,736 files not shown
+476,828-164,8885,742 files

FreeBSD/ports 195164e — x11-wm/e16 Makefile distinfo

x11-wm/e16: update to 1.0.32

Release notes:
https://sourceforge.net/p/enlightenment/mailman/message/59384329/
DeltaFile
+3-3x11-wm/e16/distinfo
+1-1x11-wm/e16/Makefile
+4-42 files

LLVM/project 98413f4 — clang/include/clang/StaticAnalyzer/Core/PathSensitive CheckerContext.h, clang/lib/StaticAnalyzer/Checkers DereferenceChecker.cpp BasicObjCFoundationChecks.cpp

[NFC][analyzer] Replace `CheckerContext::generateSink` with `addSink` (#234351)

This change generalizes `addSink` to match the signature and behavior of
`generateSink` (but with comfortable default values for all three
parameters), then replaces use of `generateSink` with `addSink` and
deletes `generateSink`. Textually replacing `generateSink` with
`addSink` is a correct way to update downstream checkers; but it is
often possible to remove arguments that were mandatory for
`generateSink` but match the defaults of `addSink`.

This change was motivated by the fact that `CheckerContext` had three
sink-making methods (`generateSink`, `addSink` and `generateErrorNode`)
which all do the same thing and cause lots of confusion with their
separate existence. They all had their advantages and drawbacks:
- `generateErrorNode` is the most widespread (85 uses in checkers), but
it cannot be THE sink-making function, because the name is not suitable
for the dozens of cases where the sink is not used for an "error" (bug
report). It also creates the unfortunate illusion that "error nodes" are
somehow different from regular nodes.

    [17 lines not shown]
DeltaFile
+21-27clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h
+3-3clang/www/analyzer/checker_dev_manual.html
+3-3clang/lib/StaticAnalyzer/Checkers/NoReturnFunctionChecker.cpp
+3-3clang/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp
+2-2clang/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp
+2-2clang/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp
+34-404 files not shown
+38-4410 files

NetBSD/pkgsrc-wip 4938d93 — . Makefile, chawan distinfo DESCR

chawan: remove, imported to pkgsrc/www/chawan
DeltaFile
+0-45chawan/PLIST
+0-31chawan/Makefile
+0-6chawan/DESCR
+0-5chawan/distinfo
+1-1Makefile
+1-885 files

LLVM/project ddde6fc — llvm/test/Transforms/SLPVectorizer/X86 loads-from-single-predecessor.ll

[SLP][NFC]Add a test with several loads in different blocks, NFC



Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/235688
DeltaFile
+98-0llvm/test/Transforms/SLPVectorizer/X86/loads-from-single-predecessor.ll
+98-01 files