LLVM/project 9c747b3clang/lib/Serialization ASTReaderDecl.cpp, clang/test/Modules GH207581.cpp

[clang] [serialization] Step into UsingShadowDecl when find existing decl (#208393)

Close https://github.com/llvm/llvm-project/issues/207581

The root cause of the problem is that:enum constant decl, for which its
parent is not enum class, is special. They can be accessed directly
without access its parent. When modules join the game, it becomes more
complex. As for members in other entities like class, we can assume the
member is accessable if their parent are accesable. But it is a
different story for enums. See
https://github.com/llvm/llvm-project/issues/131058 for the whole story
of the backrgound.

Then we didn't write enum constant decl to the lookup table of its
parent of parent in the ASTWriter. So that if other consumer in Sema
wants to access them, they have to get it by entities like exported
using decls. However, the problem is, in ASTReader, when we merge decls,
we use noload_lookup to find existing decls. And the absense of unnamed
enum decl in the parent of its parent's lookup table makes the merge

    [7 lines not shown]
DeltaFile
+45-0clang/test/Modules/GH207581.cpp
+20-6clang/lib/Serialization/ASTReaderDecl.cpp
+65-62 files

LLVM/project f22e7b5llvm/include/llvm/DWARFLinker/Classic DWARFLinkerCompileUnit.h, llvm/lib/DWARFLinker/Classic DWARFLinkerCompileUnit.cpp

[dsymutil] Use DWARFDie::getLanguage instead of manually finding DW_AT_language (#208174)

With DWARFv6, CUs may not have a `DW_AT_language` (but a
`DW_AT_language_name` instead). In
https://github.com/llvm/llvm-project/pull/207151 we made
`DWARFDie::getLanguage` account for this possibility. However, dsymutil
explicitly tries to find `DW_AT_language` in several places.

This patch ensures we go through `DWARFDie::getLanguage` instead in most
of them.

The only way I found this to be testable/observable is by testing the
`isODRLanguage` code paths. Added a test that exercises this.

There is one remaining use of `DW_AT_language` in
`DependencyTracker.cpp`. But was going to address that in a separate
change.

AI usage:
- Test written with the help of Claude
DeltaFile
+192-0llvm/test/tools/dsymutil/X86/dwarf6-language-name-odr.test
+3-6llvm/lib/DWARFLinker/Parallel/DWARFLinkerImpl.cpp
+3-4llvm/lib/DWARFLinker/Classic/DWARFLinkerCompileUnit.cpp
+1-2llvm/lib/DWARFLinker/Parallel/DWARFLinkerCompileUnit.cpp
+1-1llvm/include/llvm/DWARFLinker/Classic/DWARFLinkerCompileUnit.h
+200-135 files

LLVM/project c378bc3llvm/include/llvm/ObjectYAML ContiguousBlobAccumulator.h, llvm/lib/ObjectYAML ContiguousBlobAccumulator.cpp

[ObjectYAML] Fix issues found in review of #207306 (#208160)

- checkLimit(): avoid uint64_t overflow.
- writeAsBinary(): check the limit against the bytes actually written.
- updateDataAt(): take const void *Data.
DeltaFile
+5-3llvm/lib/ObjectYAML/ContiguousBlobAccumulator.cpp
+1-1llvm/include/llvm/ObjectYAML/ContiguousBlobAccumulator.h
+6-42 files

LLVM/project 6ae5965llvm/include/llvm/IR PassManagerInternal.h

Revert "[IR][NFC] Drop vtable from PassConcept/PassModel" (#208389)

Breaks ASan builds due to new-delete mismatch.

Closes #208381.

Reverts llvm/llvm-project#208168
DeltaFile
+35-71llvm/include/llvm/IR/PassManagerInternal.h
+35-711 files

FreeBSD/src 28f617dcontrib/tzcode zic.c localtime.c

tzcode: Update to 2026c

MFC after:      1 week
DeltaFile
+181-170contrib/tzcode/zic.c
+44-34contrib/tzcode/localtime.c
+70-7contrib/tzcode/NEWS
+10-56contrib/tzcode/zdump.c
+23-27contrib/tzcode/tz-link.html
+17-28contrib/tzcode/Makefile
+345-3229 files not shown
+414-37915 files

OPNSense/core 96ad1d3src/opnsense/scripts/firmware read.sh config.sh

firmware: cleansing using output_cmd is futile

Move the code back to where it was in early 26.1.  A number of
regressions could have been avoided.  The last straw was buffering
of "." characters for fetching.

The read-guard is still effective.  As it reads the file it does
not need to run unbuffered.  GUI reads are still properly filtered.

(cherry picked from commit 1eaefb6bc81052c5454d20333cbc32d1c1392ee1)
DeltaFile
+1-5src/opnsense/scripts/firmware/read.sh
+2-3src/opnsense/scripts/firmware/config.sh
+3-82 files

OPNSense/core 73b9ad0src/opnsense/mvc/app/models/OPNsense/Monit Monit.xml

monit: fix mail-format and poll-time validation; closes #10498

(cherry picked from commit d930c0412d7e472b48e11c0c91cf73a3620067dd)
DeltaFile
+6-1src/opnsense/mvc/app/models/OPNsense/Monit/Monit.xml
+6-11 files

OPNSense/core 8eada1fsrc/opnsense/mvc/app/models/OPNsense/Unbound Unbound.xml

Services: Unbound DNS: Overrides - missing NetMaskAllowed=N on override address, closes https://github.com/opnsense/core/issues/10499

(cherry picked from commit 0633bfa54f7949fdac75d871fc915ed6ec6ad58e)
DeltaFile
+1-0src/opnsense/mvc/app/models/OPNsense/Unbound/Unbound.xml
+1-01 files

LLVM/project b94defellvm/test/CodeGen/AArch64 fast-isel-int-ext.ll

[AArch64][FastISel] Update arm64-fast-isel-int-ext.ll check lines (NFC) (#207996)

Similar to #207159 (merged as 15b3882), update the CHECK lines
automatically in prep for new tests and bug fixes.
DeltaFile
+173-114llvm/test/CodeGen/AArch64/fast-isel-int-ext.ll
+173-1141 files

FreeBSD/ports 5d2e6b2misc Makefile, misc/py-llama-index-llms-openai-like Makefile pkg-descr

misc/py-llama-index-llms-openai-like: New port: LlamaIndex LLMs OpenAI-like integration
DeltaFile
+26-0misc/py-llama-index-llms-openai-like/Makefile
+4-0misc/py-llama-index-llms-openai-like/pkg-descr
+3-0misc/py-llama-index-llms-openai-like/distinfo
+1-0misc/Makefile
+34-04 files

LLVM/project a443951llvm/include/llvm/Support GenericLoopInfo.h GenericLoopInfoImpl.h

Require GraphHasNodeNumbers in llvm::LoopInfoBase; drop the DenseMap fallback (#207905)

LoopInfoBase kept a DenseMap fallback for block types whose GraphTraits
has no getNumber() (std::conditional_t on GraphHasNodeNumbers). With the
last such in-tree users now numbered (mlir::Block #207617 and BOLT's
BinaryBasicBlock #207899), require GraphHasNodeNumbers via static_assert
and make BBMap unconditionally a SmallVector indexed by block number,
dropping the DenseMap branch in
getLoopFor/changeLoopFor/removeBlock/analyze/verify.

Aided by Claude Opus 4.8
DeltaFile
+30-49llvm/include/llvm/Support/GenericLoopInfo.h
+18-33llvm/include/llvm/Support/GenericLoopInfoImpl.h
+48-822 files

FreeBSD/ports 5e7f2dcmisc Makefile, misc/py-llama-index-llms-openai Makefile pkg-descr

misc/py-llama-index-llms-openai: New port: LlamaIndex LLMs OpenAI integration
DeltaFile
+26-0misc/py-llama-index-llms-openai/Makefile
+4-0misc/py-llama-index-llms-openai/pkg-descr
+3-0misc/py-llama-index-llms-openai/distinfo
+1-0misc/Makefile
+34-04 files

NetBSD/src Prm3IbQtests/lib/libcurses/check_files wcolor_set.chk mutt_test5.chk

   Pull up the following revisions(s) (requested by blymn in ticket #375):
        tests/lib/libcurses/check_files/addstr2.chk:    revision 1.5
        tests/lib/libcurses/check_files/chgat3.chk:     revision 1.2
        tests/lib/libcurses/check_files/mvchgat2.chk:   revision 1.2
        tests/lib/libcurses/check_files/mutt_test3.chk: revision 1.3
        tests/lib/libcurses/check_files/mutt_test8.chk: revision 1.3
        tests/lib/libcurses/check_files/mutt_test9.chk: revision 1.3
        tests/lib/libcurses/check_files/mvwchgat2.chk:  revision 1.3
        tests/lib/libcurses/check_files/wchgat2.chk:    revision 1.3
        tests/lib/libcurses/check_files/wchgat3.chk:    revision 1.3
        tests/lib/libcurses/check_files/mutt_test4.chk: revision 1.4
        tests/lib/libcurses/check_files/mutt_test5.chk: revision 1.4
        tests/lib/libcurses/check_files/mutt_test6.chk: revision 1.4
        tests/lib/libcurses/check_files/wcolor_set.chk: revision 1.4

   ATF check files for PR lib/58282
VersionDeltaFile
1.3.6.1+5-6tests/lib/libcurses/check_files/wcolor_set.chk
1.3.6.1+2-3tests/lib/libcurses/check_files/mutt_test5.chk
1.2.6.1+0-1tests/lib/libcurses/check_files/mutt_test9.chk
1.1.16.1+0-1tests/lib/libcurses/check_files/mvchgat2.chk
1.2.6.1+0-1tests/lib/libcurses/check_files/mvwchgat2.chk
1.2.6.1+0-1tests/lib/libcurses/check_files/wchgat2.chk
+7-137 files not shown
+7-2013 files

FreeBSD/ports e387accmisc Makefile, misc/py-llama-index-llms-ibm Makefile pkg-descr

misc/py-llama-index-llms-ibm: New port: LlamaIndex LLMs IBM watsonx.ai integration
DeltaFile
+27-0misc/py-llama-index-llms-ibm/Makefile
+4-0misc/py-llama-index-llms-ibm/pkg-descr
+3-0misc/py-llama-index-llms-ibm/distinfo
+1-0misc/Makefile
+35-04 files

FreeBSD/ports 925cfb2misc Makefile, misc/py-llama-index-embeddings-huggingface Makefile pkg-descr

misc/py-llama-index-embeddings-huggingface: New port: LlamaIndex embeddings HuggingFace integration
DeltaFile
+27-0misc/py-llama-index-embeddings-huggingface/Makefile
+4-0misc/py-llama-index-embeddings-huggingface/pkg-descr
+3-0misc/py-llama-index-embeddings-huggingface/distinfo
+1-0misc/Makefile
+35-04 files

LLVM/project 91aea37clang/lib/CodeGen CGBuiltin.cpp, clang/lib/Sema SemaStmtAttr.cpp

[Clang][AMDGPU] Add amdgcn_av("none") attribute for atomic expressions

Add a statement attribute that suppresses MakeAvailable/MakeVisible
cache operations on AMDGPU atomic instructions while preserving memory
ordering (waits).

The attribute takes a string argument specifying the mode. Currently
"none" is the only supported mode. The resulting atomic or fence
instruction carries !mmra !{!"amdgcn-av", !"none"} metadata.

Support includes C/C++ atomic builtins, _Atomic type qualifier
operations, fence builtins, and AMDGPU-specific atomic builtins
marked with TargetAtomicMixin.

Uses Builtin::Context::isTargetAtomicBuiltin() to identify
target-specific atomic builtins in target-neutral Sema code.

Assisted-By: Claude Opus 4.6
DeltaFile
+130-0clang/test/CodeGen/AMDGPU/amdgcn-av-none-attr.cpp
+104-0clang/test/CodeGen/AMDGPU/amdgcn-av-none-amdgpu-atomic.cpp
+72-0clang/test/CodeGen/AMDGPU/amdgcn-av-none-attr-c-atomic.c
+42-26clang/lib/CodeGen/CGBuiltin.cpp
+60-0clang/lib/Sema/SemaStmtAttr.cpp
+43-0clang/test/CodeGen/AMDGPU/amdgcn-av-non-atomic.cpp
+451-269 files not shown
+514-2715 files

NetBSD/src Bjqka4Rdoc CHANGES-10.2

   Ticket 1309 (ATF checks)
VersionDeltaFile
1.1.2.114+16-1doc/CHANGES-10.2
+16-11 files

LLVM/project 7f31e0corc-rt/test lit.cfg.py lit.site.cfg.py.in, orc-rt/test/regression lit.cfg.py lit.site.cfg.py.in

[orc-rt] Move the regression tests into test/regression (#208391)

Move the regression lit config and the existing tests into
test/regression/, and point the check-orc-rt suite there.

This is a first step towards consolidating tests and test infrastructure
under orc-rt/test. Upcoming commits will add a test tools directory, and
move the existing unit tests (under orc-rt/unittests) into
orc-rt/test/unit.
DeltaFile
+0-24orc-rt/test/lit.cfg.py
+24-0orc-rt/test/regression/lit.cfg.py
+16-0orc-rt/test/regression/lit.site.cfg.py.in
+0-16orc-rt/test/lit.site.cfg.py.in
+4-4orc-rt/test/CMakeLists.txt
+0-1orc-rt/test/init.test
+44-451 files not shown
+45-457 files

LLVM/project 8fd8daellvm/lib/Target/AArch64 AArch64RegisterInfo.cpp AArch64PostCoalescerPass.cpp, llvm/test/CodeGen/AArch64 expand-form-transposed-tuple.mir misched-push-form-transposed-tuple-to-users.mir

[AArch64] Expand FORM_TRANSPOSED_REG_TUPLE to copies before regalloc (#207205)

Previously, we kept the FORM_TRANSPOSED_REG_TUPLE nodes around during
register allocation. The problem with this approach is that it does not
model the potential overlap in live ranges between the destination and
source operands.

As a result, the register allocator assumes it has complete freedom to
allocate registers to the operands. For example, there is nothing
stopping it from allocating:
```
{z0, z1, z2, z3} = FORM_TRANSPOSED_X4 z3, z2, z1, z0
```
However, such cases are hard to expand later, either requiring spills or
complex shuffles. The current expansions of FORM_TRANSPOSED_REG_TUPLE
miscompile in cases like this because, when naively expanded into copies
after register allocation, earlier copies can clobber values that are
still needed by later ones.


    [31 lines not shown]
DeltaFile
+77-64llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
+130-0llvm/test/CodeGen/AArch64/expand-form-transposed-tuple.mir
+78-9llvm/lib/Target/AArch64/AArch64PostCoalescerPass.cpp
+71-0llvm/test/CodeGen/AArch64/misched-push-form-transposed-tuple-to-users.mir
+26-28llvm/test/CodeGen/AArch64/sme2-multivec-regalloc.mir
+14-28llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
+396-1292 files not shown
+423-1298 files

NetBSD/pkgsrc j1ap7Kedoc CHANGES-2026

   Removed devel/py-args, devel/py-cachy, devel/py-characteristic, devel/py-checker
VersionDeltaFile
1.4361+5-1doc/CHANGES-2026
+5-11 files

FreeBSD/ports ea78ac5misc Makefile, misc/py-ibm-watsonx-ai Makefile pkg-descr

misc/py-ibm-watsonx-ai: New port: IBM watsonx.ai API Client
DeltaFile
+38-0misc/py-ibm-watsonx-ai/Makefile
+4-0misc/py-ibm-watsonx-ai/pkg-descr
+3-0misc/py-ibm-watsonx-ai/distinfo
+1-0misc/Makefile
+46-04 files

NetBSD/pkgsrc jSCDoM6devel Makefile, devel/py-args distinfo Makefile

   py-args, py-cachy, py-characteristic, py-checker: removed; obsolete
VersionDeltaFile
1.4649+1-5devel/Makefile
1.4+1-1devel/py-args/distinfo
1.3+1-1devel/py-args/Makefile
1.2+1-1devel/py-args/PLIST
1.3+1-1devel/py-cachy/Makefile
1.4+1-1devel/py-cachy/PLIST
+6-1012 files not shown
+14-1818 files

NetBSD/src KpehlW4tests/lib/libcurses/check_files wcolor_set.chk mutt_test5.chk

   Pull up the following revisions(s) (requested by blymn in ticket #1309):
        tests/lib/libcurses/check_files/addstr2.chk:    revision 1.5
        tests/lib/libcurses/check_files/chgat3.chk:     revision 1.2
        tests/lib/libcurses/check_files/mvchgat2.chk:   revision 1.2
        tests/lib/libcurses/check_files/mutt_test3.chk: revision 1.3
        tests/lib/libcurses/check_files/mutt_test8.chk: revision 1.3
        tests/lib/libcurses/check_files/mutt_test9.chk: revision 1.3
        tests/lib/libcurses/check_files/mvwchgat2.chk:  revision 1.3
        tests/lib/libcurses/check_files/wchgat2.chk:    revision 1.3
        tests/lib/libcurses/check_files/wchgat3.chk:    revision 1.3
        tests/lib/libcurses/check_files/mutt_test4.chk: revision 1.4
        tests/lib/libcurses/check_files/mutt_test5.chk: revision 1.4
        tests/lib/libcurses/check_files/mutt_test6.chk: revision 1.4
        tests/lib/libcurses/check_files/wcolor_set.chk: revision 1.4

   ATF check files for PR lib/58282
VersionDeltaFile
1.3.2.1+5-6tests/lib/libcurses/check_files/wcolor_set.chk
1.3.2.1+2-3tests/lib/libcurses/check_files/mutt_test5.chk
1.2.2.1+0-1tests/lib/libcurses/check_files/wchgat2.chk
1.3.2.1+0-1tests/lib/libcurses/check_files/mutt_test4.chk
1.2.2.1+0-1tests/lib/libcurses/check_files/mutt_test3.chk
1.1.54.1+0-1tests/lib/libcurses/check_files/chgat3.chk
+7-137 files not shown
+7-2013 files

LLVM/project e795686flang/lib/Optimizer/Transforms FIRToMemRef.cpp, flang/test/Transforms/FIRToMemRef emboxed-slice-rank-reduction.mlir emboxed-slice-stride.mlir

[FIRToMemRef] Fix wrong indexing for converted array_coor over sliced fir.embox (#207749)

FIRToMemRef::convertArrayCoorOp routes through getMemrefIndices, which
only folds the first `rank` triples of sliceInfo.sliceVec into the
memref indices (i.e. the array_coor's own slice); the embox's slice
triples -- which sit at [rank*3 .. 2*rank*3-1] when both are present --
were dropped. Three consequences, three fixes here:

1. Non-collapsed embox slice lbs contribute (lb - 1) per Fortran dim to
each memref index. Fold them in in memref order (reversed Fortran order)
so the reinterpret_cast view lands at the right column.

2. The shapeVec-else stride path used shapeVec[0..rank-1] to build the
outer strides. With both slices present, that's the box's (slice's)
extents. Use shapeVec[rank..2*rank-1] instead -- the parent's extents --
so the outer stride is the parent's leading dim rather than the slice's
own size.

3. Rank-reducing embox slices (undef ub/step triples) have no memref

    [6 lines not shown]
DeltaFile
+172-3flang/lib/Optimizer/Transforms/FIRToMemRef.cpp
+85-0flang/test/Transforms/FIRToMemRef/emboxed-slice-rank-reduction.mlir
+71-0flang/test/Transforms/FIRToMemRef/emboxed-slice-stride.mlir
+69-0flang/test/Transforms/FIRToMemRef/emboxed-slice-array-coor.mlir
+69-0flang/test/Transforms/FIRToMemRef/emboxed-slice-non-unit-stride-non-unit-lb.mlir
+58-0flang/test/Transforms/FIRToMemRef/emboxed-slice-rank-reduction-nonprefix.mlir
+524-36 files

FreeBSD/ports 0941000misc Makefile, misc/py-ibm-cos-sdk Makefile pkg-descr

misc/py-ibm-cos-sdk: New port: IBM SDK for Python
DeltaFile
+24-0misc/py-ibm-cos-sdk/Makefile
+4-0misc/py-ibm-cos-sdk/pkg-descr
+3-0misc/py-ibm-cos-sdk/distinfo
+1-0misc/Makefile
+32-04 files

LLVM/project b78803bclang/include/clang/Basic BuiltinsAMDGPU.td Builtins.h, clang/utils/TableGen ClangBuiltinsEmitter.cpp

[Clang] Identify target-specific atomic builtins

Add a tablegen class TargetAtomicMixin that targets can combine with their
builtin classes to mark atomic builtins. The emitter encodes this as an 'A'
character in the builtin attributes string, queryable at runtime via
Builtin::Context::isTargetAtomicBuiltin().

A mixin is a flexible way to add the "atomic" property to specific builtins
in the target without modifying the class hierarchy. We do not derive a
TargetAtomicBuiltin class from the combination of TargetBuiltin and
AtomicBuiltin. The class AtomicBuiltin is used to collect Clang's own
target-independent builtins, and we don't want to inject target-specific
builtins into that collection. Also, such a class will produce a diamond
inheritance pattern with the Builtin class.

Also mark AMDGPU atomic builtins (fence, atomic inc/dec, ds_fadd/fmin/fmax,
ds_atomic_fadd, global_atomic, flat_atomic) with TargetAtomicMixin.

Assisted-By: Claude Opus 4.6
DeltaFile
+24-24clang/include/clang/Basic/BuiltinsAMDGPU.td
+5-0clang/include/clang/Basic/Builtins.h
+3-0clang/utils/TableGen/ClangBuiltinsEmitter.cpp
+1-0clang/include/clang/Basic/BuiltinsBase.td
+33-244 files

OpenBSD/src Ei33lx4usr.bin/tmux tmux.1 window-copy.c

   Do not exit at bottom if a selection is in progress, GitHub issue 5349
   from xiaomublue at gmail dot com.
VersionDeltaFile
1.1130+5-3usr.bin/tmux/tmux.1
1.411+4-4usr.bin/tmux/window-copy.c
+9-72 files

FreeBSD/ports 4be0a09misc Makefile, misc/py-ibm-cos-sdk-s3transfer Makefile pkg-descr

misc/py-ibm-cos-sdk-s3transfer: New port: IBM S3 Transfer Manager
DeltaFile
+23-0misc/py-ibm-cos-sdk-s3transfer/Makefile
+4-0misc/py-ibm-cos-sdk-s3transfer/pkg-descr
+3-0misc/py-ibm-cos-sdk-s3transfer/distinfo
+1-0misc/Makefile
+31-04 files

LLVM/project d6c521cutils/bazel/llvm-project-overlay/libc BUILD.bazel, utils/bazel/llvm-project-overlay/libc/test/src/arpa/inet BUILD.bazel

[bazel][libc] Add htons function family and tests (#208201)

Add bazel build targets for the arpa/inet byte order functions (htonl,
htons, ntohl, ntohs) and their corresponding unittests.

Assisted by Gemini.
DeltaFile
+51-0utils/bazel/llvm-project-overlay/libc/test/src/arpa/inet/BUILD.bazel
+46-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+97-02 files

LLVM/project 8324020lldb/source/Symbol Type.cpp, lldb/test/API/python_api/type TestTypeList.py main.cpp

[lldb] Make SBType::FindDirectNestedType work with dynamic types (#207743)

This makes it possible to find the nested type just by knowing the
dynamic type of the value. To get the previous behavior, get the type
from a static view of the value (SBValue::GetStaticValue).
DeltaFile
+28-0lldb/test/API/python_api/type/TestTypeList.py
+13-0lldb/test/API/python_api/type/main.cpp
+1-1lldb/source/Symbol/Type.cpp
+42-13 files