LLVM/project fd65b3ellvm/include/llvm/CodeGen SwiftErrorValueTracking.h, llvm/lib/CodeGen SwiftErrorValueTracking.cpp

[GlobalISel] Fix UMR in `SwiftErrorValueTracking` (#190273)

Fix issue reported on
https://github.com/llvm/llvm-project/pull/188296#issuecomment-4179103756

`SwiftErrorValueTracking` holds per-function state used by
`IRTranslator`.

On targets where `TargetLowering::supportSwiftError()` is false, (e.g.
wasm) `SwiftErrorValueTracking::setFunction()` exits early.
Historically, that early return happened before clearing per-function
containers, and pointer members (including `SwiftErrorArg`) had no
in-class initialization.

The bad case is a function with a swifterror argument on such a target:
`IRTranslator` uses `SwiftError.getFunctionArg()` without checking
`supportSwiftError()` and this could read an uninitialized
`SwiftErrorArg` value. (SelectionDAG gates the `getFunctionArg` usages
behind `supportSwiftError()`, so it's specific to GlobalISel)

    [10 lines not shown]
DeltaFile
+5-5llvm/include/llvm/CodeGen/SwiftErrorValueTracking.h
+3-3llvm/lib/CodeGen/SwiftErrorValueTracking.cpp
+1-1llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
+9-93 files

FreeBSD/ports 2209fdedevel/wasi-libc distinfo Makefile

devel/wasi-libc: update to sdk-32

No changes, possibly for internal upstream purposes
DeltaFile
+3-3devel/wasi-libc/distinfo
+1-2devel/wasi-libc/Makefile
+4-52 files

LLVM/project d8d2e33lldb/test/Shell/Commands command-dil-diagnostics.test

[lldb] Make command-dil-diagnostics.test UNSUPPORTED on Windows (#190341)

The test from #187680 passes on some Windows buildbots, but fails on
others.
DeltaFile
+1-1lldb/test/Shell/Commands/command-dil-diagnostics.test
+1-11 files

LLVM/project 5674755llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp

[DAG] visitMUL - cleanup pattern matchers to use m_Shl and (commutative) m_Mul directly (#190339)

Based on feedback on #190215
DeltaFile
+12-18llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+12-181 files

LLVM/project c963092llvm/lib/Transforms/Vectorize VPlanRecipes.cpp, llvm/unittests/Transforms/Vectorize VPlanTest.cpp

[VPlan] Mark VPCanonicalIVPHI as not reading memory (NFCI). (#190338)

The canonical IV does not access any memory. Mark accordingly. This
should be NFC end-to-end.

PR: https://github.com/llvm/llvm-project/pull/190338
DeltaFile
+7-0llvm/unittests/Transforms/Vectorize/VPlanTest.cpp
+1-0llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+8-02 files

hello/Menu 1280014src/translations menubar_uk.ts

Translated using Weblate (Ukrainian)

Currently translated at 55.5% (30 of 54 strings)

Translation: helloSystem/Menu
Translate-URL: https://hosted.weblate.org/projects/hellosystem/menu/uk/
DeltaFile
+11-11src/translations/menubar_uk.ts
+11-111 files

LLVM/project b8cf4e3clang/lib/Driver ToolChain.cpp CMakeLists.txt, clang/lib/Driver/ToolChains/Arch AMDGPU.cpp AMDGPU.h

clang/AMDGPU: Refactor triple adjustments

Factor this similar to the ARM case for future
expansion. The difference being -mcpu is treated as
an alias for -mcpu instead of something separately
useful.

I don't understand this mutation of the triple into
spirv64. The only test where this appears to matter
does not use -mcpu. Previously this would only match
for -mcpu, but this would change the behavior to prefer
-march before falling back to -mcpu.
DeltaFile
+38-0clang/lib/Driver/ToolChains/Arch/AMDGPU.cpp
+32-0clang/lib/Driver/ToolChains/Arch/AMDGPU.h
+2-2clang/lib/Driver/ToolChain.cpp
+1-0clang/lib/Driver/CMakeLists.txt
+73-24 files

LLVM/project 0a3fdd3clang/include/clang/CIR/Dialect/IR CIRTypes.td, clang/lib/CIR/CodeGen CIRGenCall.cpp CIRGenTypes.h

[CIR] Handle vtable-lowering-with-incomplete types (#190216)

The NYI diagnostic in getFunctionTypeForVTable showed up a few times in
testing, so this patch is attempting to fix that up.

The reproducer here is a function type for a vtable that has an
incomplete type in it(return or parameter). Classic codegen chooses to
represent this as an opaque type.

This patch instead removes the special v-table handling here, so that we
can instead just represent the types as incomplete record types.

At the moment, this patch ends up lowering incomplete types as 'empty'
types in LLVM-IR, which we may find we need to modify in the future,
however at the moment, it seems to work.

This patch ALSO changes the definition of RecordType::isSized to only be
true for complete types, which prevents a number of other things from
attempting to add attributes/check the size of the type/etc, but those
are irrelevant for the purposes of vtable emission.
DeltaFile
+66-0clang/test/CIR/CodeGen/vtable-nyi-nonconvertible-functype.cpp
+0-10clang/lib/CIR/CodeGen/CIRGenCall.cpp
+0-5clang/lib/CIR/CodeGen/CIRGenTypes.h
+2-2clang/lib/CIR/CodeGen/CIRGenVTables.cpp
+4-0clang/include/clang/CIR/Dialect/IR/CIRTypes.td
+72-175 files

LLVM/project 2c734b3clang/lib/CIR/CodeGen CIRGenModule.cpp, clang/test/CIR/CodeGen export-decl.cppm

[CIR] Implement top level 'ExportDecl' emission (#190286)

This is a pretty simple one, its just a type of decl-context. The actual
exporty-ness is handled on a per-declaration basis.

This patch just makes sure we emit them, as I suspect this will reveal
quite a bit more issues in module code I suspect.
DeltaFile
+27-0clang/test/CIR/CodeGen/export-decl.cppm
+3-0clang/lib/CIR/CodeGen/CIRGenModule.cpp
+30-02 files

OpenBSD/src PE4P17lusr.bin/patch patch.c

   usr.bin/patch: fix fd leak

   From Renaud Allard

   OK: op@
VersionDeltaFile
1.79+7-1usr.bin/patch/patch.c
+7-11 files

OpenBSD/src 5WeMUnKlib/libssl ssl_methods.c ssl_srvr.c

   Ensure that we cannot negotiate TLSv1.1 or lower.

   TLS versions prior to TLSv1.2 were disabled a while ago, however this
   was done in the version handling code. Remove TLSv1.1 and earlier from
   ssl_get_method() and add an explicit min version check in the legacy
   client and server, to provide a stronger guarantee.

   ok kenjiro@ tb@
VersionDeltaFile
1.33+5-11lib/libssl/ssl_methods.c
1.168+8-1lib/libssl/ssl_srvr.c
1.171+8-1lib/libssl/ssl_clnt.c
+21-133 files

LLVM/project cf553calldb/source/Commands CommandObjectFrame.cpp, lldb/source/Target StackFrame.cpp

Revert "[lldb] Fix DIL error diagnostics output (#187680)"

This reverts commit e24936b7ad5c6b1fdcc35d98c682fa5bd745e65b.
DeltaFile
+0-22lldb/test/Shell/Commands/command-dil-diagnostics.test
+4-18lldb/source/ValueObject/DILParser.cpp
+2-15lldb/source/Commands/CommandObjectFrame.cpp
+3-3lldb/source/Target/StackFrame.cpp
+0-1lldb/test/Shell/Commands/Inputs/main.c
+9-595 files

OPNSense/plugins 2d3ee9fdns/ddclient/src/opnsense/mvc/app/controllers/OPNsense/DynDNS/forms dialogAccount.xml, dns/ddclient/src/opnsense/scripts/ddclient/lib/account allinkl.py

dns/ddclient: add all-inkl.com KAS API DynDNS provider (#5339)

* dns/ddclient: add all-inkl.com KAS API DynDNS provider

Adds a new Python provider for all-inkl.com hosting using the KAS SOAP API
(KasApi.wsdl). Supports A and AAAA records, including root (@) and wildcard (*)
entries. Credentials are passed per-request (no separate auth step).

- allinkl.py: new provider class AllInkl, service key 'allinkl'
- dialogAccount.xml: show Zone field for service_allinkl
- DynDNS.xml: add allinkl to static service list (ddclient backend fallback)

Co-Authored-By: Claude Sonnet 4.6 <noreply at anthropic.com>

* dns/ddclient: address review feedback for all-inkl.com provider

- Remove allinkl entry from DynDNS.xml; known_services() handles
  registration automatically for Python providers
- Replace regex-based XML parsing with xml.etree.ElementTree:

    [9 lines not shown]
DeltaFile
+337-0dns/ddclient/src/opnsense/scripts/ddclient/lib/account/allinkl.py
+1-1dns/ddclient/src/opnsense/mvc/app/controllers/OPNsense/DynDNS/forms/dialogAccount.xml
+338-12 files

NetBSD/src oblPb9Yexternal/cddl/osnet/dist/lib/libzfs/common libzfs_import.c, external/cddl/osnet/dist/uts/common/fs/zfs zfs_vnops.c zfs_vfsops.c

   Pull up following revision(s) (requested by yamt in ticket #244):

        external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vfsops.c: revision 1.31
        external/cddl/osnet/dist/lib/libzfs/common/libzfs_import.c: revision 1.9
        external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c: revision 1.35
        external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vfsops.c: revision 1.32
        external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c: revision 1.36
        external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vfsops.c: revision 1.33
        external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c: revision 1.82
        external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vfsops.c: revision 1.34
        external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c: revision 1.83
        external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vfsops.c: revision 1.35
        external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c: revision 1.84
        external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c: revision 1.85
        external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c: revision 1.86
        external/cddl/osnet/sys/sys/vnode.h: revision 1.22
        external/cddl/osnet/sys/kern/vfs.c: revision 1.10
        external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c: revision 1.87
        external/cddl/osnet/sys/sys/vnode.h: revision 1.23

    [412 lines not shown]
VersionDeltaFile
1.81.4.1+227-104external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c
1.30.6.1+56-62external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vfsops.c
1.7.6.1+54-10external/cddl/osnet/dist/lib/libzfs/common/libzfs_import.c
1.34.10.1+5-39external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c
1.6.16.1+36-8external/cddl/osnet/dist/uts/common/fs/zfs/zfs_rlock.c
1.14.2.1+18-18external/cddl/osnet/dist/uts/common/fs/zfs/zvol.c
+396-2418 files not shown
+430-28414 files

OpenBSD/src gXl4e7Nsys/arch/riscv64/conf files.riscv64 RAMDISK, sys/arch/riscv64/dev smtgpio.c

   Add smtgpio(4), a driver for the GPIO controller found on SpacemiT K1 SoCs.

   ok jca@
VersionDeltaFile
1.1+178-0sys/arch/riscv64/dev/smtgpio.c
1.32+6-1sys/arch/riscv64/conf/files.riscv64
1.49+4-1sys/arch/riscv64/conf/RAMDISK
1.57+4-1sys/arch/riscv64/conf/GENERIC
+192-34 files

LLVM/project 0932472clang/lib/CIR/CodeGen CIRGenStmtOpenMP.cpp CIRGenStmt.cpp

[CIR][NFC] Add NYI for OMPSplitDirective stmt (#190329)

Fix the warning of missing OMPSplitDirective statement in the emitStmt
switch
DeltaFile
+5-0clang/lib/CIR/CodeGen/CIRGenStmtOpenMP.cpp
+2-0clang/lib/CIR/CodeGen/CIRGenStmt.cpp
+1-0clang/lib/CIR/CodeGen/CIRGenFunction.h
+8-03 files

NetBSD/src UKm0ejgsys/sys buf.h, sys/uvm uvm_swap.c uvm_pager.c

   Pull up following revision(s) (requested by yamt in ticket #243):

        sys/sys/buf.h: revision 1.136
        sys/uvm/uvm_swap.c: revision 1.220
        sys/uvm/uvm_swap.c: revision 1.221
        sys/uvm/uvm_swap.c: revision 1.222
        sys/uvm/uvm_pager.c: revision 1.133
        sys/uvm/uvm_swap.c: revision 1.224
        sys/uvm/uvm_pager.c: revision 1.134
        sys/uvm/uvm_swap.c: revision 1.225
        sys/uvm/uvm_pager.c: revision 1.135
        sys/uvm/uvm_swap.h: revision 1.30
        sys/uvm/uvm_swap.c: revision 1.226
        sys/uvm/uvm_swap.c: revision 1.227
        sys/uvm/uvm_swap.c: revision 1.228
        sys/uvm/uvm_swap.c: revision 1.229
        sys/uvm/uvm_swap.c: revision 1.216
        sys/uvm/uvm_swap.c: revision 1.217
        sys/uvm/uvm_swap.c: revision 1.219

    [95 lines not shown]
VersionDeltaFile
1.209.2.2+336-324sys/uvm/uvm_swap.c
1.131.4.1+57-20sys/uvm/uvm_pager.c
1.135.4.1+2-2sys/sys/buf.h
1.29.4.1+2-1sys/uvm/uvm_swap.h
+397-3474 files

LLVM/project b9924c7clang/lib/Lex Preprocessor.cpp, clang/test/Preprocessor dump-tokens.cpp

[clang] Make -dump-tokens option align tokens (#164894)

When using `-Xclang -dump-tokens`, the lexer dump output is currently
difficult to read because the data are misaligned. The existing
implementation simply separates the token name, spelling, flags, and
location using `'\t'`, which results in inconsistent spacing.

For example, the current output looks like this on provided in this
patch example **(BEFORE THIS PR)**:

<img width="2936" height="632" alt="image"
src="https://github.com/user-attachments/assets/ad893958-6d57-4a76-8838-7fc56e37e6a7"
/>

# Changes

This small PR improves the readability of the token dump by:

+ Adding padding after the token name and after the spelling (the

    [9 lines not shown]
DeltaFile
+51-10clang/lib/Lex/Preprocessor.cpp
+37-0clang/test/Preprocessor/dump-tokens.cpp
+88-102 files

LLVM/project a44c158llvm/lib/Target/AMDGPU AMDGPUISelLowering.cpp AMDGPUISelLowering.h, llvm/test/CodeGen/AMDGPU atomic_optimizations_global_pointer.ll amdgpu-simplify-demanded-bits-readfirstlane.ll

[AMDGPU][CodeGen] Implement SimplifyDemandedBitsForTargetNode for readfirstlane. (#190009)

Propagate demanded bits through readfirstlane intrinsic in
AMDGPUISelLowering with SimplifyDemandedBitsForTargetNode
implementation.

This allows upstream zero/sign extensions to be eliminated when only a
subset of bits is used after the intrinsic.

Partially addresses #128390.
DeltaFile
+104-172llvm/test/CodeGen/AMDGPU/atomic_optimizations_global_pointer.ll
+60-0llvm/test/CodeGen/AMDGPU/amdgpu-simplify-demanded-bits-readfirstlane.ll
+25-0llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
+4-14llvm/test/CodeGen/AMDGPU/fix-sgpr-copies-wwm.ll
+8-0llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
+2-5llvm/test/CodeGen/AMDGPU/always-uniform.ll
+203-1916 files

OPNSense/core 70eb725.github/ISSUE_TEMPLATE question.md feature_request.md

Issue template: typos (#10083)
DeltaFile
+2-2.github/ISSUE_TEMPLATE/question.md
+2-2.github/ISSUE_TEMPLATE/feature_request.md
+2-2.github/ISSUE_TEMPLATE/bug_report.md
+6-63 files

LLVM/project 00aede8clang/include/clang/AST OpenMPClause.h, clang/lib/Sema SemaOpenMP.cpp

Revert "[Clang][OpenMP] Implement Loop splitting `#pragma omp split` directive " (#190335)

Reverts llvm/llvm-project#183261

15 new lit tests failing in openmp
DeltaFile
+0-1,986clang/test/OpenMP/split_codegen.cpp
+0-270clang/lib/Sema/SemaOpenMP.cpp
+0-139openmp/runtime/test/transform/split/iterfor.cpp
+0-123clang/test/OpenMP/split_counts_verify.c
+0-101clang/include/clang/AST/OpenMPClause.h
+0-99clang/test/OpenMP/split_messages.cpp
+0-2,71874 files not shown
+11-4,20080 files

LLVM/project bc695ballvm/lib/Transforms/Vectorize SLPVectorizer.cpp

Fix formatting

Created using spr 1.3.7
DeltaFile
+2-1llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+2-11 files

NetBSD/src uRVoBsfsys/uvm uvm_swap.c uvm_pdaemon.c

   Pull up following revision(s) (requested by yamt in ticket #242):

        sys/uvm/uvm_pdaemon.c: revision 1.135
        sys/uvm/uvm_pdaemon.c: revision 1.137
        sys/uvm/uvm_pdaemon.c: revision 1.138
        sys/uvm/uvm_swap.c: revision 1.210

   Add more debugging.

   To help understand PR 56764 better.
   Ok riastradh@

   Disable a kassertmsg.
   This triggers for me quite reliably over years now, and has been
   tracked in PR 56764, with no resolution.

   It seems the asserted inequality just is not correct.
   uvmpd_scan_queue: remove ENABLE_UNRELIABLE_CHECK_PR_56764 block
   while this condition is true in most of times, we can't

    [8 lines not shown]
VersionDeltaFile
1.209.2.1+8-2sys/uvm/uvm_swap.c
1.134.8.1+2-3sys/uvm/uvm_pdaemon.c
+10-52 files

LLVM/project bae0a95llvm/test/CodeGen/AMDGPU memory-legalizer-private-workgroup.ll memory-legalizer-private-wavefront.ll

Rebase, small improvement

Created using spr 1.3.7
DeltaFile
+8,544-1,366llvm/test/CodeGen/AMDGPU/memory-legalizer-private-workgroup.ll
+8,544-1,366llvm/test/CodeGen/AMDGPU/memory-legalizer-private-wavefront.ll
+8,544-1,366llvm/test/CodeGen/AMDGPU/memory-legalizer-private-singlethread.ll
+8,449-1,355llvm/test/CodeGen/AMDGPU/memory-legalizer-private-agent.ll
+8,449-1,355llvm/test/CodeGen/AMDGPU/memory-legalizer-private-cluster.ll
+8,069-1,315llvm/test/CodeGen/AMDGPU/memory-legalizer-private-system.ll
+50,599-8,1232,149 files not shown
+310,123-86,6592,155 files

NetBSD/src T5kmqG7sys/dev/nvmm/x86 nvmm_x86_vmx.c

   Pull up following revision(s) (requested by yamt in ticket #240):

        sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.93

   nvmm_x86_vmx.c: fixes tprof stalls

   the current implementation of nvmm nmi handling is
   simple; just drops them. it interferes other nmi-using
   components in the system, including tprof.

   this commit makes nvmm try to dispatch nmis by itself.
   while this is imperfect, it's good enough to give
   tprof a chance to unmask LAPIC_LVT_PCINT.
   i guess svm VMCB_EXITCODE_NMI needs something similar.
   but i have no hardware. if someone wants to test a patch,
   please let me know.

   reproduce recipe:
   1. run "tprof top" in a terminal. leave it running.

    [2 lines not shown]
VersionDeltaFile
1.90.2.1+25-6sys/dev/nvmm/x86/nvmm_x86_vmx.c
+25-61 files

NetBSD/src sHyRlflsys/uvm uvm_mmap.c

   Pull up following revision(s) (requested by yamt in ticket #239):

        sys/uvm/uvm_mmap.c: revision 1.189

   sys_mincore: stop locking potentially huge amount of user memory

   the current implementation performs uvm_vslock() on the
   user-specified amount of memory. it isn't safe in general.
   some might even consider it as a security issue.

   this commit fixes it by splitting the user-specified range into
   small ones which a temporary kernel buffer can cover. it's ok to
   report potentially stale values as the mincore() api is inherently
   racy in the first place.

   while we still ought to invent a proper "lock user memory for
   direct i/o" infrastructue, in this particular use case, it isn't
   necessary or appropriate.
VersionDeltaFile
1.186.2.2+70-47sys/uvm/uvm_mmap.c
+70-471 files

NetBSD/src Nnerehxsys/uvm uvm_mmap.c

   Pull up following revision(s) (requested by yamt in ticket #238):

        sys/uvm/uvm_mmap.c: revision 1.188

   uvm_mmap.c: fix overflow check

   this is my best guess of the intention of the original code,
   where "*addr + *size < *addr" seems always false because "*size" is 0.
VersionDeltaFile
1.186.2.1+6-4sys/uvm/uvm_mmap.c
+6-41 files

LLVM/project 15ed4f6llvm/lib/CodeGen/SelectionDAG SelectionDAG.cpp, llvm/test/CodeGen/X86 known-pow2.ll

[DAG] isKnownToBeAPowerOfTwo - add missing DemandedElts handling to ISD::TRUNCATE and hidden m_Neg pattern (#190190)

Use MaskedVectorIsZero to match X & -X pattern when only DemandedElts
match the negation pattern

Fixes #181654 (properly)
DeltaFile
+8-6llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+3-4llvm/test/CodeGen/X86/known-pow2.ll
+11-102 files

HardenedBSD/src 1e0a465contrib/libucl/include ucl.h ucl++.h, contrib/libucl/src ucl_util.c ucl_parser.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+1,012-999contrib/libucl/src/ucl_util.c
+701-690contrib/libucl/src/ucl_parser.c
+556-620contrib/libucl/src/ucl_msgpack.c
+346-349contrib/libucl/src/ucl_schema.c
+347-334contrib/libucl/include/ucl.h
+301-264contrib/libucl/include/ucl++.h
+3,263-3,25646 files not shown
+5,007-4,61252 files

HardenedBSD/src ce3f554contrib/libucl/include ucl.h ucl++.h, contrib/libucl/src ucl_util.c ucl_parser.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+1,012-999contrib/libucl/src/ucl_util.c
+701-690contrib/libucl/src/ucl_parser.c
+556-620contrib/libucl/src/ucl_msgpack.c
+346-349contrib/libucl/src/ucl_schema.c
+347-334contrib/libucl/include/ucl.h
+301-264contrib/libucl/include/ucl++.h
+3,263-3,25646 files not shown
+5,007-4,61252 files