LLVM/project 2a9b623clang/lib/Interpreter IncrementalAction.cpp Interpreter.cpp, clang/test/Interpreter emit-llvm.cpp

[clang-repl] Honor `-emit-llvm` to print incremental IR (#217870)

clang-repl cannot currently emit the LLVM IR it generates. The
command-line emit actions are accepted but folded into
`EmitLLVMOnlyAction` (producing no output), and `frontend::EmitLLVM` is
rejected by the incremental frontend action when `-emit-llvm` is passed.
This prevents users from inspecting IR produced per-input PTU.

This patch teaches clang-repl to honor `-emit-llvm` by allowing the
IncrementalAction to accept `frontend::EmitLLVM` , making the driver
print each input's `llvm::Modul` to stdout instead of executing it,
similar to `clang -emit-llvm`. This enables a lit-level test to
FileCheck the IR produced by clang-repl and the effect of a statement on
it. Exposing this functionality beyond the driver level to allow library
consumers of `clang::Interpreter` to use it is a planned follow-up.
DeltaFile
+21-0clang/test/Interpreter/emit-llvm.cpp
+7-0clang/lib/Interpreter/Interpreter.cpp
+1-0clang/lib/Interpreter/IncrementalAction.cpp
+29-03 files

LLVM/project ae49d59llvm/lib/Target/AArch64/GISel AArch64PreLegalizerCombiner.cpp, llvm/test/CodeGen/AArch64/GlobalISel prelegalizer-combiner-scalar.mir

[AArch64][GlobalISel] Use integer types in udot zero lanes. (#218115)
DeltaFile
+8-11llvm/lib/Target/AArch64/GISel/AArch64PreLegalizerCombiner.cpp
+4-4llvm/test/CodeGen/AArch64/GlobalISel/prelegalizer-combiner-scalar.mir
+12-152 files

FreeBSD/ports b2f1a89graphics/openexr Makefile distinfo, graphics/openexr-website-docs Makefile distinfo

graphics/openexr*: security fix update to v3.4.15

"v3.4.15 fixes two memory issues when parsing IDManifests. Corrupt
or maliciously formed OpenEXR images could trigger excessive memory
allocation, but only in code which decodes the idmanifest attribute.
Other code is unaffected, even when handling files with idmanifest
attributes [...] CVEs have been requested for these issues."
<https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v3.4.15>

CVEs are not yet communicated.

Changelog:      https://github.com/AcademySoftwareFoundation/openexr/blob/v3.4.15/CHANGES.md#version-3415-august-21-2026

Pull request:   https://github.com/freebsd/freebsd-ports/pull/594
MFH:            2026Q3
PR:             297717

(cherry picked from commit e51c07e1f89545680baab090f517391137ca5834)
DeltaFile
+3-3graphics/openexr/distinfo
+3-3graphics/openexr-website-docs/distinfo
+1-1graphics/openexr/Makefile
+1-1graphics/openexr-website-docs/Makefile
+8-84 files

FreeBSD/ports e51c07egraphics/openexr Makefile distinfo, graphics/openexr-website-docs Makefile distinfo

graphics/openexr*: security fix update to v3.4.15

"v3.4.15 fixes two memory issues when parsing IDManifests. Corrupt
or maliciously formed OpenEXR images could trigger excessive memory
allocation, but only in code which decodes the idmanifest attribute.
Other code is unaffected, even when handling files with idmanifest
attributes [...] CVEs have been requested for these issues."
<https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v3.4.15>

CVEs are not yet communicated.

Changelog:      https://github.com/AcademySoftwareFoundation/openexr/blob/v3.4.15/CHANGES.md#version-3415-august-21-2026

Pull request:   https://github.com/freebsd/freebsd-ports/pull/594
MFH:            2026Q3
PR:             297717
DeltaFile
+3-3graphics/openexr/distinfo
+3-3graphics/openexr-website-docs/distinfo
+1-1graphics/openexr/Makefile
+1-1graphics/openexr-website-docs/Makefile
+8-84 files

LLVM/project 6b5eef6libcxx/include module.modulemap.in, libcxx/include/__algorithm find.h

[libc++] Disable the wmemchr optimization in std::find on Apple platforms (#217655)

`wmemchr` on Apple platforms is incredibly slow. We can do significantly
better by just implementing it on our own.

Fixes #205840
DeltaFile
+5-2libcxx/include/module.modulemap.in
+3-1libcxx/include/__algorithm/find.h
+8-32 files

LLVM/project 6ea9344llvm/lib/CodeGen/GlobalISel LegalizerHelper.cpp, llvm/test/CodeGen/AArch64/GlobalISel inline-small-memset.mir inline-memset.mir

[AArch64][GlobalISel] Use integer types for memset/memmove lowering. (#215475)
DeltaFile
+68-68llvm/test/CodeGen/AArch64/GlobalISel/inline-memmove.mir
+16-16llvm/test/CodeGen/AArch64/GlobalISel/inline-memset-forced.mir
+14-14llvm/test/CodeGen/AArch64/GlobalISel/inline-memset.mir
+3-3llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
+2-2llvm/test/CodeGen/AArch64/GlobalISel/inline-small-memset.mir
+103-1035 files

LLVM/project bcbd4abllvm/include/llvm/CodeGen TargetLowering.h

Reflow comment
DeltaFile
+11-13llvm/include/llvm/CodeGen/TargetLowering.h
+11-131 files

LLVM/project 4920ee9llvm/include/llvm/IR VPIntrinsics.def, llvm/lib/CodeGen/SelectionDAG MatchContext.h LegalizeVectorOps.cpp

[DAG] Remove trivial VP SDNodes. NFC

This removes the codegen parts of the trivial VP intrinsics. It's quite far reaching, but the general categories of code removed are:

- Removing definitions from VPIntrinsics.def
- Legalization and expansion code
- MatchContext used to match over both VP and non-VP nodes
- Some dead DAGCombines and folds in SelectionDAGBuilder

There are still more things to be cleaned up after this, e.g. removing more of the VPIntrinsic class hierarchy, removing ExpandVectorPredication/moving expansion into other places, removing MatchContext from SDPatternMatch
DeltaFile
+80-283llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
+3-340llvm/include/llvm/IR/VPIntrinsics.def
+6-336llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+47-282llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
+7-217llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
+0-182llvm/lib/CodeGen/SelectionDAG/MatchContext.h
+143-1,64011 files not shown
+188-2,01417 files

NetBSD/pkgsrc-wip 388949emtr-graph distinfo Makefile

mtr-graph(mtr085): update to 0.85.307, update Makefile
DeltaFile
+7-12mtr-graph/Makefile
+9-10mtr-graph/options.mk
+3-3mtr-graph/distinfo
+19-253 files

FreeBSD/ports 7d678eemath/Imath distinfo Makefile

math/Imath: update to v3.2.3

Changelog:      https://github.com/AcademySoftwareFoundation/Imath/releases/tag/v3.2.3
PR:             297717
Pull Request:   https://github.com/freebsd/freebsd-ports/pull/593
DeltaFile
+8-2math/Imath/Makefile
+3-3math/Imath/distinfo
+11-52 files

OpenBSD/ports zDRhMQuwayland/greetd Makefile

   wayland/greetd: add cow and mango to @sample'd greetd/environments
VersionDeltaFile
1.8+2-2wayland/greetd/Makefile
+2-21 files

NetBSD/src 5plaz2ousr.bin/make/unit-tests cond-token-number.exp cond-token-number.mk

   tests/make: test octal number in condition (not supported)
VersionDeltaFile
1.13+18-13usr.bin/make/unit-tests/cond-token-number.mk
1.12+4-4usr.bin/make/unit-tests/cond-token-number.exp
+22-172 files

FreeNAS/freenas feef615src/middlewared/middlewared/plugins/truenas license_legacy_utils.py

Fix mypy warning

(cherry picked from commit 1c9212bc3e5b1275db874a9f481b4f766d3c6e8f)
DeltaFile
+1-1src/middlewared/middlewared/plugins/truenas/license_legacy_utils.py
+1-11 files

FreeNAS/freenas 66d9e1bsrc/middlewared/middlewared/plugins/truenas license_legacy_utils.py

NAS-142395 / 27.0.0-BETA.1 / Fix mypy warning (#19533)
DeltaFile
+1-1src/middlewared/middlewared/plugins/truenas/license_legacy_utils.py
+1-11 files

FreeBSD/ports 315a11cmath/givaro pkg-plist Makefile

math/givaro: update 4.2.1 -> 4.2.2, pet repology

Changes:        https://github.com/linbox-team/givaro/releases/tag/v4.2.2
DeltaFile
+1-5math/givaro/Makefile
+3-3math/givaro/distinfo
+1-1math/givaro/pkg-plist
+5-93 files

LLVM/project c5d5e8bllvm/include/llvm/Analysis MustExecute.h, llvm/lib/Analysis MustExecute.cpp

[LoopSafety] Cache whether block is guaranteed to execute (NFC) (#217943)

To avoid doing the CFG walk multiple times if instructions from the same
block are queried.

This is for an upcoming change that does more isGuaranteedToExecute()
queries.
DeltaFile
+8-0llvm/lib/Analysis/MustExecute.cpp
+8-0llvm/include/llvm/Analysis/MustExecute.h
+16-02 files

LLVM/project 823eb94llvm/lib/Target/AArch64/GISel AArch64LegalizerInfo.cpp, llvm/test/CodeGen/AArch64/GlobalISel legalize-cmpxchg-128.mir

[AArch64][GlobalISel] Use integer types for atomic cmpxchg lowering. (#215461)
DeltaFile
+5-5llvm/test/CodeGen/AArch64/GlobalISel/legalize-cmpxchg-128.mir
+1-1llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
+6-62 files

LLVM/project 3c61471llvm/lib/Target/RISCV RISCVPassRegistry.def RISCVCodeGenPassBuilder.cpp, llvm/test/CodeGen/RISCV expand-pseudo.mir

[RISCV] Port Expand Pseudos to NewPM (#218078)

Assisted-by: AI
DeltaFile
+53-34llvm/lib/Target/RISCV/RISCVExpandPseudoInsts.cpp
+30-0llvm/test/CodeGen/RISCV/expand-pseudo.mir
+9-2llvm/lib/Target/RISCV/RISCV.h
+2-2llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
+1-1llvm/lib/Target/RISCV/RISCVCodeGenPassBuilder.cpp
+1-0llvm/lib/Target/RISCV/RISCVPassRegistry.def
+96-392 files not shown
+98-398 files

FreeBSD/ports 64772c8misc/hermes-agent distinfo Makefile, misc/hermes-agent/files patch-hermes__cli_gateway.py patch-hermes__cli_setup.py

misc/hermes-agent: update to 0.17.0
DeltaFile
+29-74misc/hermes-agent/files/patch-hermes__cli_setup.py
+39-11misc/hermes-agent/files/patch-hermes__cli_gateway.py
+12-11misc/hermes-agent/Makefile
+5-5misc/hermes-agent/distinfo
+85-1014 files

OpenBSD/ports 8EKVSsAx11/gnome/glycin Makefile crates.inc

   Move to the real glycin-2.2beta1 tarball.
VersionDeltaFile
1.2+34-34x11/gnome/glycin/distinfo
1.2+16-16x11/gnome/glycin/crates.inc
1.2+2-1x11/gnome/glycin/Makefile
+52-513 files

LLVM/project eeb36d0llvm/include/llvm/IR VPIntrinsics.def, llvm/lib/CodeGen/SelectionDAG MatchContext.h LegalizeVectorOps.cpp

[DAG] Remove trivial VP SDNodes. NFC

This removes the codegen parts of the trivial VP intrinsics. It's quite far reaching, but the general categories of code removed are:

- Removing definitions from VPIntrinsics.def
- Legalization and expansion code
- MatchContext used to match over both VP and non-VP nodes
- Some dead DAGCombines and folds in SelectionDAGBuilder

There are still more things to be cleaned up after this, e.g. removing more of the VPIntrinsic class hierarchy, removing ExpandVectorPredication/moving expansion into other places, removing MatchContext from SDPatternMatch
DeltaFile
+80-283llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
+3-340llvm/include/llvm/IR/VPIntrinsics.def
+6-336llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+47-282llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
+7-217llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
+0-182llvm/lib/CodeGen/SelectionDAG/MatchContext.h
+143-1,64011 files not shown
+188-2,01417 files

LLVM/project 4bf956fllvm/lib/Target/VE VVPNodes.def

[VE] Remove trivial VP SDNode mappings. NFC (#217865)

These SDNodes aren't emitted anymore and will be removed in an upcoming
patch.
DeltaFile
+9-9llvm/lib/Target/VE/VVPNodes.def
+9-91 files

LLVM/project 8add969lldb/source/Utility Scalar.cpp, lldb/unittests/Expression DWARFExpressionTest.cpp

[lldb] Clamp out-of-range shift amounts in Scalar (#217027)

`Scalar::operator>>=` and `Scalar::ExtractBitfield` pass their shift
amount straight to `APSInt::operator>>=(unsigned)`, which asserts when
the
amount exceeds the operand's bit width:

```
Assertion failed: (ShiftAmt <= BitWidth && "Invalid shift amount"),
function ashrInPlace, file APInt.h, line 842.
    #7  llvm::APInt::ashrInPlace(unsigned int)
    #8  lldb_private::Scalar::ExtractBitfield(unsigned int, unsigned int)
    #9  lldb_private::DWARFExpression::Evaluate(...)
   #11  LLVMFuzzerTestOneInput
```

The DWARF expression evaluator reaches both from untrusted operands
(`DW_OP_shra` shift counts and `DW_OP_bit_piece` bit offsets), so
`lldb-dwarf-expression-fuzzer` aborts the process on a shift wider than

    [16 lines not shown]
DeltaFile
+43-0lldb/unittests/Utility/ScalarTest.cpp
+22-0lldb/unittests/Expression/DWARFExpressionTest.cpp
+8-4lldb/source/Utility/Scalar.cpp
+73-43 files

LLVM/project d0a46cfllvm/lib/Target/RISCV RISCVVectorPeephole.cpp

[RISCV][NewPM] Add Missed Properties Modifier (#218107)
DeltaFile
+1-0llvm/lib/Target/RISCV/RISCVVectorPeephole.cpp
+1-01 files

LLVM/project 627bb2aclang-tools-extra/clang-tidy/bugprone PointerArithmeticOnPolymorphicObjectCheck.cpp, clang-tools-extra/docs ReleaseNotes.md

[clang-tidy] Fix crash on pointer arithmetic with an incomplete type in bugprone-pointer-arithmetic-on-polymorphic-object (#215724)

This commit fixes a crash in clangd / clang-tidy: running
the `bugprone-pointer-arithmetic-on-polymorphic-object` check on code
that does pointer arithmetic on a pointer to an **incomplete type** (a
type that is forward-declared but never defined) makes the matcher hit
an assertion and abort.

AI note: Used AI tools for code analysis and wording polish.
DeltaFile
+10-0clang-tools-extra/test/clang-tidy/checkers/bugprone/pointer-arithmetic-on-polymorphic-object-decl-only.cpp
+10-0clang-tools-extra/test/clang-tidy/checkers/bugprone/pointer-arithmetic-on-polymorphic-object-all.cpp
+6-2clang-tools-extra/clang-tidy/bugprone/PointerArithmeticOnPolymorphicObjectCheck.cpp
+4-0clang-tools-extra/docs/ReleaseNotes.md
+30-24 files

LLVM/project a992451llvm/lib/Target/RISCV RISCVPassRegistry.def RISCVExpandPseudoInsts.cpp, llvm/test/CodeGen/RISCV O3-newpm-pipeline.ll O1-newpm-pipeline.ll

[RISCV] Rename riscv-pre-ra-expand-pseudo (#218106)

From riscv-prera-expand-psuedo. Makes the name more consistent with
other targets (e.g., AMDGPU uses pre-ra) and with our hyphenation in
general.
DeltaFile
+4-4llvm/test/CodeGen/RISCV/prera-expand-pseudo.mir
+2-2llvm/test/CodeGen/RISCV/mir-target-flags.ll
+1-1llvm/test/CodeGen/RISCV/O3-newpm-pipeline.ll
+1-1llvm/test/CodeGen/RISCV/O1-newpm-pipeline.ll
+1-1llvm/lib/Target/RISCV/RISCVPassRegistry.def
+1-1llvm/lib/Target/RISCV/RISCVExpandPseudoInsts.cpp
+10-106 files

FreeBSD/src a209aaclibexec/nuageinit nuageinit

nuageinit: root should be allowed to log in when disable_root is false

PermitRootLogin is "no" by default and that stopped root from logging in
even though disable_root was set to false during initialization.

Reviewed by:    bapt
Sponsored by:   Chelsio Communications
Differential Revision:  https://reviews.freebsd.org/D59101
DeltaFile
+2-0libexec/nuageinit/nuageinit
+2-01 files

OpenBSD/ports bTRCDfUnet/py-boto3 Makefile distinfo

   Update to py3-boto3-1.43.78.
VersionDeltaFile
1.661+2-2net/py-boto3/distinfo
1.674+1-2net/py-boto3/Makefile
+3-42 files

OpenBSD/ports XiTIZGFnet/py-botocore Makefile distinfo, net/py-botocore/pkg PLIST

   Update to py3-botocore-1.43.78.
VersionDeltaFile
1.334+7-0net/py-botocore/pkg/PLIST
1.878+2-2net/py-botocore/distinfo
1.888+1-1net/py-botocore/Makefile
+10-33 files

LLVM/project 0836f71llvm/lib/Target/RISCV RISCVExpandPseudoInsts.cpp RISCV.h

[RISCV][NewPM] Fix Up PreRAExpandPseudo (#218105)

- Add missing MFPropsModifier
- Mark pass as required
DeltaFile
+1-1llvm/lib/Target/RISCV/RISCV.h
+1-0llvm/lib/Target/RISCV/RISCVExpandPseudoInsts.cpp
+2-12 files