LLVM/project 4f6781e — clang/include/clang/Basic Diagnostic.h, clang/lib/Basic Diagnostic.cpp

[clang] Speed up diagnostic state file lookup

Store File records behind stable pointers in a DenseMap instead of a
std::map. Keep dumps and serialized mappings ordered by FileID,
and create deserialized entries lazily.

CTMark (-march=rva23u64 -O3), three interleaved pairs: 0.361% lower
median total compile time and 0.467% lower workload geomean.

Assisted-by: TRAE CLI (GPT-6)

Reviewers: zmodem, Sirraide, vgvassilev, tbaederr, kazutakahirata

Reviewed By: zmodem

Pull Request: https://github.com/llvm/llvm-project/pull/241234
DeltaFile
+13-7clang/lib/Basic/Diagnostic.cpp
+12-6clang/lib/Serialization/ASTWriter.cpp
+8-2clang/include/clang/Basic/Diagnostic.h
+5-4clang/lib/Serialization/ASTReader.cpp
+38-194 files

LLVM/project 40ff077 — llvm/include/llvm/Transforms/IPO Attributor.h, llvm/lib/Transforms/IPO Attributor.cpp AttributorAttributes.cpp

[Attributor] Don't derive interface attributes from non-exact definitions (#243310)

The arguments and the return value of a function that might be replaced
by another definition, e.g. a `linkonce_odr` function, are never
updated. But some AAs still took known information from its body in
`initialize`, which was kept and propagated to the callers: the uses of
the arguments (`followUsesInMBEC`), assumptions (`getAttrsFromAssumes`),
and the returned values (`AANonNull::isImpliedByIR`). Add
`Attributor::canUseBodyFor` and skip the body for the interface of such
functions, as FunctionAttrs does.

Depends on #243247.

Assisted-by: Claude Opus 5.5

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+12-22llvm/test/Transforms/Attributor/nonnull.ll
+11-0llvm/include/llvm/Transforms/IPO/Attributor.h
+3-3llvm/test/Transforms/Attributor/align.ll
+6-0llvm/lib/Transforms/IPO/AttributorAttributes.cpp
+3-0llvm/lib/Transforms/IPO/Attributor.cpp
+35-255 files

LLVM/project 25e91b6 — llvm/test/Transforms/Attributor align.ll nonnull.ll

[Attributor][NFC] Precommit tests for attributes derived from non-exact definitions (#243247)

Adding tests showing that the Attributor derives `align` for the
arguments and `nonnull` for the return value of `linkonce_odr` functions
from their bodies (uses and assumptions), and propagates them to the
callers, although another definition might be used instead.

This came up in the review of #241934.

Assisted-by: Claude Opus 5.5

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+73-0llvm/test/Transforms/Attributor/nonnull.ll
+23-0llvm/test/Transforms/Attributor/align.ll
+96-02 files

LLVM/project 6183335 — llvm/include/llvm/CodeGen MachineScheduler.h, llvm/lib/CodeGen MacroFusion.cpp VLIWMachineScheduler.cpp

[CodeGen] Declare command line options of the machine scheduler in TableGen (#244327)

Renames, with the old spellings kept as aliases:

```
-enable-aa-sched-mi       -> -sched-mi-aa
-enable-store-sequencing  -> -store-sequencing
-use-tbaa-in-sched-mi     -> -sched-mi-tbaa
```

Renames without an alias, as the old spellings are generic or unused:

```
-check-early-avail       -> -vliw-misched-check-early-avail
-fast-cluster-threshold  -> -misched-fast-cluster-threshold
-force-fast-cluster      -> -misched-force-fast-cluster
-ignore-bb-reg-pressure  -> -vliw-misched-ignore-bb-reg-pressure
-misched-verbose-level   -> -vliw-misched-verbose-level
-use-newer-candidate     -> -vliw-misched-use-newer-candidate

    [19 lines not shown]
DeltaFile
+115-208llvm/lib/CodeGen/MachineScheduler.cpp
+42-87llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
+127-0llvm/lib/CodeGen/CodeGenOptions.td
+11-30llvm/lib/CodeGen/VLIWMachineScheduler.cpp
+7-12llvm/include/llvm/CodeGen/MachineScheduler.h
+5-7llvm/lib/CodeGen/MacroFusion.cpp
+307-34410 files not shown
+331-36816 files

FreeBSD/ports b4489f1 — security/bitwarden-cli distinfo, security/bitwarden-cli/files/packagejsons package.json package-lock.json

security/bitwarden-cli: Update to 2026.11.0

Changelog: https://github.com/bitwarden/clients/releases/tag/cli-v2026.11.0

Reported by:    GitHub (watch releases)
DeltaFile
+804-1,318security/bitwarden-cli/files/packagejsons/package-lock.json
+24-24security/bitwarden-cli/files/packagejsons/package.json
+14-10security/bitwarden-cli/files/packagejsons/apps/browser/package.json
+5-5security/bitwarden-cli/distinfo
+3-3security/bitwarden-cli/files/packagejsons/apps/desktop/package.json
+3-3security/bitwarden-cli/files/packagejsons/apps/cli/package.json
+853-1,3633 files not shown
+860-1,3699 files

LLVM/project 0db9498 — llvm/lib/Transforms/IPO AttributorAttributes.cpp

[Attributor] Clean up the shared reachability walks

Without AAIsDead, the walks used liveness version 0, which is also the
version of a valid AAIsDead without assumed live edges, under which all
edges are dead. Use the version of an invalid AAIsDead instead, under
which all edges are live as well.

Also add each explored block with a live successor once instead of once
per live edge, use contains() for the exclusion blocks, and update the
comments that still described the walk that stopped at the target.

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+11-5llvm/lib/Transforms/IPO/AttributorAttributes.cpp
+11-51 files

LLVM/project 2149e8d — llvm/lib/Transforms/IPO LowerTypeTests.cpp

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+4-3llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+4-31 files

OpenBSD/src wWWUJhH — usr.bin/awk run.c

   Fix buffer overflow in printf %s and %c formats for UTF-8 chars.

   Awk allocates its buffer based on the length in characters instead
   of bytes, which can lead to a buffer overflow when formatting UTF-8
   characters in a UTF-8 locale.

   From Martin Chang
VersionDeltaFile
1.91+12-3usr.bin/awk/run.c
+12-31 files

OpenBSD/src 5UGwLnk — usr.bin/awk lex.c

   Fix buffer overflow in string() when storing escaped unicode.

   Only two bytes were allocated but escaped unicode can require up to 5
   (four plus a NUL).

   From Martin Chang
VersionDeltaFile
1.36+3-2usr.bin/awk/lex.c
+3-21 files

FreeNAS/freenas 3fbc151 — src/middlewared/middlewared/plugins filesystem.py, tests/api2 test_s3_bucket.py

NAS-145317 / 27.1.0 / Refuse immutable flag changes on S3 bucket datasets (by anodos325) (#20270)

filesystem.set_zfs_attributes now refuses a request that sets or clears
immutable on the dataset of an S3 bucket, on one path or recursively.
The S3 service sets and clears that flag on the object versions it
retains. Other attributes can still be changed there.

A path above a bucket is not refused. Recursion stops at dataset
boundaries, so a change there never reaches the bucket.

The check covers every BUCKET layout bucket, as the write guards do.
Middleware's own flag changes on pool and encrypted dataset mount points
call the attrs utility directly and are not affected.

The new case in test_s3_bucket.py covers a set and a recursive clear on
the bucket, a change of another attribute, and a recursive change from
the parent dataset.

Original PR: https://github.com/truenas/middleware/pull/20257

Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
DeltaFile
+47-0tests/api2/test_s3_bucket.py
+6-0src/middlewared/middlewared/plugins/filesystem.py
+53-02 files

FreeNAS/freenas 9d53b3c — src/middlewared/middlewared/plugins/container lifecycle.py utils.py, tests/api2 test_container.py

NAS-145321 / 27.1.0 / Resolve container etc paths within the rootfs when setting the hostname

Read an existing etc/hosts relative to the container's rootfs, resolving
symlinks as the container itself would, and only if it is a regular file
of a reasonable size. atomic_write already refuses a symlink in the path
of the files it writes.

(cherry picked from commit f5093d9b4c8fe94c5bb88cfe40bc4f7747eaa685)
DeltaFile
+33-14src/middlewared/middlewared/plugins/container/utils.py
+19-0tests/api2/test_container.py
+2-3src/middlewared/middlewared/plugins/container/lifecycle.py
+54-173 files

LLVM/project 57dee48 — llvm/unittests/Support SpecialCaseListTest.cpp

[Support] Fix SpecialCaseListTest.DotSlashWarning in a terminal (#244459)

raw_fd_ostream caches has_colors() on first use. When the suite runs
with stderr on a terminal, DotSlash emits the deprecation warning
uncaptured, so errs() caches colors as enabled. DotSlashWarning then
captures stderr but still gets escape codes between "warning: " and
the message, and its HasSubstr check fails. The test passes when run
alone because the first check happens while stderr is captured.

Disable WithColor's color auto-detection for the duration of the test.
DeltaFile
+10-0llvm/unittests/Support/SpecialCaseListTest.cpp
+10-01 files

LLVM/project a4fabcb — llvm/lib/Transforms/IPO LowerTypeTests.cpp

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+19-18llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+19-181 files

FreeNAS/freenas 8e6311f —

Empty commit to create PR on github.

You should reset it
DeltaFile
+0-00 files

FreeNAS/freenas f5093d9 — src/middlewared/middlewared/plugins/container lifecycle.py utils.py, tests/api2 test_container.py

NAS-145321 / 28.0.0-BETA.1 / Resolve container etc paths within the rootfs when setting the hostname (#20264)

Read an existing etc/hosts relative to the container's rootfs, resolving
symlinks as the container itself would, and only if it is a regular file
of a reasonable size. atomic_write already refuses a symlink in the path
of the files it writes.
DeltaFile
+33-14src/middlewared/middlewared/plugins/container/utils.py
+19-0tests/api2/test_container.py
+2-3src/middlewared/middlewared/plugins/container/lifecycle.py
+54-173 files

LLVM/project 0dff027 — llvm/include/llvm/IR RuntimeLibcalls.td, llvm/test/Transforms/Util/DeclareRuntimeLibcalls ppc.ll bsd.ll

RuntimeLibcalls: Add attributes to __clear_cache and __riscv_flush_icache

Neither unwinds or captures its arguments. Leave the memory effects
unknown so calls aren't removed or reordered with the stores to the
flushed range.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+5-5llvm/test/Transforms/Util/DeclareRuntimeLibcalls/aarch64.ll
+8-2llvm/include/llvm/IR/RuntimeLibcalls.td
+4-4llvm/test/Transforms/Util/DeclareRuntimeLibcalls/windows.ll
+4-4llvm/test/Transforms/Util/DeclareRuntimeLibcalls/riscv.ll
+3-3llvm/test/Transforms/Util/DeclareRuntimeLibcalls/ppc.ll
+3-3llvm/test/Transforms/Util/DeclareRuntimeLibcalls/bsd.ll
+27-2110 files not shown
+42-3616 files

OpenBSD/src OSb6bYV — sys/dev/pci if_rgereg.h if_rge.c

   Add support for the Realtek RTL8127ATF SFP+ controller.

   ok deraadt@
VersionDeltaFile
1.50+410-13sys/dev/pci/if_rge.c
1.22+64-4sys/dev/pci/if_rgereg.h
+474-172 files

LLVM/project d15966f — llvm/include/llvm/CodeGen TargetLowering.h, llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp

[SelectionDAG] Remove ADDE from isCommutativeBinOp (#244399)

ADDE takes a third carry operand, so it is not a binop. Having it in
isCommutativeBinOp() made isBinOp() return true for it, which let
foldSelectOfBinops() rebuild it from two operands and drop the carry.
UADDO_CARRY is not in the list either, and visitADDE() already
canonicalizes constants to the RHS on its own.

Remove ADDE from the list and drop the operand count check that was
added to foldSelectOfBinops() to work around this.

Follow-up to https://github.com/llvm/llvm-project/pull/235585 after
review feedback.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+0-3llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+0-1llvm/include/llvm/CodeGen/TargetLowering.h
+0-42 files

LLVM/project a79e067 — llvm/include/llvm/IR RuntimeLibcallsImpl.td RuntimeLibcalls.td, llvm/test/Transforms/Util/DeclareRuntimeLibcalls ppc.ll

RuntimeLibcalls: Add attributes to libc libcalls

Annotate C library functions with the attributes InferFunctionAttrs
gives. This isn't fully captured in the DeclareRuntimeLibcalls testing
because not all of these functions are yet associated with a library.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+1,074-184llvm/include/llvm/IR/RuntimeLibcalls.td
+12-12llvm/test/Transforms/Util/DeclareRuntimeLibcalls/ppc.ll
+1-0llvm/include/llvm/IR/RuntimeLibcallsImpl.td
+1,087-1963 files

LLVM/project 95f011a — llvm/include/llvm/IR RuntimeLibcalls.td, llvm/test/Transforms/Util/DeclareRuntimeLibcalls hexagon.ll arm64ec.ll

RuntimeLibcalls: Add attributes to target memory helper libcalls

Annotate the various target specific memcpy-like functions with known
alignments.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+50-33llvm/include/llvm/IR/RuntimeLibcalls.td
+16-16llvm/test/Transforms/Util/DeclareRuntimeLibcalls/arm.ll
+15-15llvm/test/Transforms/Util/DeclareRuntimeLibcalls/aarch64.ll
+7-7llvm/test/Transforms/Util/DeclareRuntimeLibcalls/codegen-opt-flags.ll
+3-3llvm/test/Transforms/Util/DeclareRuntimeLibcalls/arm64ec.ll
+2-2llvm/test/Transforms/Util/DeclareRuntimeLibcalls/hexagon.ll
+93-766 files

LLVM/project 745d8e4 — llvm/test/Transforms/Util/DeclareRuntimeLibcalls codegen-opt-flags.ll

Fix codegen-opt-flags.ll AEABI mem checks

The AEABI memcpy, memmove and memset helpers no longer get
captures(none), so drop it from the checks.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply at anthropic.com>
DeltaFile
+3-3llvm/test/Transforms/Util/DeclareRuntimeLibcalls/codegen-opt-flags.ll
+3-31 files

FreeBSD/src 90bc40e — sys/powerpc/include elf.h cpu.h

powerpc: Split CPU flags into separate file and include in ELF header

This change fixes Bug 239621, where FreeBSD on powerpc deviates from
userspace expectations on other architectures (arm) and operating
systems (Linux)

Approved by: jhibbits (mentor)
MFC after: 1 week
DeltaFile
+100-0sys/powerpc/include/cpu_flags.h
+1-52sys/powerpc/include/cpu.h
+2-0sys/powerpc/include/elf.h
+103-523 files

FreeNAS/freenas 692cf00 — src/middlewared/middlewared/plugins filesystem.py, tests/api2 test_s3_bucket.py

NAS-145317 / 28.0.0-BETA.1 / Refuse immutable flag changes on S3 bucket datasets (#20257)

filesystem.set_zfs_attributes now refuses a request that sets or clears
immutable on the dataset of an S3 bucket, on one path or recursively.
The S3 service sets and clears that flag on the object versions it
retains. Other attributes can still be changed there.

A path above a bucket is not refused. Recursion stops at dataset
boundaries, so a change there never reaches the bucket.

The check covers every BUCKET layout bucket, as the write guards do.
Middleware's own flag changes on pool and encrypted dataset mount points
call the attrs utility directly and are not affected.

The new case in test_s3_bucket.py covers a set and a recursive clear on
the bucket, a change of another attribute, and a recursive change from
the parent dataset.

(cherry picked from commit f1749c05934d55b5cc06d8d0b33ea6280189418a)
DeltaFile
+47-0tests/api2/test_s3_bucket.py
+6-0src/middlewared/middlewared/plugins/filesystem.py
+53-02 files

LLVM/project eac14b2 — llvm/docs MIRLangRef.md TestingGuide.md

feedback
DeltaFile
+6-3llvm/docs/TestingGuide.md
+0-3llvm/docs/MIRLangRef.md
+6-62 files

LLVM/project 6fb7b06 — llvm/lib/Transforms/IPO LowerTypeTests.cpp

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+25-18llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+25-181 files

LLVM/project 3a74194 — llvm/docs MIRLangRef.md TestingGuide.md

docs: Add some best practices documentation for codegen tests

Document common review feedback.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+92-7llvm/docs/TestingGuide.md
+4-1llvm/docs/MIRLangRef.md
+96-82 files

LLVM/project 05df870 — clang/test/Preprocessor riscv-target-features-sifive.c, llvm/docs RISCVUsage.md

[RISCV] Support Xsfvfofp4min assembler version 0.1 (#164820)

SiFive vendor OFP4 conversion extension Xsfvfofp4min
spec:
https://www.sifive.com/document-file/ofp4-conversion-instruction-xsfvfofp4min-extension
DeltaFile
+25-0llvm/test/MC/RISCV/rvv/xsfvfofp4min.s
+8-0llvm/lib/Target/RISCV/RISCVFeatures.td
+8-0clang/test/Preprocessor/riscv-target-features-sifive.c
+6-0llvm/lib/Target/RISCV/RISCVInstrInfoXSf.td
+4-0llvm/test/CodeGen/RISCV/attributes-sifive.ll
+4-0llvm/docs/RISCVUsage.md
+55-04 files not shown
+61-010 files

LLVM/project 1dde11e — libc/src/string string_utils.h string_length.h, libc/src/string/memory_utils/generic inline_strlen.h

[libc] Make find_first_character_impl return const void*

This means we only have to const_cast in one place instead of in all the
implementations and I find const_cast annoying.

Assisted-By: LLM

Reviewers: jhuber6, michaelrj-google

Pull Request: https://github.com/llvm/llvm-project/pull/244468
DeltaFile
+7-7libc/src/string/string_length.h
+7-7libc/src/string/memory_utils/x86_64/inline_strlen.h
+4-4libc/test/src/strings/wide_read_memory_test.cpp
+3-3libc/src/string/memory_utils/generic/inline_strlen.h
+1-1libc/src/string/string_utils.h
+22-225 files

LLVM/project 2ab0676 — libc/src/__support/CPP simd.h, libc/src/string/memory_utils/generic inline_strlen.h

[libc] Add simd_bitmask type

Just a thin wrapper around internal::get_as_integer_type. This is nicer
than using an internal type outside of the library implementation in
inline_strlen.h. Putting this up given I plan on using it more for an
optimized memchr implementation.

Assisted-By: LLM

Reviewers: jhuber6, michaelrj-google

Pull Request: https://github.com/llvm/llvm-project/pull/244467
DeltaFile
+5-3libc/src/__support/CPP/simd.h
+1-1libc/src/string/memory_utils/generic/inline_strlen.h
+6-42 files

LLVM/project 82bab8b — llvm/docs TestingGuide.md

docs: Document to discard unused outputs from tests (#244465)

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+21-0llvm/docs/TestingGuide.md
+21-01 files