LLVM/project 32b423eflang/include/flang/Optimizer/HLFIR Passes.td, flang/lib/Optimizer/HLFIR/Transforms InlineHLFIRCopy.cpp InlineHLFIRCopyIn.cpp

[flang][hlfir] Extend InlineHLFIRCopy to inline copy_out with copy-back (#202290)

Rename `InlineHLFIRCopyIn` to `InlineHLFIRCopy` and extend it to inline
the paired `hlfir.copy_out` operation. The copy_out is inlined at its
original location, after the call, ensuring proper ordering of copy-back
and deallocation.

Only inlines when no copy-back is required (intent(in));
intent(inout/out) pairs are left untransformed.

Based on https://github.com/llvm/llvm-project/pull/179096.

Co-Authored-By: Kazuaki Matsumura <kmatsumura at nvidia.com> (Original
author of the changes).
Co-Authored-By: Claude Sonnet 4.6 <noreply at anthropic.com>

Co-authored-by: Kazuaki Matsumura <kmatsumura at nvidia.com>
Co-authored-by: Claude Sonnet 4.6 <noreply at anthropic.com>
DeltaFile
+220-0flang/lib/Optimizer/HLFIR/Transforms/InlineHLFIRCopy.cpp
+0-206flang/test/HLFIR/inline-hlfir-copy-in.fir
+194-0flang/test/HLFIR/inline-hlfir-copy.fir
+0-187flang/lib/Optimizer/HLFIR/Transforms/InlineHLFIRCopyIn.cpp
+2-2flang/include/flang/Optimizer/HLFIR/Passes.td
+1-1flang/lib/Optimizer/HLFIR/Transforms/CMakeLists.txt
+417-3961 files not shown
+418-3977 files

LLVM/project 9737387.github/workflows release-binaries.yml, llvm/utils/release build_llvm_release.bat

workflows/release-binaries: Install zstd on windows-11-arm (#201672)

Assisted-by: codex
DeltaFile
+8-2.github/workflows/release-binaries.yml
+1-1llvm/utils/release/build_llvm_release.bat
+9-32 files

LLVM/project 4bf399dlibcxx/include/__iterator wrap_iter.h

[libc++] Finish converting __wrap_iter::operator<,== to C++20 (#193287)

+ operator< was overlooked in #179590
+ operator< was not marked constexpr in C++11
+ operator== should be defaulted when possible in C++20

Fixes #193283
DeltaFile
+13-5libcxx/include/__iterator/wrap_iter.h
+13-51 files

LLVM/project a530a33flang/include/flang/Optimizer/HLFIR Passes.td, flang/lib/Optimizer/HLFIR/Transforms InlineHLFIRCopy.cpp InlineHLFIRCopyIn.cpp

[flang][hlfir] Extend InlineHLFIRCopy to inline copy_out with copy-back

Rename `InlineHLFIRCopyIn` to `InlineHLFIRCopy` and extend it to inline
the paired `hlfir.copy_out` operation. The copy_out is inlined at its
original location, after the call, ensuring proper ordering of copy-back
and deallocation.

Only inlines when no copy-back is required (intent(in)); intent(inout/out)
pairs are left untransformed.

Based on https://github.com/llvm/llvm-project/pull/179096.

Co-Authored-By: Kazuaki Matsumura <kmatsumura at nvidia.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply at anthropic.com>
DeltaFile
+220-0flang/lib/Optimizer/HLFIR/Transforms/InlineHLFIRCopy.cpp
+0-206flang/test/HLFIR/inline-hlfir-copy-in.fir
+194-0flang/test/HLFIR/inline-hlfir-copy.fir
+0-187flang/lib/Optimizer/HLFIR/Transforms/InlineHLFIRCopyIn.cpp
+2-2flang/include/flang/Optimizer/HLFIR/Passes.td
+1-1flang/lib/Optimizer/HLFIR/Transforms/CMakeLists.txt
+417-3961 files not shown
+418-3977 files

FreeBSD/ports 8993154databases/sqlcipher distinfo Makefile

databases/sqlcipher: Update 4.13.0 => 4.16.0

Changelogs:
https://github.com/sqlcipher/sqlcipher/releases/tag/v4.14.0
https://github.com/sqlcipher/sqlcipher/releases/tag/v4.15.0
https://github.com/sqlcipher/sqlcipher/releases/tag/v4.16.0

PR:             295256
Approved by:    jharris at widomaker.com (maintainer, timeout 4 weeks)
Sponsored by:   UNIS Labs
MFH:            2026Q2

(cherry picked from commit e9f0e29a2bf7be859a3d0ad0d174d976889a524b)
DeltaFile
+3-3databases/sqlcipher/distinfo
+1-2databases/sqlcipher/Makefile
+1-1databases/sqlcipher/pkg-plist
+5-63 files

pkgng/pkgng 7119e50libpkg pkg_jobs_conflicts.c

jobs/conflicts: fix data corruption in conflict_items_insert

conflict_items_insert called vec_push first, then memmove to shift
elements right at the insertion position. This overwrote the just-pushed
element at the end of the vector, duplicating the last existing element
instead.

Fix by growing capacity manually, shifting elements first, then
inserting at the correct position.
DeltaFile
+13-5libpkg/pkg_jobs_conflicts.c
+13-51 files

pkgng/pkgng 84a5c49libpkg pkghash.c pkghash.h

pkghash: fix deletion in open-addressing hash table

Use tombstone markers instead of NULLing keys on deletion.
In open-addressing with linear probing, setting key to NULL creates
a hole that breaks probe chains for subsequent lookups.

Track tombstones and trigger rehash when tombstone density exceeds 25%
to guarantee bounded probe sequences.
DeltaFile
+31-14libpkg/pkghash.c
+1-0libpkg/pkghash.h
+32-142 files

pkgng/pkgng ebbfe3dlibpkg clean_cache.c triggers.c

fdopendir UB: use dirfd() instead of raw fd

POSIX states that after fdopendir(), the file descriptor is under
the control of the system and must not be used directly. Use dirfd()
to retrieve the fd from the DIR stream for subsequent openat()
and fstatat() calls.

Rename dirfd variable in clean_cache.c to avoid collision with
the POSIX dirfd() function.
DeltaFile
+9-9libpkg/clean_cache.c
+3-3libpkg/triggers.c
+2-2libpkg/pkg_repo_create.c
+14-143 files

pkgng/pkgng d4f6eb8libpkg pkg.c

pkg: simplify pkg_is_valid with table-driven NULL checks

Replace the chain of 9 identical if/return checks with a loop over
a table of (offsetof, name) pairs. This reduces ~50 lines to ~25,
makes the required-fields list explicit, and simplifies adding or
removing required fields in the future.
DeltaFile
+24-38libpkg/pkg.c
+24-381 files

pkgng/pkgng a81e5f5libpkg pkg_manifest.c

manifest: replace sscanf in url_decode with manual hex conversion

The sscanf("%2x") call in url_decode is expensive and pulls in
the full scanf machinery. Replace it with a simple inline hex
conversion using the (c | 32) trick to normalize letter case.
DeltaFile
+13-3libpkg/pkg_manifest.c
+13-31 files

pkgng/pkgng ba08a6dlibpkg pkg_manifest.c

manifest: replace script-type if-chains with table-driven lookups

Replace the manual if/STREQ chains in script_type_str() and
lua_script_type_str() with loops over static const lookup tables.
This makes the valid types explicit and simplifies adding new script
types in the future.
DeltaFile
+30-20libpkg/pkg_manifest.c
+30-201 files

pkgng/pkgng a08047dlibpkg pkg_add.c

add: fix temp file leak and potential buffer overflow in merge_with_external_tool

- Unlink the output_path temp file on all error paths (strlcpy truncation
  and tmp file creation failures) to prevent leaking temp files in /tmp.
- Fix potential buffer overflow when constructing the merge command:
  strlcpy returns the full source length even on truncation, which could
  advance i past the command[MAXPATHLEN] bounds. Cap at the actual
  number of bytes written to stay within the buffer.
DeltaFile
+22-5libpkg/pkg_add.c
+22-51 files

pkgng/pkgng b50b11blibpkg pkg_checksum.c

checksum: replace sprintf in hex encoding with inline conversion

Replace sprintf("%02x") in pkg_checksum_encode_hex with a
simple lookup table for hex characters. This is faster (no
format string parsing) and equally clear.
DeltaFile
+5-2libpkg/pkg_checksum.c
+5-21 files

OPNSense/core b243971src/opnsense/mvc/app/models/OPNsense/OpenVPN OpenVPN.xml

VPN: OpenVPN: Instances - require at least 1 for vpnid field, same as auto-number should use. closes https://github.com/opnsense/core/issues/10394
DeltaFile
+1-0src/opnsense/mvc/app/models/OPNsense/OpenVPN/OpenVPN.xml
+1-01 files

FreeBSD/ports e9f0e29databases/sqlcipher distinfo Makefile

databases/sqlcipher: Update 4.13.0 => 4.16.0

Changelogs:
https://github.com/sqlcipher/sqlcipher/releases/tag/v4.14.0
https://github.com/sqlcipher/sqlcipher/releases/tag/v4.15.0
https://github.com/sqlcipher/sqlcipher/releases/tag/v4.16.0

PR:             295256
Approved by:    jharris at widomaker.com (maintainer, timeout 4 weeks)
Sponsored by:   UNIS Labs
MFH:            2026Q2
DeltaFile
+3-3databases/sqlcipher/distinfo
+1-2databases/sqlcipher/Makefile
+1-1databases/sqlcipher/pkg-plist
+5-63 files

FreeBSD/ports 6b7bdf4net/zapret2 distinfo Makefile

net/zapret2: update 1.0 → 1.0.1
DeltaFile
+3-3net/zapret2/distinfo
+1-1net/zapret2/Makefile
+4-42 files

FreeBSD/ports dd9d195science/dimod distinfo Makefile, science/py-dimod distinfo Makefile

science/{,py-}dimod: update 0.12.21 → 0.12.22
DeltaFile
+3-3science/py-dimod/distinfo
+3-3science/dimod/distinfo
+2-2science/dimod/Makefile
+1-2science/py-dimod/Makefile
+9-104 files

FreeBSD/ports 0eee5dcdeskutils/just distinfo Makefile

deskutils/just: update 1.51.0 → 1.52.0
DeltaFile
+53-57deskutils/just/distinfo
+26-29deskutils/just/Makefile
+79-862 files

FreeBSD/ports f2cada5science/py-phonopy distinfo Makefile, science/py-phonopy/files patch-test_conftest.py

science/py-phonopy: update 4.0.0 → 4.2.0
DeltaFile
+0-22science/py-phonopy/files/patch-test_conftest.py
+3-3science/py-phonopy/distinfo
+1-1science/py-phonopy/Makefile
+4-263 files

FreeBSD/ports f38e61esysutils/opa distinfo Makefile

sysutils/opa: update 1.17.0 → 1.17.1
DeltaFile
+5-5sysutils/opa/distinfo
+1-2sysutils/opa/Makefile
+6-72 files

FreeBSD/ports 20a2e99security/cowrie distinfo Makefile

security/cowrie: update 3.0.1 → 3.0.2
DeltaFile
+3-3security/cowrie/distinfo
+2-2security/cowrie/Makefile
+5-52 files

FreeBSD/ports 351f289net-p2p/libtorrent-rasterbar2 distinfo Makefile

net-p2p/libtorrent-rasterbar2: update 2.0.12 → 2.0.13
DeltaFile
+3-3net-p2p/libtorrent-rasterbar2/distinfo
+1-1net-p2p/libtorrent-rasterbar2/Makefile
+1-1net-p2p/libtorrent-rasterbar2/pkg-plist
+5-53 files

FreeBSD/ports 287c1d9math/elan distinfo Makefile

math/elan: update 4.2.2 → 4.2.3
DeltaFile
+3-3math/elan/distinfo
+1-2math/elan/Makefile
+4-52 files

LLVM/project cd3950dclang/test/CodeGen attr-counted-by-issue200014.c

[Clang][test] Add inferred nofree to attr-counted-by-issue200014.c checks (#202491)

Commit 89905ff21441 ("[FunctionAttrs] Add support for nofree argument
inference", #201591) infers a `nofree` parameter attribute at `-O2`. The
test `attr-counted-by-issue200014.c` (added later in #201161) was
generated before that change, so its `O2-SAME` lines omit `nofree` and
currently fail on `main`:

```
O2-SAME: ptr noundef readonly captures(none) ...   (expected by test)
         ptr nofree noundef readonly captures(none) ...   (actual codegen)
```

This regenerates the checks with `update_cc_test_checks.py`. Test-only,
NFC.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.8 (1M context) <noreply at anthropic.com>
DeltaFile
+3-3clang/test/CodeGen/attr-counted-by-issue200014.c
+3-31 files

LLVM/project 5ec4461clang/lib/AST ExprConstant.cpp, clang/lib/AST/ByteCode State.cpp InterpState.h

[clang][ExprConst] Remove `State::getBottomFrame()` (#202277)

This is not necessary since `Frame` already has a `getCaller()`
function, which can be used to identify the bottom frame.
And the current code never needs the bottom frame for anything other
than checking if another frame is the bottom frame.
DeltaFile
+2-2clang/lib/AST/ByteCode/State.cpp
+1-2clang/lib/AST/ExprConstant.cpp
+0-2clang/lib/AST/ByteCode/InterpState.h
+0-1clang/lib/AST/ByteCode/State.h
+3-74 files

LLVM/project bf14b9fclang/lib/CodeGen CGOpenMPRuntime.cpp, clang/test/OpenMP critical-dso-local.cpp critical_codegen.cpp

[OpenMP] Mark critical region lock variables as dso_local (#201157)

OpenMP named critical regions use lock variables of the form
.gomp_critical_user_<name>.var, which are created through
CGOpenMPRuntime::getCriticalRegionLock().

These variables are created via
OpenMPIRBuilder::getOrCreateInternalVariable() and bypass the normal
CodeGenModule::setDSOLocal() path used for other Clang-generated
globals. As a result, OpenMP critical lock variables do not receive the
usual frontend dso_local inference.

Apply CodeGenModule::setDSOLocal() to critical lock variables after
creation. This matches the existing frontend
dso_local inference logic.

On ELF targets with a static relocation model, this results in direct
accesses to the lock variable instead of GOT-based accesses. For
example, x86-64 code generation changes from R_X86_64_REX_GOTPCRELX

    [4 lines not shown]
DeltaFile
+13-0clang/test/OpenMP/critical-dso-local.cpp
+3-3clang/test/OpenMP/critical_codegen.cpp
+3-3clang/test/OpenMP/critical_codegen_attr.cpp
+4-1clang/lib/CodeGen/CGOpenMPRuntime.cpp
+23-74 files

NetBSD/pkgsrc slU4eRTdoc CHANGES-2026

   Updated math/fast_float, net/grpc
VersionDeltaFile
1.3648+3-1doc/CHANGES-2026
+3-11 files

NetBSD/pkgsrc 4nCSS4vnet/grpc distinfo Makefile

   grpc: updated to 1.81.1

   1.81.1

   Core

   [EventEngine] Fix a potential use-after-free error on Windows.
   [ssl] Server side handshaker factory stores a map of key signers.
   [Core] Fix completion queue shutdown race on weak memory models (ARM).
   [EventEngine] Fix a Windows race that causes an assertion error.
   [grpc_error] enable error_flatten experiment in OSS.
   [Python] Trim Python2 backward compatiblity syntax - removed (object) inheritance.

   Objective-C

   [ObjC] Add receiveNextMessage to GRPCUnaryProtoCall.

   Python


    [12 lines not shown]
VersionDeltaFile
1.112+4-4net/grpc/distinfo
1.119+2-2net/grpc/Makefile
+6-62 files

FreeBSD/ports 1810bf9www/phalcon distinfo Makefile

www/phalcon: update to 5.14.1.
DeltaFile
+3-3www/phalcon/distinfo
+1-1www/phalcon/Makefile
+4-42 files

LLVM/project e4e8ea4llvm/lib/Target/RISCV/AsmParser RISCVAsmParser.cpp, llvm/lib/Target/RISCV/MCTargetDesc RISCVInstPrinter.cpp

[RISCV] Don't require specific extensions to use altfmt with vset(i)vli. (#202458)

The list of extensions that use altfmt is increasing and is becoming
unsustainable. The likelihood of the bit being repurposed is decreasing
with each new use. Let's just allow it unconditionally.

There is some risk here since all of these extensions are still
unratified and experimental so it could be that all of these extensions
get redefined so that this bit doesn't become altfmt. But I think that's
unlikely.
DeltaFile
+23-23llvm/test/MC/RISCV/rvv/invalid.s
+3-19llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
+2-16llvm/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.cpp
+3-10llvm/test/MC/RISCV/rvv/vsetvl-alt.s
+2-2llvm/test/MC/RISCV/rvv/vsetvl-invalid.s
+1-1llvm/test/MC/RISCV/rvv/zvfbdota32f-invalid.s
+34-716 files