LLVM/project 321945c — llvm/lib/CodeGen/SelectionDAG SelectionDAG.cpp, llvm/test/CodeGen/X86 mask-beforefirst.ll

[DAG] Handle mask_beforefirst in ComputeNumSignBits (#232256)

It has the same sign bits as icmp
DeltaFile
+9-14llvm/test/CodeGen/X86/mask-beforefirst.ll
+1-0llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+10-142 files

LLVM/project c7cae95 — mlir/include/mlir/IR OpDefinition.h, mlir/include/mlir/Support InterfaceSupport.h

[mlir] Reduce template work in operation registration (NFC) (#233051)

Save use 3.18% less user CPU when building LLVM/NVVM/ROCDL, and 0.96%
total user CPU when building mlir-opt. Linked mlir-opt code is 0.60%
smaller.

The main thing is to share no-op helper specializations among traits
that do not define fold, verification, region-verification, or interface
hooks. We also preserve pack order and short-circuiting while removing
the extra interface-pack forwarding instantiation.

Assisted-by: Codex
DeltaFile
+8-19mlir/include/mlir/Support/InterfaceSupport.h
+20-7mlir/include/mlir/IR/OpDefinition.h
+14-0mlir/lib/Support/InterfaceSupport.cpp
+42-263 files

LLVM/project 3e71a15 — libcxxabi CMakeLists.txt

[libc++abi] Retain the old CMP0155 behavior for GCC compatibility (#232803)

Raising the minimum CMake version to 3.31 enables automatic module
dependency scanning for the C++23 libc++abi object libraries. GCC 16 and
17 then probe the libstdc++ bits/stdc++.h header when processing libc++
headers and fail if it is absent.

Set CMP0155 to OLD within libc++abi until GCC's optional header lookup
is fixed. Keep the policy change scoped to libc++abi and guard it for
CMake versions predating the policy.

GCC bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127940

Assisted-by: Codex
DeltaFile
+7-0libcxxabi/CMakeLists.txt
+7-01 files

LLVM/project 56dcf52 — clang/include/clang/CIR/Dialect/IR CIRDialectBytecode.td CIROpenCLAttrs.td, clang/lib/CIR/Dialect/IR CIROpenCLAttrs.cpp CIRDialect.cpp

[CIR][OpenCL] avoid sys/types.h macro issue in OpenCL Attr (#234237)

CIROpsAttributes.cpp.inc would use initializers for this that looked
like function type macros, which were defined for a while in
sys/sysmacros.h. This caused us problems.

This fixes it by renaming these to majorVersion and minorVersion.

I am going to instantly merge this as it'll unblock buildbots for
build-by-default clangir, but if someone would like to rename these
something different, please do. In the meantime this seemed like a
reasonable name.
DeltaFile
+8-4clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+3-3clang/lib/CIR/Dialect/IR/CIROpenCLAttrs.cpp
+3-3clang/include/clang/CIR/Dialect/IR/CIROpenCLAttrs.td
+3-2clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVMOpenCLMetadata.cpp
+2-2clang/include/clang/CIR/Dialect/IR/CIRDialectBytecode.td
+19-145 files

LLVM/project 6b280b4 — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/X86 insertelement-reordered-copyable-operands.ll

[SLP]Fix operand to scalar lane mapping for reordered insert/store nodes

Insertelement/insertvalue and store nodes reorder only operands, so the
scalar for operand lane L is the I with ReorderIndices[I] == L. The
copyable data mapping used ReorderIndices[L] and skipped insertelement
nodes, which assigned the copyable elements to wrong users after the
dependencies are recalculated in the final scheduling.

Fixes https://github.com/llvm/llvm-project/pull/226268#issuecomment-6314083254

Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/234235
DeltaFile
+155-0llvm/test/Transforms/SLPVectorizer/X86/insertelement-reordered-copyable-operands.ll
+12-6llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+167-62 files

LLVM/project cc7fc0d — clang/lib/StaticAnalyzer/Checkers ArrayBoundChecker.cpp, clang/test/Analysis/ArrayBound cplusplus.cpp

[clang][analyzer] Fix for `security.ArrayBound` assertion failure on incomplete types (#231925)

When the check clang-analyzer-security.ArrayBound is enabled, for a
forward declaration, or any incomplete types, it tries to calculate the
offset, which is unknown, therefore can not be calculated, causing the
assertion ElemType cannot be incomplete.

---------

Co-authored-by: Jones, Matthew (DI SW SIM FRWK PLAT SIMFW HPC) <jones.matthew at siemens.com>
DeltaFile
+11-4clang/lib/StaticAnalyzer/Checkers/ArrayBoundChecker.cpp
+9-0clang/test/Analysis/ArrayBound/cplusplus.cpp
+20-42 files

LLVM/project ec03428 — lldb/source/Plugins/SymbolFile/DWARF DWARFASTParserFortran.h DWARFASTParserFortran.cpp, lldb/source/Plugins/TypeSystem/Fortran TypeSystemFortran.h TypeSystemFortran.cpp

Reland: [lldb][Fortran] Added support for base types to DWARFASTParserFortran (#234214)

Relands #223406.
(Reason for the breakage was a UB in DWARFASTParserFortranTests
regarding the initialization of the TypeSystemFortran instance with
`std::call_once`).

This PR adds support for base types to DWARFASTParserFortran, introduces
a method to retrieve the parser from TypeSystemFortran, and adds unit
tests for type parsing.

Changes:

- Added DW_TAG_base_type handling to ParseType.

- Added scope resolution for parsed types.

- Added a method to return the parser from TypeSystemFortran.


    [2 lines not shown]
DeltaFile
+211-0lldb/unittests/SymbolFile/DWARF/DWARFASTParserFortranTests.cpp
+140-4lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserFortran.cpp
+17-1lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserFortran.h
+8-0lldb/source/Plugins/TypeSystem/Fortran/TypeSystemFortran.cpp
+3-0lldb/source/Plugins/TypeSystem/Fortran/TypeSystemFortran.h
+2-0lldb/unittests/SymbolFile/DWARF/CMakeLists.txt
+381-56 files

LLVM/project 4c83058 — clang/lib/Format UnwrappedLineParser.h UnwrappedLineParser.cpp, clang/unittests/Format TokenAnnotatorTest.cpp FormatTest.cpp

[clang-format] Stop treating the new expression as a lambda (#223266)

before

```C++
x = new a *[] { nullptr };
x = new a *[] {
  nullptr, //
      nullptr,
};
```

after

```C++
x = new a *[]{nullptr};
x = new a *[]{
    nullptr, //
    nullptr,

    [6 lines not shown]
DeltaFile
+57-22clang/lib/Format/UnwrappedLineParser.cpp
+30-0clang/unittests/Format/FormatTest.cpp
+10-0clang/unittests/Format/TokenAnnotatorTest.cpp
+3-1clang/lib/Format/UnwrappedLineParser.h
+100-234 files

LLVM/project a29187f — llvm/lib/CodeGen MachineOutliner.cpp, llvm/test/CodeGen/AArch64 machine-outliner-call-debugloc.mir

[MachineOutliner] Attribute outlined calls to their merged call location (#233505)

Every call in a candidate is symbolized at the outlined call, so with
multiple calls, the last call's location can attribute the others to an
inlined callee that was not running. Use the merged location of the
calls instead, as tail merging does. With a single call, the behavior is
unchanged.

Follow-up to llvm/llvm-project#229260.
DeltaFile
+69-4llvm/test/CodeGen/AArch64/machine-outliner-call-debugloc.mir
+18-14llvm/lib/CodeGen/MachineOutliner.cpp
+87-182 files

NextBSD/src 7212ab9 — . build.sh

build.sh: hide NextBSD live-ISO vfs.pivot output unless verbose boot

The pivot's sysctl prints a "vfs.pivot: ... -> ..." line on every
boot, which is the last [init]-phase progress output left on a quiet
NextBSD live-ISO boot. Send its stdout to /dev/null unless VERBOSE is
set. Its stderr still goes to the console, so a failed pivot is still
visible.

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+2-1build.sh
+2-11 files

LLVM/project ec58d49 — clang/test/Driver openacc-no-cir.c

[CIR][OpenACC] add requires to test tofix bots (#234230)
DeltaFile
+1-0clang/test/Driver/openacc-no-cir.c
+1-01 files

LLVM/project 792bf8e — utils/bazel/llvm-project-overlay/flang/lib/Optimizer/OpenACC/Support BUILD.bazel, utils/bazel/llvm-project-overlay/mlir BUILD.bazel

[Bazel] Fixes 092c876 (#234227)

This fixes 092c87674f0f3a2680a4f71e92b41a195dec2c9e (#233103).

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds/201218
DeltaFile
+1-0utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+1-0utils/bazel/llvm-project-overlay/flang/lib/Optimizer/OpenACC/Support/BUILD.bazel
+2-02 files

LLVM/project ed3656a — utils/bazel/llvm-project-overlay/clang/unittests BUILD.bazel

[Bazel] Fixes caa2f91 (#234228)

This fixes caa2f91ebd9755a984a0d671d4b4eeafc1288a3d (#229788).

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds/201218
DeltaFile
+2-0utils/bazel/llvm-project-overlay/clang/unittests/BUILD.bazel
+2-01 files

FreeBSD/ports 0cf8110 — chinese/fcitx5-keykey Makefile pkg-plist

chinese/fcitx5-keykey: update to 1.3.7.
DeltaFile
+3-3chinese/fcitx5-keykey/distinfo
+3-0chinese/fcitx5-keykey/pkg-plist
+1-1chinese/fcitx5-keykey/Makefile
+7-43 files

FreeBSD/doc ce2cc8e — website/content/en/status/report-2026-07-2026-09 fts_openat.adoc

Status/2026Q3/fts_openat.adoc: Add report

Reviewed by:    asomers
Pull Request:   https://github.com/freebsd/freebsd-doc/pull/706
DeltaFile
+18-0website/content/en/status/report-2026-07-2026-09/fts_openat.adoc
+18-01 files

LLVM/project 199dac7 — flang/lib/Semantics check-omp-variant.cpp

format
DeltaFile
+4-2flang/lib/Semantics/check-omp-variant.cpp
+4-21 files

FreeBSD/doc e7bc1f3 — website/content/en/status/report-2026-07-2026-09 bananapi-r64-r2-drivers.adoc

Status/2026Q3/bananapi-r64-r2-r2pro-drivers.adoc: Add report

Pull Request:   https://github.com/freebsd/freebsd-doc/pull/709
DeltaFile
+126-0website/content/en/status/report-2026-07-2026-09/bananapi-r64-r2-drivers.adoc
+126-01 files

LLVM/project 2f4a03f — llvm/lib/Transforms/IPO AttributorAttributes.cpp, llvm/test/Transforms/Attributor constant-vector-store-offset-order.ll

[Attributor] Use sorted offsets for constant vector stores (#231079)

`RangeList` requires strictly increasing offsets. `handleAccess` already
computes `OffsetsSorted`, but the constant-vector store path still
builds its element offsets from the original unsorted set. Use
`OffsetsSorted` here as well so the element offsets satisfy the same
ordering requirement.

When a pointer has multiple possible offsets, iterating over the
original set can produce them out of order, triggering "Expected
strictly ascending offsets". The regression test reproduces this by
storing a constant vector through a pointer selected between two offsets
in the same allocation.

The test asserts before the fix and passes afterward with both
`attributor` and `attributor-cgscc`. All 207 Attributor tests also pass
on Windows with assertions enabled.
DeltaFile
+23-0llvm/test/Transforms/Attributor/constant-vector-store-offset-order.ll
+2-1llvm/lib/Transforms/IPO/AttributorAttributes.cpp
+25-12 files

LLVM/project 294d313 — llvm/include/llvm/IR IRBuilder.h, llvm/lib/IR Core.cpp

[IRBuilder] Deprecate ctors taking LLVMContext instead of Module (#234212)

https://github.com/llvm/llvm-project/pull/229430 introduced new
constructors that take a `Module &` instead of `LLVMContext &` and
replaced most usages. This PR deprecates the old constructors, in
preparation for making the Module required.

The only remaining use of the LLVMContext constructors is the C API.
DeltaFile
+1-3llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+3-1llvm/include/llvm/IR/IRBuilder.h
+2-0llvm/lib/IR/Core.cpp
+6-43 files

FreeBSD/doc c253ef8 — website/content/en/status/report-2026-07-2026-09 enhancing_zoned_storage.adoc

Status/2026Q3/enhancing_zoned_storage.adoc: Add report

Pull Request:   https://github.com/freebsd/freebsd-doc/pull/711
DeltaFile
+41-0website/content/en/status/report-2026-07-2026-09/enhancing_zoned_storage.adoc
+41-01 files

LLVM/project 241a79e — mlir/include/mlir/Dialect/LLVMIR LLVMAttrDefs.td, mlir/lib/Dialect/LLVMIR/Transforms InlinerInterfaceImpl.cpp

[MLIR][LLVMIR] Add 'distinct' ID to the loop-annotate attribute (#233890)

The 'distinctness' of a loop annotation is important and meaningful, and
is used to identify br/br.cond operations that belong to the same
'loop'. The Clang FE tracks this with its classic codegen.

However, mlir is merging identical attributes (which is otherwise a
necessity, since we have no other way of identifying 'same' attributes),
which is causing the final LLVM-IR to be incorrect.

This patch adds a distinct attribute as an 'id' so that an
implementation can identify br/br.cond objects that use the same loop
metadata, and thus will get the 'proper' distinct attributes.
DeltaFile
+49-15mlir/test/Target/LLVMIR/Import/metadata-loop.ll
+34-18mlir/lib/Target/LLVMIR/LoopAnnotationImporter.cpp
+35-0mlir/test/Target/LLVMIR/loop-metadata.mlir
+18-0mlir/test/Dialect/LLVMIR/loop-metadata.mlir
+8-8mlir/lib/Dialect/LLVMIR/Transforms/InlinerInterfaceImpl.cpp
+8-0mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
+152-413 files not shown
+155-439 files

LLVM/project 8371fca — clang/include/clang/StaticAnalyzer/Core/PathSensitive CheckerContext.h

[NFC][analyzer] Remove unused ignored useless parameter (#234167)

The method `CheckerContext::addSink` had a parameter `Tag` which was
never specified by the callers (always defaulted to `nullptr`) and was
ignored by the body of the method.

By the way, I don't see a good use case for attaching a custom tag to a
sink node (they are fine with using the checker as the default tag), so
it is not surprising that this wasn't used.

Note that the other two sink-making methods of `CheckerContext` can
still accept custom tags (which is not utilized).
DeltaFile
+1-3clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h
+1-31 files

LLVM/project c215b26 — llvm/lib/Analysis ScalarEvolution.cpp, llvm/test/Transforms/IndVarSimplify implied-cond-different-signedness.ll

[SCEV] Prove signed/unsigned implications in either operand order

SCEV could prove these implications only with the operands in the same
order:
- If a <u b and a, b have the same sign, then a <s b.
- If a <s b and a, b have the same sign, then a <u b.
- If a <u b and b >=s 0, then a <s b.
- If a <s b and b <s 0, then a <u b.

For example, it proved a <s b from a <u b and b >=s 0, but not b >s a.
Now it proves them in either order.

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+14-14llvm/lib/Analysis/ScalarEvolution.cpp
+3-14llvm/test/Transforms/IndVarSimplify/implied-cond-different-signedness.ll
+17-282 files

FreeBSD/ports fdbbc5f — security/vuxml/vuln 2026.xml

security/vuxml: Fix PHP entry d8e16d08-cd2f-11f1-8135-8447094a420f

- php85: the fixed version is 8.5.12, not 8.5.13
- Quote the security advisory instead of the pre-announcement
- Add references to the advisory and both GHSAs

Reported by:    Dan Langille <dan at langille.org>
Sponsored by:   Netzkommune GmbH
DeltaFile
+9-4security/vuxml/vuln/2026.xml
+9-41 files

OPNSense/ports a91bbfe — lang/php85 Makefile distinfo

lang/php85: sync with upstream

Taken from: FreeBSD
DeltaFile
+3-3lang/php85/distinfo
+1-2lang/php85/Makefile
+4-52 files

FreeBSD/ports f26f985 — misc/py-claude-agent-sdk Makefile

misc/py-claude-agent-sdk: Drop version from claude-code dependency

The tree already has a newer misc/claude-code, so the minimum version
is pointless.

Sponsored by:   Netzkommune GmbH
DeltaFile
+1-1misc/py-claude-agent-sdk/Makefile
+1-11 files

LLVM/project f0c5843 — clang/lib/CIR/Lowering/DirectToLLVM LowerToLLVM.cpp, clang/test/CIR/Lowering unlowered-address-spaces.cir

[CIR] Reject language address spaces in DirectToLLVM pointer conversion

Reject unlowered language address spaces in pointer types when bypassing TargetLowering. Guard pointer-producing lowerings, including generated patterns, so failed conversions report legalization failures instead of silently selecting address space zero or constructing invalid LLVM operations.

Assisted-by: Codex / GPT-6
DeltaFile
+504-0clang/test/CIR/Lowering/unlowered-address-spaces.cir
+64-0clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+2-0clang/utils/TableGen/CIRLoweringEmitter.cpp
+570-03 files

LLVM/project b890f17 — clang/lib/CIR/Lowering/DirectToLLVM LowerToLLVM.cpp, clang/test/CIR/Lowering opaque-pointer-address-spaces.cir unlowered-address-spaces.cir

fix: [CIR] Check only the converted pointer's address space

Limit opaque pointer conversion to its own address space and diagnose unsupported pointee types where their layout is required. Emit type-specific errors for failed pointer conversions.

Validate pointee memory conversion before deriving copy sizes, alignments, or pointer-difference strides from CIR layout. Keep deeper pointee types opaque when their layouts are not needed.

Assisted-by: Codex / GPT-6
DeltaFile
+151-96clang/test/CIR/Lowering/unlowered-address-spaces.cir
+153-0clang/test/CIR/Lowering/opaque-pointer-address-spaces.cir
+36-55clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+2-1clang/utils/TableGen/CIRLoweringEmitter.cpp
+342-1524 files

LLVM/project 41c4f7b — clang/include/clang/CIR LoweringHelpers.h, clang/include/clang/CIR/Dialect/IR CIROps.td

[CIR] Propagate initializer type adjustment failures

Reject initializers whose active members have no LLVM representation, including when an enclosing union's storage type is convertible. Propagate recursive adjustment failures before querying data layout or constructing LLVM operations.

Assisted-by: Codex / GPT-6
DeltaFile
+66-0clang/test/CIR/Lowering/unsupported-initializer-types.cir
+13-2clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+12-0clang/lib/CIR/Lowering/LoweringHelpers.cpp
+2-1clang/include/clang/CIR/LoweringHelpers.h
+1-1clang/include/clang/CIR/Dialect/IR/CIROps.td
+94-45 files

LLVM/project c7aad77 — llvm/include/llvm/IR IntrinsicsNVVM.td, llvm/test/Transforms/PhaseOrdering nvptx-tcgen05-mma-memory.ll

[NVPTX] Correct tcgen05 MMA memory effects (#232314)

Model accumulator reads and shared-memory reads through descriptors,
while restricting writes to argument memory and internal state. Mark
tensor A readonly unless `.ashift` is present, and mark sparse metadata,
scale inputs, and decompression tables readonly.

Assisted-by: GPT-6 Astra
DeltaFile
+199-0llvm/test/Transforms/PhaseOrdering/nvptx-tcgen05-mma-memory.ll
+20-10llvm/include/llvm/IR/IntrinsicsNVVM.td
+219-102 files