LLVM/project a96572aflang-rt/lib/runtime findloc.cpp

[flang-rt] Rework findloc.cpp to dispatch target at runtime (#197756)

Summary:
The previous code had a combinatorial explosion of functions by
templating on both the source and target types. This created around 170
instantiations. Instead we just template on the source type and then use
a simple runtime check. This should not affect performance in a
significant way, it introduces maybe a few branches in what is already a
non-trivial operation that I do not think justifies a two-minute compile
time.

The result is that this file goes from 120 seconds to 12 on my machine
and the resulting file goes from 7.2 MiB to 757 kiB. Functinally this
makes us instantiate 1/10th the functions.
DeltaFile
+110-68flang-rt/lib/runtime/findloc.cpp
+110-681 files

LLVM/project 62a0704llvm/lib/Target/SPIRV SPIRVNonSemanticDebugHandler.cpp, llvm/test/CodeGen/SPIRV/debug-info debug-type-pointer-composite-pointee.ll

[reviews] Simplify code and add missing test.
DeltaFile
+38-0llvm/test/CodeGen/SPIRV/debug-info/debug-type-pointer-composite-pointee.ll
+9-11llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.cpp
+47-112 files

LLVM/project 13dc18allvm/test/tools/dsymutil/AArch64 cas-config.test, llvm/tools/dsymutil DwarfLinkerForBinary.cpp

[dsymutil] Collect .cas-config files in dSYM bundles (#197818)

When caching is enabled the Swift compiler might substitute CAS
identifiers for on-disk paths. In order to resolve them the build system
puts a .cas-config file in the build directory. Dsymutil needs to
collect the contents of these files so tools consuming the dSYM (which
do not have access to the original build directory) can resolve these
CAS identifiers, too.

Assisted-by: claude

rdar://169986664
DeltaFile
+50-2llvm/tools/dsymutil/DwarfLinkerForBinary.cpp
+36-0llvm/test/tools/dsymutil/AArch64/cas-config.test
+86-22 files

LLVM/project 91026ccllvm/lib/Target/AMDGPU SIISelLowering.cpp SIInstructions.td, llvm/test/CodeGen/AMDGPU fcanonicalize.bf16.ll packed-fneg-fsub-bf16.ll

[AMDGPU] Optimize fcanonicalize/fneg/fsub with packed bf16 math ops (#197318)

  This work makes fcanonicalize v2bf16 'Legal' and implements the
selection pattern for it with v_pk_mul_bf16.

  We also make fneg and fabs 'Legal' in this patch. With this change,
packed fadd can be selected for vector fsub with bf16. Also, the vector
fneg can be successfully folded into the operand in the packed bf16 math ops.
DeltaFile
+197-580llvm/test/CodeGen/AMDGPU/fcanonicalize.bf16.ll
+533-0llvm/test/CodeGen/AMDGPU/packed-fneg-fsub-bf16.ll
+9-30llvm/test/CodeGen/AMDGPU/bf16.ll
+6-7llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+6-0llvm/lib/Target/AMDGPU/SIInstructions.td
+751-6175 files

LLVM/project 2c20ffbllvm/lib/Target/AArch64 MachineSMEABIPass.cpp, llvm/test/CodeGen/AArch64 sme-abi-debug.ll

[AArch64] Do not pass debug insn to liveness analysis (#197989)

This time in the MachineSMEABIPass, where we can skip any debug
instructions. See #193104.
DeltaFile
+37-0llvm/test/CodeGen/AArch64/sme-abi-debug.ll
+3-0llvm/lib/Target/AArch64/MachineSMEABIPass.cpp
+40-02 files

LLVM/project 582fd84llvm/test/CodeGen parse-cfi-unsigned-error.mir, llvm/test/CodeGen/MIR/AMDGPU parse-cfi-unsigned-error.mir

[AMDGPU] Move test to CodeGen/AMDGPU (#197993)

This test is AMDGPU specific and we generally do not have any tests in
top-level test/CodeGen.
DeltaFile
+11-0llvm/test/CodeGen/MIR/AMDGPU/parse-cfi-unsigned-error.mir
+0-11llvm/test/CodeGen/parse-cfi-unsigned-error.mir
+11-112 files

LLVM/project ef70845lldb/include/lldb/Host Socket.h, lldb/include/lldb/Host/common UDPSocket.h

[lldb][NFC] Socket::Send should return a signed type (#197844)

The underlying `::send` and `::sendto` returns `ssize_t` on macOS/Linux
and `int` on Windows. These functions also commmunicate an error through
returning -1 (which is not expressible in a size_t).
DeltaFile
+1-1lldb/source/Host/common/Socket.cpp
+1-1lldb/include/lldb/Host/Socket.h
+1-1lldb/include/lldb/Host/common/UDPSocket.h
+1-1lldb/source/Host/common/UDPSocket.cpp
+4-44 files

OpenZFS/src 2f283c9include/sys zap_impl.h, module/zfs zap_fat.c zap.c

zap: remove refcount tags from backend functions

Since we now never need to unlock/lock an existing zap_t, we don't need
to thread through the refcount tag everywhere, which lets us simplify a
lot of calls.

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18546
DeltaFile
+13-20module/zfs/zap_fat.c
+8-10module/zfs/zap.c
+6-9include/sys/zap_impl.h
+3-7module/zfs/zap_impl.c
+3-3module/zfs/zap_micro.c
+33-495 files

LLVM/project cd14c88llvm/lib/Transforms/Utils CodeExtractor.cpp, llvm/test/Transforms/HotColdSplit issue-197982.ll single-output-multiple-users.ll

[CodeExtractor] fix use list iterator invalidation (#197986)

Fix crash in HotColdSplit that uses CodeExtractor to outline cold
functions from https://github.com/llvm/llvm-project/pull/191824.

When `CodeExtractor::insertReplacerCall` replaces the outlined function
return value, calling `replaceUsesOfWith` invalidates the users iterator
causing the loop exit early without having replaced all of the original users
of `FuncRetVal`.
```
Referring to an instruction in another function!
  %s.sroa.0.0 = phi ptr [ %call.i, %codeRepl ], [ undef, %entry ]
LLVM ERROR: Broken module found, compilation aborted!
```

Reproducer: https://godbolt.org/z/G5qv35nnq
DeltaFile
+132-0llvm/test/Transforms/HotColdSplit/issue-197982.ll
+37-0llvm/test/Transforms/HotColdSplit/single-output-multiple-users.ll
+3-5llvm/lib/Transforms/Utils/CodeExtractor.cpp
+172-53 files

OpenZFS/src c8f9b4cinclude/sys zap_impl.h, module/zfs zap_fat.c zap_impl.c

zap: lift and simplify zap_t lock upgrade

Most fatzap write ops only take the READER zap_t lock, because the
header block only needs to be updated when a change would add or remove
a leaf block or spill the ptrtbl. When this happens, the lock is
upgraded to WRITER so those changes can be made.

If the lock can't be upgraded directly (not least because
rw_tryupgrade() is a no-op on Linux and userspace), then it has to be
dropped and re-acquired, that is, zap_unlock() and then zap_lock().

However, this method is far heavier than it needs to be, and adds
complication because it fully releases the zap_t, the header dbuf and
the dnode. This gives a window where the dbuf can be evicted and so the
zap_t destroyed. In addition to the IO overhead if this happens, this
means the zap_t returned by zap_lock() may be different to the original,
which means all callers need to be prepared for it to change.

zap_shrink() used an alternate method of simply dropping and reacquiring

    [18 lines not shown]
DeltaFile
+9-46module/zfs/zap_fat.c
+37-0module/zfs/zap_impl.c
+4-14module/zfs/zap.c
+12-0include/sys/zap_impl.h
+0-1module/zfs/zap_micro.c
+62-615 files

OpenZFS/src 18d910binclude/sys zap_impl.h, module/zfs zap_micro.c zap_impl.c

mzap_create_impl: use zap_lock_by_dnode()

The only reason this used zap_lock_impl() directly was to avoid an extra
dbuf hold, but there's no real reason to do that. Just use
zap_lock_by_dnode(), and then zap_lock_impl() can be de-exported.

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18546
DeltaFile
+4-5module/zfs/zap_micro.c
+0-4include/sys/zap_impl.h
+1-1module/zfs/zap_impl.c
+5-103 files

OpenZFS/src d3523f9module/zfs zap_impl.c

zap_lock: make it be a simple wrapper around zap_lock_by_dnode()

The only real difference between zap_lock() and zap_lock_by_dnode() is
that the former takes and releases its own dnode hold. If we make it
just delegate to zap_lock_by_dnode(), then the dbuf hold and release can
be handled there, in one place.

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18546
DeltaFile
+2-11module/zfs/zap_impl.c
+2-111 files

OpenZFS/src e4b0d59include/sys zap_impl.h, module/zfs zap.c zap_fat.c

zap: rename 'lockdir' to 'lock'

The "dir" part is a holdover from prehistoric times, where ZAPs were
just the filesystem directory object.

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18546
DeltaFile
+69-69module/zfs/zap.c
+6-6module/zfs/zap_fat.c
+6-6module/zfs/zap_impl.c
+4-5module/zfs/zap_micro.c
+4-4include/sys/zap_impl.h
+89-905 files

LLVM/project cd80fc0llvm/test/CodeGen/ARM debug-step-backward.ll

[ARM][NFC] Test that debug insns are not passed to stepBackward (#197976)

Test that debug insns are not passed to stepBackward. This testcase
shows the necessity of https://github.com/llvm/llvm-project/pull/197769.

Signed-off-by: John Lu <John.Lu at amd.com>
DeltaFile
+32-0llvm/test/CodeGen/ARM/debug-step-backward.ll
+32-01 files

NetBSD/pkgsrc nxVLLuMdoc CHANGES-2026

   doc: Updated mail/mairix to 0.24
VersionDeltaFile
1.3056+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc 6L7oozImail/mairix Makefile distinfo, mail/mairix/patches patch-Makefile.in patch-dfasyn_compdfa.c

   mairix: update to 0.24

   NEW IN VERSION 0.24
   ===================
   * Support fancy Content-Disposition
   * RFC5987-compliant headers
   * Support for remote IMAP folders
   * Fix string overrun bugs in nvp.c
   * Option to follow symlinks to mboxes in rc file
   * Minor parsing improvements, documentation fixes, and small bug repairs.

   NEW IN VERSION 0.23
   ===================
   * Allow '=' in message-id search for RFC2822 conformance
   * Add the option -H to force hardlinks
   * Skip .gitignore files
   * Do not interpret special characters [~,/=^] in Message-ID queries
   * Fix faultly mbox message separators
   * Improve reporting of unparsed MIME headers & remove code duplication

    [38 lines not shown]
VersionDeltaFile
1.1+31-0mail/mairix/patches/patch-Makefile.in
1.1+15-0mail/mairix/patches/patch-dfasyn_compdfa.c
1.18+8-7mail/mairix/Makefile
1.1+14-0mail/mairix/patches/patch-imap.c
1.12+7-6mail/mairix/distinfo
1.3+1-1mail/mairix/patches/patch-dfasyn_Makefile
+76-141 files not shown
+77-157 files

LLVM/project c842538llvm/lib/Target/SPIRV SPIRVNonSemanticDebugHandler.cpp SPIRVNonSemanticDebugHandler.h

Fix handling for DebugTypeFunction.
DeltaFile
+12-7llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.cpp
+13-2llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.h
+25-92 files

LLVM/project 19d7856flang/lib/Lower/OpenMP Utils.cpp ClauseProcessor.cpp, flang/lib/Optimizer/OpenMP MapInfoFinalization.cpp

[Flang][OpenMP] Support iterator modifiers in map and motion clauses

Support iterated array elements and array sections in map and motion clauses for
target data, target enter data, target exit data, and target update constructs.

Preserve mapper resolution for iterated entries, including explicit mappers,
user-defined default mappers, declare mapper entries, and implicit default
mappers.

This PR stacked on top of #197047 and #197752.

This patch is part of the feature work for #188061.

Assisted with copilot.
DeltaFile
+507-0flang/test/Lower/OpenMP/motion-iterator.f90
+183-0flang/lib/Lower/OpenMP/Utils.cpp
+96-12flang/lib/Lower/OpenMP/ClauseProcessor.cpp
+25-0flang/test/Lower/OpenMP/declare-mapper-iterator.f90
+15-0flang/lib/Optimizer/OpenMP/MapInfoFinalization.cpp
+13-0flang/lib/Lower/OpenMP/Utils.h
+839-123 files not shown
+839-399 files

FreeNAS/freenas f46c928src/middlewared/middlewared/plugins account.py, src/middlewared/middlewared/plugins/container lifecycle.py

NAS-140766 / 27.0.0-BETA.1 / Apply account userns_idmap in container DEFAULT mode (#18940)

DEFAULT idmap now consults local users/groups with userns_idmap set and
emits passthrough segments alongside the shifted base range, restoring
the 25.10 behavior where apps user (568) and other configured accounts
keep their host UID/GID inside the container. ISOLATED mode unchanged.

Adds idmap functional tests to test_container.py and ports the NFS4 ACL
functional test from 25.10 (deleted with the virt plugin) as
test_container_acl.py.

NOTE: Requires truenas_pylibvirt with multi-entry idmap support.
(cherry picked from commit b87bc41922cabcb7202d44a2fcc4255c62fa318d)
DeltaFile
+290-0tests/api2/test_container_acl.py
+173-0tests/unit/test_account_userns.py
+150-4src/middlewared/middlewared/plugins/account.py
+141-0tests/api2/test_container.py
+96-13src/middlewared/middlewared/plugins/container/lifecycle.py
+91-0tests/unit/test_container_idmap.py
+941-171 files not shown
+946-177 files

LLVM/project 3cfc7aelldb/source/API SBPlatform.cpp SBTarget.cpp, lldb/source/Commands CommandObjectType.cpp CommandObjectBreakpoint.cpp

[lldb] Make use of ConstString(StringRef) where applicable (NFC) (#197954)

Replace `ConstString(char *)`, mostly with the `StringRef` constructor.
Eliminates some unnecessary `strlen`, and a few copies.
DeltaFile
+9-9lldb/source/Commands/CommandObjectType.cpp
+7-7lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
+7-7lldb/source/API/SBPlatform.cpp
+6-6lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
+4-5lldb/source/API/SBTarget.cpp
+3-4lldb/source/Commands/CommandObjectBreakpoint.cpp
+36-3827 files not shown
+70-7433 files

LLVM/project fc3457dflang-rt/lib/runtime extrema.cpp matmul-transpose.cpp

[flang-rt] Move template parameters to runtime to improve compile times (#197738)

Summary:
These files take an extraordinarily long amount of time to compile. This
is due to the combinatorial explosino of template parameters. This PR
takes a few choice factors and puts them as runtime components instead.
This should have no real impact on runtime with optimizations, but
brings the compilation for these from 60s each to 30s on my machine. A
future PR will split these up by component so we get more build-system
parallelism.
DeltaFile
+28-41flang-rt/lib/runtime/extrema.cpp
+17-20flang-rt/lib/runtime/matmul-transpose.cpp
+16-19flang-rt/lib/runtime/matmul.cpp
+61-803 files

LLVM/project 609ce47clang/lib/Sema AnalysisBasedWarnings.cpp, clang/test/Modules safe_buffers_optout.cpp

[-Wunsafe-buffer-usage] Warning-only analysis no longer re-analyzes pre-compiled code

Move the warning-only analysis back to the end of parsing each Decl.
The warning-only analysis no longer does any extra AST deserialization.
Pre-compiled code will only be analyzed once during its own compilation.

When `-fsafe-buffer-usage-suggestions` is used, the behavior is the
same as before, because it requires visibility of the whole
translation unit.

rdar://177185295
DeltaFile
+67-30clang/lib/Sema/AnalysisBasedWarnings.cpp
+43-49clang/test/Modules/safe_buffers_optout.cpp
+26-13clang/test/PCH/unsafe-buffer-usage-pragma-pch-complex.cpp
+14-5clang/test/SemaCXX/warn-unsafe-buffer-usage-pragma-pch.cpp
+10-6clang/test/PCH/unsafe-buffer-usage-pragma-pch-cross-files-2.cpp
+10-5clang/test/PCH/unsafe-buffer-usage-pragma-pch-cross-files.cpp
+170-1081 files not shown
+184-1087 files

LLVM/project 5f78a53libc/src/__support/File file.cpp file.h, libc/src/wchar ungetwc.cpp ungetwc.h

[libc] implement ungetwc (#196162)

Add ungetwc function and tests. Part 6/10.

Assisted by Gemini
DeltaFile
+275-0libc/test/src/wchar/ungetwc_test.cpp
+39-0libc/src/wchar/ungetwc.cpp
+28-0libc/src/wchar/ungetwc.h
+12-4libc/test/src/__support/File/file_test.cpp
+3-2libc/src/__support/File/file.cpp
+2-2libc/src/__support/File/file.h
+359-85 files not shown
+369-1211 files

FreeBSD/ports 6e81407devel/gumbo Makefile

devel/gumbo: Pass maintainership to Matt Kempe.

Bump PORTREVISION as the package metadata is affected.

PR:             294862
DeltaFile
+2-1devel/gumbo/Makefile
+2-11 files

LLVM/project 1c5e395llvm/test/Transforms/SLPVectorizer/X86 arith-mul-smulo.ll arith-sub-ssubo.ll

[SLP] Vectorize struct-returning intrinsics

Allow SLP to combine across lanes calls that return a literal struct
(llvm.sincos, llvm.*.with.overflow, llvm.frexp, ...) into a single
call returning a struct of vectors, by widening {T, T, ...} to
{<VF x T>, ...} via VectorTypeUtils and emitting extractvalue +
extractelement for external uses.

Original Pull Request: https://github.com/llvm/llvm-project/pull/195521

Original Pull Request2: https://github.com/llvm/llvm-project/pull/196756

Recommit after revert https://github.com/llvm/llvm-project/pull/197969

Added check for valid vectorizable type.

Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/197994
DeltaFile
+549-615llvm/test/Transforms/SLPVectorizer/X86/arith-mul-smulo.ll
+449-615llvm/test/Transforms/SLPVectorizer/X86/arith-sub-ssubo.ll
+449-615llvm/test/Transforms/SLPVectorizer/X86/arith-sub-usubo.ll
+449-615llvm/test/Transforms/SLPVectorizer/X86/arith-add-saddo.ll
+449-615llvm/test/Transforms/SLPVectorizer/X86/arith-add-uaddo.ll
+429-615llvm/test/Transforms/SLPVectorizer/X86/arith-mul-umulo.ll
+2,774-3,6905 files not shown
+3,290-3,91311 files

LLVM/project 7bbff84.ci compute_projects.py

[CI] Remove duplicate entries in PROJECT_CHECK_TARGETS (NFC) (#197833)
DeltaFile
+0-2.ci/compute_projects.py
+0-21 files

LLVM/project 8380423lldb/packages/Python/lldbsuite/test decorators.py

[lldb][test] Don't overwrite existing decorators in _skipForVariant (#197409)

_skipForVariant uses a dictionary to save the decorator functions for
specific variants. However, if the dictionary already contains a
decorator function, then that decorator is overwritten in the current
implementation.

This means that if we have two decorators that skip a variant in
combination with another check, then the second decorator overwrites the
first one and is effectively ignored.

Downstream we are hit by this because we have an embedded Swift variant.
If we skip this variant for both Linux and Windows, then depending on
the decorator order we still run the test on one of those two platforms
(as one decorator is overwritten by the other).
DeltaFile
+12-1lldb/packages/Python/lldbsuite/test/decorators.py
+12-11 files

LLVM/project 1724803compiler-rt/test/safestack sigaltstack.c

[safestack][test] Fix sigaltstack.c on Solaris (#197967)

The `SafeStack-Standalone-*:: sigaltstack.c` test `FAIL`s on Solaris. It
uses `MAP_STACK` which is unportable and on glibc systems just a no-op.
Therefore this patch provides a fallback definition.

Tested on `x86_64-pc-solaris2.11` and `x86_64-pc-linux-gnu`.
DeltaFile
+5-0compiler-rt/test/safestack/sigaltstack.c
+5-01 files

LLVM/project 961676cllvm/lib/CodeGen/AsmPrinter CodeViewDebug.cpp, llvm/test/DebugInfo/COFF builtin-verbose-trap.ll

[CodeView] Generate debug info for artificial subprograms (#196327)

Based on https://clang.llvm.org/docs/AttributeReference.html#artificial,
Artificial subprograms are not required to have a non-zero line number
location, so don't ignore them.

Fix #195768
DeltaFile
+64-0llvm/test/DebugInfo/COFF/builtin-verbose-trap.ll
+14-3llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
+78-32 files

FreeBSD/src 0a2f768share/man/man4 iwlwifi.4 iwlwififw.4

man: iwlwifi/rtw88/rtw89: update man pages for Linux v7.0 based updates

For all:
- harmonize Copyright/license section according to style.9 and used
  SPDX only.
- mention that the current generation of the driver is based on
  Linux version 7.0.
- make linuxkpi.4 and linuxkpi_wlan.4 .Xr as the man pages do exist
  these days.

iwlwifi: update the card/chipset names supported (while we still can)
iwlwififw: leave a comment only that we can no longer update the
  man page and it will be removed in the future.
rtw88: update supported chipsets and add note to BUGS sections
rtw89: update supported chipsets and add note to BUGS sections

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
Reviewed by:    ziaee
Differential Revision: https://reviews.freebsd.org/D57019
DeltaFile
+91-99share/man/man4/iwlwifi.4
+6-22share/man/man4/iwlwififw.4
+18-9share/man/man4/rtw88.4
+19-7share/man/man4/rtw89.4
+134-1374 files