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 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

NetBSD/pkgsrc XAXRlhOmath/fast_float distinfo Makefile

   fast_float: updated to 8.2.8

   8.2.8
   Fix compile error in clang<10: fails on pragma -Wc++20-extensions
VersionDeltaFile
1.16+4-4math/fast_float/distinfo
1.16+2-2math/fast_float/Makefile
+6-62 files

LLVM/project d43169cclang/lib/AST/ByteCode InterpBuiltin.cpp, clang/test/AST/ByteCode builtin-functions.cpp

[clang][bytecode] Loosen a __builtin_subcb assertion (#202284)

The types should match, but `QualType`s can't be compared with `==` like
that.
DeltaFile
+8-0clang/test/AST/ByteCode/builtin-functions.cpp
+2-1clang/lib/AST/ByteCode/InterpBuiltin.cpp
+10-12 files

FreeBSD/src 62c1865sys/net80211 ieee80211_crypto.h

net80211: delete the deprecated ieee80211_wepkey struct

This hasn't been used in a long time, and since I am shuffling around
the net80211 crypto API a bunch, let's just delete it instead of
leaving it here and trying to figure out how to support it if it's
used by userland somehow.

Reviewed by:    guest-seuros
Differential Revision:  https://reviews.freebsd.org/D57312
DeltaFile
+0-8sys/net80211/ieee80211_crypto.h
+0-81 files

FreeBSD/src a653fd5sys/dev/malo if_malo.h, sys/dev/mwl if_mwl.c

net80211: create IEEE80211_KEYBUF_128_SIZE / IEEE80211_MICBUF_128_SIZE

The IEEE80211_KEYBUF_SIZE and IEEE80211_MICBUF_SIZE are sprinkled
throughout the net80211 stack, ioctl API and drivers.  This makes it
challenging to (eventually) up IEEE80211_KEYBUF_SIZE to support 256 /
384 bit encryption as, well, it'll break every single driver and the
ioctl API in doing so.

So as part of this, let's start to separate out the current key/mic
buffer size from what drivers and the ioctl layer are using.
Drivers especially shouldn't be using these definitions as their
key sizes are hardware / firmware API limits, not net80211 limits.
Ideally drivers would define their own key buffer / mic buffer
sizes and only copy in keys up to that length (and fail keys
that are too large) but the current net80211 API isn't there yet.

This doesn't yet change what defines / buffer sizes are used in the
ioctl layer.  I'm going to plan out some subsequent work to
separate out those defines and ioctl APIs so they maintain using

    [4 lines not shown]
DeltaFile
+18-2sys/net80211/ieee80211_crypto.h
+3-3sys/dev/malo/if_malo.h
+2-2sys/net80211/ieee80211_crypto_wep.c
+2-2sys/dev/mwl/if_mwl.c
+2-2sys/dev/ral/rt2560reg.h
+2-2sys/dev/usb/wlan/if_rsureg.h
+29-135 files not shown
+37-2111 files

LLVM/project 4797c60libcxx/test/std/containers/views/views.span/span.cons assign.pass.cpp array.pass.cpp, libcxx/test/std/containers/views/views.span/span.elem data.pass.cpp op_idx.pass.cpp

[libc++][span][test] Various cleanups for <span> tests (#202319)

This patch does:
- Simplify some test implementations
- Polish comments and synopsis

---------

Co-authored-by: A. Jiang <de34 at live.cn>
DeltaFile
+121-122libcxx/test/std/containers/views/views.span/span.cons/assign.pass.cpp
+38-39libcxx/test/std/containers/views/views.span/span.cons/array.pass.cpp
+30-30libcxx/test/std/containers/views/views.span/span.cons/span.verify.cpp
+28-28libcxx/test/std/containers/views/views.span/span.elem/data.pass.cpp
+29-21libcxx/test/std/containers/views/views.span/span.elem/op_idx.pass.cpp
+20-23libcxx/test/std/containers/views/views.span/span.cons/stdarray.pass.cpp
+266-26330 files not shown
+554-50336 files

LLVM/project d74a606clang-tools-extra/test/clang-tidy/checkers/altera id-dependent-backward-branch.cpp

[clang-tidy] Fix OpenCL builtin redeclaration in test (#202429)

Guard the local `get_local_id` declaration so OpenCL C++ runs use the
builtin declaration and non-OpenCL C++ runs still compile.

Reported in:
https://github.com/llvm/llvm-project/pull/200660#issuecomment-4651173130
DeltaFile
+2-1clang-tools-extra/test/clang-tidy/checkers/altera/id-dependent-backward-branch.cpp
+2-11 files

OpenBSD/ports IKVLhPSsysutils/firmware/arm64-qcom-dtb Makefile, sysutils/firmware/arm64-qcom-dtb/patches patch-src_arm64_qcom_x1e80100-samsung-galaxy-book4-edge_dts

   Add DTS nodes for the Samsung Galaxy Book4 Edge to make gpiokeys(4) attach
   so that suspend/resume works on lid close/open.

   ok deraadt@
VersionDeltaFile
1.5+24-1sysutils/firmware/arm64-qcom-dtb/patches/patch-src_arm64_qcom_x1e80100-samsung-galaxy-book4-edge_dts
1.32+1-1sysutils/firmware/arm64-qcom-dtb/Makefile
+25-22 files

LLVM/project 29b36a1llvm/lib/Target/BPF BTFDebug.cpp, llvm/test/CodeGen/BPF/BTF func-nocall-stack-arg-i64.ll func-nocall-stack-arg.ll

[BPF] Emit ABI-accurate BTF prototypes for DW_CC_nocall (#198426)

DW_CC_nocall subprograms can end up with an optimized IR signature that no
longer matches the original source-level DISubroutineType. Dead argument
elimination may drop source parameters, and the return value may be
removed entirely, while the debug type still describes the original
prototype. In that case BTFDebug emits a FUNC_PROTO that no longer
matches the real BPF ABI.

Teach BTFDebug to derive a filtered FUNC_PROTO for nocall functions.

Detecting surviving arguments (collectNocallEntryArgRegs):

Scan all DBG_VALUE instructions in the entry block while tracking which
registers have been redefined by non-debug instructions:

- A DBG_VALUE whose register has not been redefined records a
  register-passed argument (R1-R5 at function entry).
- A DBG_VALUE whose register was most recently loaded via LDD $r11,

    [35 lines not shown]
DeltaFile
+298-25llvm/lib/Target/BPF/BTFDebug.cpp
+72-0llvm/test/CodeGen/BPF/BTF/func-nocall-stack-arg-i64.ll
+69-0llvm/test/CodeGen/BPF/BTF/func-nocall-stack-arg.ll
+61-0llvm/test/CodeGen/BPF/BTF/func-nocall-decl-tag.ll
+61-0llvm/test/CodeGen/BPF/BTF/func-nocall-no-dead-arg.ll
+60-0llvm/test/CodeGen/BPF/BTF/func-nocall-mixed-types.ll
+621-2511 files not shown
+1,136-3317 files

FreeBSD/ports 2cb2ed3devel/libmcfp distinfo Makefile, devel/libmcfp/files patch-CMakeLists.txt

devel/libmcfp: update 2.0.0 → 2.0.2
DeltaFile
+11-17devel/libmcfp/files/patch-CMakeLists.txt
+3-3devel/libmcfp/distinfo
+1-2devel/libmcfp/Makefile
+15-223 files

LLVM/project 2da2349llvm/lib/Target/NVPTX NVPTXISelLowering.cpp, llvm/test/CodeGen/NVPTX math-intrins.ll

Revert "[NVPTX] Support lowering of `(l)lround`" (#202500)

Reverts llvm/llvm-project#183901

Looks like using removeFromUseLists from Transforms doesn’t work in
certain configurations.
DeltaFile
+0-151llvm/test/CodeGen/NVPTX/math-intrins.ll
+0-2llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
+0-1532 files

FreeBSD/ports eba39e3graphics/openslide Makefile

graphics/openslide: Correct dependencies
DeltaFile
+4-3graphics/openslide/Makefile
+4-31 files

LLVM/project a581124lldb/source/Expression DWARFExpression.cpp, lldb/test/Shell/SymbolFile/DWARF/x86 DW_OP_impilict_value.s

[LLDB] Fix DW_OP_implicit_value GetOpcodeDataSize() error (#201344)

LLDB does not handle `DW_OP_implicit_value` right, causing a "cannot get
opcode data size for Unknown DW_OP constant" error when LLDB parses
location expressions containing this opcode.

`DW_OP_implicit_value` takes two operands: a ULEB128-encoded length
followed by a byte sequence of that length. The current
`GetOpcodeDataSize` implementation has no case for this opcode, only
skip. This prevents LLDB from correctly determining opcode boundaries
when scanning multi-operation location expressions.

From DWARFv5
> The DW_OP_implicit_value operation specifies an immediate value using
two operands: an unsigned LEB128 length, followed by a sequence of bytes
of the given length that contain the value.

Although the evaluation path (`DWARFExpression::Evaluate`) handles this
opcode correctly and produces the right result, the validation/parsing
path emits a confusing error message to the user.
DeltaFile
+166-0lldb/test/Shell/SymbolFile/DWARF/x86/DW_OP_impilict_value.s
+10-0lldb/unittests/Expression/DWARFExpressionTest.cpp
+1-1lldb/source/Expression/DWARFExpression.cpp
+177-13 files

LLVM/project 7a1c714utils/bazel/llvm-project-overlay/llvm BUILD.bazel

[bazel] Port 7ed2f70 (#202497)
DeltaFile
+3-1utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+3-11 files