LLVM/project 22149f3flang/lib/Optimizer/Transforms MIFOpConversion.cpp, flang/test/Fir/MIF sync_team.mlir this_image.mlir

[flang][MIF] Fix team_type usage in all MIF operations #205953 (#214207)

This PR resolves the issue #205953. Its purpose is to correct the use of
`team_type` by lowering it to Addr rather than to Box.

(cherry picked from commit 0563f0d88d8314edcde7deab465759a84696e894)
DeltaFile
+65-72flang/test/Fir/MIF/change_team2.mlir
+39-40flang/test/Fir/MIF/get_team.mlir
+25-31flang/test/Fir/MIF/form_team.mlir
+19-32flang/test/Fir/MIF/this_image.mlir
+21-25flang/lib/Optimizer/Transforms/MIFOpConversion.cpp
+16-22flang/test/Fir/MIF/sync_team.mlir
+185-2225 files not shown
+225-26611 files

LLVM/project e134dc0lld/COFF Driver.cpp Writer.cpp, lld/test/COFF arm64x-tls.s

[LLD][COFF] Emit ARM64X relocations for TLS directory (#213529)

The current behavior of merging EC and native chunks to have a single
TLS directory for both views matches the MSVC linker, but it has its
shortcomings. In addition to merging, that solution requires all TLS
callbacks to use -arm64xsameaddress, leaving it to the CRT to handle. If
the appropriate EC object files are not pulled in by linked EC code and
thus never have a chance to mark the callback with -arm64xsameaddress,
this may lead to an invalid image that crashes at runtime.

This patch avoids the entire problem by using entirely separate TLS
directories for EC and native views along with the standard ARM64X
dynamic relocation mechanism. Since callback lists are now separate, a
missing -arm64xsameaddress is no longer a problem.

Also, mingw-w64-crt currently doesn't mark its TLS callbacks with
-arm64xsameaddress. That could be changed if needed, but with this
change, it is no longer necessary.

(cherry picked from commit 65e92e073539c3fe3523256c4fba35ac1dedcb92)
DeltaFile
+56-10lld/test/COFF/arm64x-tls.s
+22-4lld/COFF/Writer.cpp
+1-4lld/COFF/Driver.cpp
+79-183 files

LLVM/project b7cde8fcompiler-rt/lib/builtins/arm aeabi_uread4.S aeabi_uwrite8.S

[compiler-rt] Disable executable stack on `aeabi_u{read,write}*.S` (#214465)

These were missing `NO_EXEC_STACK_DIRECTIVE` to add `.note.GNU-stack`;
without it, a binary including any of these files will have the stack
marked executable. Add the directive here, matching other similar files.

Symtab diff before:

$ clang compiler-rt/lib/builtins/arm/aeabi_uread4.S
--target=arm-unknown-linux-gnueabi -c
    $ llvm-readelf aeabi_uread4.o -S
    There are 5 section headers, starting at offset 0xe4:

    Section Headers:
[Nr] Name Type Address Off Size ES Flg Lk Inf Al
[ 0] NULL 00000000 000000 000000 00 0 0 0
[ 1] .strtab STRTAB 00000000 0000a8 000039 00 0 0 1
[ 2] .text PROGBITS 00000000 000034 000020 00 AX 0 0 4
[ 3] .ARM.attributes ARM_ATTRIBUTES 00000000 000054 000022 00 0 0 1

    [21 lines not shown]
DeltaFile
+2-0compiler-rt/lib/builtins/arm/aeabi_uwrite8.S
+2-0compiler-rt/lib/builtins/arm/aeabi_uwrite4.S
+2-0compiler-rt/lib/builtins/arm/aeabi_uread8.S
+1-0compiler-rt/lib/builtins/arm/aeabi_uread4.S
+7-04 files

LLVM/project 9266471flang/lib/Optimizer/Transforms MIFOpConversion.cpp, flang/test/Lower/MIF coarray_dealloc_not_alloc.f90

[flang][MIF] Fix undef reference to a coarray_handle in mif.dealloc_coarray #193157 (#213890)

This PR fixes the behavior reported in issue #193157. The coarray_handle
was only defined if a call to mif.alloc_coarray was present.
If a call to mif.dealloc_coarray was encountered without a prior call to
mif.alloc_coarray, then the coarray_handle was missing, and therefore
llvm.address_of pointed to a non-existent address, which is not allowed.
We now define a coarray_handle that has not been allocated by PRIF for
each coarray variables.

(cherry picked from commit a9426776e78a89dec776c34efdb7725de591d878)
DeltaFile
+32-2flang/lib/Optimizer/Transforms/MIFOpConversion.cpp
+15-0flang/test/Lower/MIF/coarray_dealloc_not_alloc.f90
+47-22 files

LLVM/project 2655597.github/workflows llvm-abi-tests.yml

workflows/llvm-abi-tests: Cache the baseline abi (#211968)

This way we don't need to recompute it for every workflow.

(cherry picked from commit 09734937d37ca9c8e8c9cdaa55d00339068922c3)
DeltaFile
+23-0.github/workflows/llvm-abi-tests.yml
+23-01 files

NetBSD/pkgsrc 23Esbs2devel/py-coverage PLIST Makefile

   py-coverage: updated to 7.15.4

   7.15.4 — 2026-08-06

   - Fix: in the HTML report, a source file name containing a double quote (legal
     on POSIX) wasn't escaped where it's dropped into the ``href`` of the index
     and prev/next links, so it could close the attribute early and inject markup.
     Page URLs are now escaped. Thanks, `Rajath Mohare <pull 2227_>`_.

   - Fix: the LCOV report wrote file names and other fields into its
     line-oriented records without neutralizing control characters. A measured
     file whose name contained a newline (legal on POSIX) could forge extra
     records, inflating the coverage seen by tools that read the report. Control
     characters in a field are now replaced. Thanks, `Rajath Mohare <pull
     2226_>`_.

   - Wheels are now provided for Python 3.15.
VersionDeltaFile
1.80+4-4devel/py-coverage/distinfo
1.94+2-2devel/py-coverage/Makefile
1.25+2-1devel/py-coverage/PLIST
+8-73 files

NetBSD/pkgsrc bAEKw9ydevel/py-traitlets Makefile distinfo

   py-traitlets: updated to 5.16.1

   5.16.1

   Merged PRs

   - Re-add \_merge to un-break spyder temporarily.
VersionDeltaFile
1.31+4-4devel/py-traitlets/distinfo
1.39+2-2devel/py-traitlets/Makefile
+6-62 files

NetBSD/pkgsrc UkJNWZMdevel/py-argcomplete Makefile distinfo

   py-argcomplete: updated to 3.7.2

   Changes for v3.7.2 (2026-08-05)

   Require Python 3.10+


   Changes for v3.7.1 (2026-08-04)

   -  Fix for kislyuk-544 => TestZshGlobalExplicit tests are failing after
      upgrade to zsh 5.9.0.1

   -  Expand ~ in \_FilteredFilesCompleter (DirectoriesCompleter)
VersionDeltaFile
1.44+4-4devel/py-argcomplete/distinfo
1.53+2-2devel/py-argcomplete/Makefile
+6-62 files

NetBSD/pkgsrc gLbTw2Qdoc CHANGES-2026

   Updated net/libiscsi, emulators/qemu, sysutils/qemu-guest-agent
VersionDeltaFile
1.5043+4-1doc/CHANGES-2026
+4-11 files

NetBSD/pkgsrc aCdoNHOemulators/qemu Makefile version.mk, sysutils/qemu-guest-agent Makefile

   qemu: updated to 11.0.3

   11.0.3
   Bug fixes
VersionDeltaFile
1.254+4-4emulators/qemu/distinfo
1.17+2-2emulators/qemu/version.mk
1.12+1-2sysutils/qemu-guest-agent/Makefile
1.411+1-2emulators/qemu/Makefile
+8-104 files

NetBSD/pkgsrc ulPDOlWnet/libiscsi PLIST distinfo, net/libiscsi/patches patch-configure.ac patch-include_sha.h

   libiscsi: updated to 1.20.3

   1.20.3

   When queueing the first PDU to an idle socket, immediately try to write
   it to the socket instead of waiting for the event-loop to
   timeout/notice there is work to do.

   Various other small bugfixes.
VersionDeltaFile
1.1+36-0net/libiscsi/patches/patch-lib_multithreading.c
1.1+21-0net/libiscsi/patches/patch-include_sha.h
1.3+8-7net/libiscsi/Makefile
1.5+6-5net/libiscsi/distinfo
1.2+6-1net/libiscsi/PLIST
1.2+1-1net/libiscsi/patches/patch-configure.ac
+78-146 files

FreeBSD/src 703c756sys/dev/ixgbe ixgbe_sriov.h if_ix.c

ixgbe: Validate SR-IOV before restarting the PF

A deterministic IOV configuration error currently reaches the driver
only after iflib has stopped the PF. The required cleanup restart then
causes an avoidable carrier flap.

Follow the igb pattern and validate the request in the PCI IOV method
before entering the restart transaction. Reject queue layouts wider
than the selected virtualization pool before they can alias unrelated
82599 registers.

MFC after:      2 weeks
DeltaFile
+50-17sys/dev/ixgbe/if_sriov.c
+22-1sys/dev/ixgbe/if_ix.c
+1-0sys/dev/ixgbe/ixgbe_sriov.h
+73-183 files

LLVM/project f3bd40cllvm/include/llvm/Analysis ValueLattice.h, llvm/include/llvm/Transforms/Utils SCCPSolver.h

[ValueLattice][SCCP] Consider provenance for predicate-derived pointer constants (#160083)

Similarly to what it is being already done in GVN
(fb632ed2377d280b581b8d4653b855e60d611f77), make sure pointers
equalities derived via PredicatedInfo may be propagated so long as
pointer constants' provenance is taken into account, which may be
non-existent. This is achieved by tracking provenance in
ValueLatticeElement and restrain replacement to uses allowed by
`canReplacePointersInUseIfEqual`.

Fixes: https://github.com/llvm/llvm-project/issues/159565.
DeltaFile
+149-0llvm/test/Transforms/SCCP/assume-equality-pointers.ll
+41-6llvm/lib/Transforms/Utils/SCCPSolver.cpp
+19-4llvm/include/llvm/Analysis/ValueLattice.h
+7-0llvm/include/llvm/Transforms/Utils/SCCPSolver.h
+2-2llvm/test/Transforms/SCCP/replace-dereferenceable-ptr-with-undereferenceable.ll
+2-2llvm/lib/Analysis/Loads.cpp
+220-141 files not shown
+222-157 files

OpenBSD/ports MwDlupmprint/py-pypdf Makefile distinfo, print/py-pypdf/pkg PLIST

   Update to py3-pypdf-6.15.0.
VersionDeltaFile
1.22+8-0print/py-pypdf/pkg/PLIST
1.75+2-2print/py-pypdf/distinfo
1.81+1-1print/py-pypdf/Makefile
+11-33 files

OpenBSD/ports Qz544XKnet/dnsdist Makefile crates.inc, net/dnsdist/patches patch-dnsdist-rust-lib_rust_Cargo_lock patch-dnsdist-rust-lib_rust_Cargo_lock

   update to dnsdist-2.0.8

   dnsdist-rust-lib/rust/Cargo.lock regenerated to avoid a conflict
   between cxx 1.0.158 and cxx 1.0.191
VersionDeltaFile
1.1.2.1+383-0net/dnsdist/patches/patch-dnsdist-rust-lib_rust_Cargo_lock
1.33.2.4+58-72net/dnsdist/distinfo
1.1.4.1+28-35net/dnsdist/crates.inc
1.63.2.4+1-1net/dnsdist/Makefile
1.1+0-0net/dnsdist/patches/patch-dnsdist-rust-lib_rust_Cargo_lock
+470-1085 files

FreeBSD/src 86199f1sys/dev/ixgbe ixgbe_sriov.h if_ix.c

ixgbe: restart iflib around SR-IOV reconfiguration

The IOV callback changes the PF pool, virtualization mode, and hardware
queue indices while iflib still considers the old queue layout live.
Teardown likewise leaves the software pool and mode at their SR-IOV
values.

Use iflib stop/mutate/restart transactions for both transitions.
Disable VF DMA and PCI VF Enable before queue reuse, let outstanding
transactions drain, and restore the non-IOV pool and queue indices on
teardown.

Remove the redundant driver-local pci_iov_detach() wrapper; iflib
already performs that check centrally before the driver detach
callback.

It may be possible to avoid some restart in the future on this hardware
pausing DMA and remapping rings but not pursued yet.

MFC after:      2 weeks
DeltaFile
+25-11sys/dev/ixgbe/if_sriov.c
+2-8sys/dev/ixgbe/if_ix.c
+0-2sys/dev/ixgbe/ixgbe_sriov.h
+27-213 files

LLVM/project 9d3a3faclang/lib/AST TextNodeDumper.cpp, clang/test/AST ast-dump-APValue-lvalue.cpp

[clang][AST] Print OnePastTheEnd bit in `APValue::dump()` (#214450)

For lvalue APValues.
DeltaFile
+11-7clang/test/AST/ast-dump-APValue-lvalue.cpp
+1-0clang/lib/AST/TextNodeDumper.cpp
+12-72 files

OpenBSD/ports NNdHejsdatabases/p5-DBI Makefile distinfo

   update p5-DBI to 1.651
   CVE-2026-14380 CVE-2026-14739 CVE-2026-14740
   CVE-2026-15043 CVE-2026-15392 CVE-2026-60082
   OK afresh1@
VersionDeltaFile
1.33+2-2databases/p5-DBI/distinfo
1.75+1-1databases/p5-DBI/Makefile
+3-32 files

LLVM/project 5126975clang-tools-extra/docs/clang-tidy/checks/bugprone optional-value-conversion.md invalid-enum-default-initialization.md

[clang-tidy][docs] Rewrite bugprone check docs to Markdown [2/4]
DeltaFile
+85-86clang-tools-extra/docs/clang-tidy/checks/bugprone/narrowing-conversions.md
+66-75clang-tools-extra/docs/clang-tidy/checks/bugprone/not-null-terminated-result.md
+67-69clang-tools-extra/docs/clang-tidy/checks/bugprone/missing-end-comparison.md
+67-67clang-tools-extra/docs/clang-tidy/checks/bugprone/multiple-new-in-one-expression.md
+53-55clang-tools-extra/docs/clang-tidy/checks/bugprone/invalid-enum-default-initialization.md
+45-46clang-tools-extra/docs/clang-tidy/checks/bugprone/optional-value-conversion.md
+383-39814 files not shown
+783-81120 files

LLVM/project 3cc4656bolt/lib/Core BranchLivenessInfo.cpp, bolt/lib/Passes BranchLivenessUtils.cpp LongJmp.cpp

[BOLT][AArch64] Expand cmpbr when reversing would overflow (#202998)

AArch64 compare-and-branch instructions can usually be reversed by
changing the condition and adjusting the immediate. At boundary values,
that adjustment can underflow or overflow, leaving the branch
non-reversible.

When condition flags are dead at such a branch, split the compare branch
into an explicit compare followed by a conditional branch. The new
sequence lets branch fixup reverse the condition without relying on an
out-of-range adjusted immediate.

Teach the branch-fixing paths to use cached branch liveness information
when deciding whether this expansion is legal. The liveness snapshot is
built before branch relaxation/fixup and is safe for the current users:
they only insert trampolines/stubs between existing CFG edges or invert
branches without changing program semantics.

Since expansion can grow the source basic block, update the local

    [2 lines not shown]
DeltaFile
+131-23bolt/unittests/Core/MCPlusBuilder.cpp
+84-38bolt/test/AArch64/compare-and-branch-inversion.S
+74-29bolt/lib/Passes/LongJmp.cpp
+72-15bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
+75-0bolt/lib/Core/BranchLivenessInfo.cpp
+59-0bolt/lib/Passes/BranchLivenessUtils.cpp
+495-10514 files not shown
+645-12220 files

LLVM/project 860c36eclang/lib/AST ExprConstant.cpp

[clang][ExprConst][NFC] Remove outdated comments (#213587)

Those parameters don't exist anymore.
DeltaFile
+1-5clang/lib/AST/ExprConstant.cpp
+1-51 files

LLVM/project e9446dellvm/lib/Target/RISCV RISCVTargetTransformInfo.cpp, llvm/test/Analysis/CostModel/RISCV rvv-insertelement.ll rvv-extractelement.ll

[RISCV] Scale i64 insert/extract element cost on RV32 with LMUL (#214609)

Currently each vector instruction just has a cost of 1 but at higher
LMULs this isn't accurate.

Also it looks like the lowering might have changed since the cost was
added, but for inserts we now use vslide1down instead of vslide1up, see
the codegen in insertelt-int-rv32.ll.

---------

Co-authored-by: Ryan Buchner <buchner.ryan at gmail.com>
DeltaFile
+45-45llvm/test/Analysis/CostModel/RISCV/rvv-extractelement.ll
+42-47llvm/test/Analysis/CostModel/RISCV/rvv-insertelement.ll
+14-7llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
+101-993 files

FreeBSD/ports 62beb4fwww/py-dj60-djangorestframework Makefile distinfo

www/py-dj60-djangorestframework: Update to 3.17.2

Changelog:

https://github.com/encode/django-rest-framework/releases/tag/3.17.2

MFH:            2026Q3
Security:       5ce58e67-919a-11f1-b333-901b0edee044
DeltaFile
+3-3www/py-dj60-djangorestframework/distinfo
+1-1www/py-dj60-djangorestframework/Makefile
+4-42 files

FreeBSD/ports 50a7f8dwww/py-djangorestframework Makefile distinfo

www/py-djangorestframework: Update to 3.17.2

Changelog:

https://github.com/encode/django-rest-framework/releases/tag/3.17.2

MFH:            2026Q3
Security:       5ce58e67-919a-11f1-b333-901b0edee044
DeltaFile
+3-3www/py-djangorestframework/distinfo
+1-1www/py-djangorestframework/Makefile
+4-42 files

FreeBSD/ports 7f5e1d3security/vuxml/vuln 2026.xml

security/vuxml: Amend entry for py-mkdocs-material

* Python 3.10 is still in the ports tree, so add the related entry.
DeltaFile
+2-0security/vuxml/vuln/2026.xml
+2-01 files

FreeBSD/ports 23a1f76security/vuxml/vuln 2026.xml

security/vuxml: Document py-djangorestframework vulnerabilities
DeltaFile
+45-0security/vuxml/vuln/2026.xml
+45-01 files

LLVM/project 1211be2lldb/source/Plugins/Process/FreeBSD NativeRegisterContextFreeBSD_x86.cpp, lldb/source/Plugins/Process/NetBSD NativeRegisterContextNetBSD_x86.cpp

[lldb][X86] Fix *BSD build on GCC workaround change (#214514)

Reflect the class change on FreeBSD code.

Fixes: de4f929700f8 ("[lldb][x86] Remove GCC 6 workaround")
DeltaFile
+1-1lldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86.cpp
+1-1lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_x86.cpp
+2-22 files

FreeBSD/src 2cf580cshare/man/man4 em.4, sys/dev/e1000 if_igb_iov.c

iflib: Permit SR-IOV configuration on a down interface

Drivers which remap PF queues need a stop/mutate/restart transaction
only when the interface has live queues. Permit their IOV
initialization callback while the interface is administratively down
and leave it down afterward.

This restores the standard boot-time iovctl.conf workflow for igb and
lets other opt-in drivers configure VFs before netif brings the PF up.

MFC after:      1 week
DeltaFile
+11-11sys/net/iflib.c
+5-3share/man/man4/em.4
+4-0sys/dev/e1000/if_igb_iov.c
+20-143 files

LLVM/project b0b88aalibcxx/test/libcxx/input.output/iostream.objects cin-read-stdio-sync.sh.cpp

fixup! [libcxx] Speed up xsgetn for always_noconv
DeltaFile
+9-0libcxx/test/libcxx/input.output/iostream.objects/cin-read-stdio-sync.sh.cpp
+9-01 files

LLVM/project 2a0c57cllvm/lib/Target/AArch64/GISel AArch64InstructionSelector.cpp, llvm/test/CodeGen/AArch64/GlobalISel select-store.mir

[AArch64][GlobalISel] Fix invalid subregister copies for truncating stores (#213935)

The custom truncating store selector always created a subregister copy
matching the memory type. When storing an i16 value to i8 both types
used GPR32, producing an invalid copy:
```
  *** Bad machine code: Invalid subregister index for virtual register ***
  - function:    truncstores
  - basic block: %bb.0  (0xb1a58e8738c0)
  - instruction: %2:gpr32 = COPY %val16.sub_32:gpr32
  - operand 1:   %val16.sub_32:gpr32
  Register class GPR32 does not support subreg index sub_32
  LLVM ERROR: Found 1 machine code errors.
```
This code path should only be used for FPRs. The existing RegBankSelect
avoids this by inserting a G_ANYEXT from i16 to i32, allowing the
imported pattern to match. It was exposed by the type-based
RegBankSelect prototype in #199040.

Assisted-by: codex
DeltaFile
+6-0llvm/test/CodeGen/AArch64/GlobalISel/select-store.mir
+2-1llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
+8-12 files