LLVM/project 8a25f95clang/include/clang/CIR MissingFeatures.h, clang/lib/CIR/CodeGen CIRGenExpr.cpp CIRGenModule.cpp

[CIR] Implement non-odr use of reference type lowering (#185720)

This is used somewhat rarely, but is a pretty simple emission of
pointers, and ends up using infrastructure we already have.
Additionally, this is the first use of `getNaturalTypeAlignment` that
uses the `pointee` argument, so this adds the implementation there,
which includes some alignment work for CXXRecordDecls, so this
implements that as well.
DeltaFile
+35-0clang/test/CIR/CodeGen/non-odr-use-non-ref.cpp
+11-2clang/lib/CIR/CodeGen/CIRGenExpr.cpp
+8-2clang/lib/CIR/CodeGen/CIRGenModule.cpp
+2-1clang/lib/CIR/CodeGen/CIRGenModule.h
+0-1clang/include/clang/CIR/MissingFeatures.h
+56-65 files

LLVM/project 1ea11e4clang/lib/CIR/CodeGen CIRGenExpr.cpp, clang/test/CIR/CodeGenBuiltins builtin-bcopy.cpp

[CIR] Implement 'builtin-addressof' for 'getPointerWithAlignment' (#185684)

The 'getPointerWithAlignment' is really only called when evaluating
arguments for builtins, so the test is a touch weird as it test through
bcopy. However, this shows up in some headers, so it is important that
we support this.

This patch just adds the implementation, which mirrors classic-codegen,
except that we don't generate TBAA.
DeltaFile
+18-0clang/test/CIR/CodeGenBuiltins/builtin-bcopy.cpp
+5-3clang/lib/CIR/CodeGen/CIRGenExpr.cpp
+23-32 files

LLVM/project 6bc0fafclang/lib/CIR/CodeGen CIRGenItaniumCXXABI.cpp CIRGenVTables.cpp, clang/test/CIR/CodeGenCXX vtable-linkage.cpp vtable-virt-thunk-adj.cpp

[CIR] Implement deferred V-Table emission (#185655)

We are currently only emitting Vtables that have an 'immediate' need to
emit. There rest, we are supposed to add to a list and emit at the end
of the translation unit if necessary. This patch implements that
infrastructure.

The test added is from classic-codegen and came in at the same time as
the deferred vtable emission over there, and only works with deferred
vtable emission, and while it does test the deferred emission, tests
quite a bit more than that. AND since it came in with the same
functionality in classic codegen, seemed to make sense to come in here
too.
DeltaFile
+258-0clang/test/CIR/CodeGenCXX/vtable-linkage.cpp
+146-3clang/lib/CIR/CodeGen/CIRGenItaniumCXXABI.cpp
+75-0clang/test/CIR/CodeGenCXX/vtable-virt-thunk-adj.cpp
+63-0clang/lib/CIR/CodeGen/CIRGenVTables.cpp
+20-0clang/lib/CIR/CodeGen/CIRGenModule.h
+10-3clang/lib/CIR/CodeGen/CIRGenModule.cpp
+572-63 files not shown
+579-109 files

LLVM/project d8f3be7mlir/lib/Transforms/Utils DialectConversion.cpp, mlir/test/Transforms test-legalize-type-conversion.mlir

[mlir][dialect-conversion] Fix OOB crash in convertFuncOpTypes for funcs with extra block args (#185060)

Some function ops (e.g., gpu.func with workgroup memory arguments) have
more entry block arguments than their FunctionType has inputs. The
workgroup memory arguments are not part of the public function signature
but are present as additional block arguments.

`convertFuncOpTypes` previously created a `SignatureConversion` sized
only for `type.getNumInputs()`, then called `applySignatureConversion`
on the entry block. When the block had more arguments (e.g., workgroup
args), the loop in `applySignatureConversion` would call
`getInputMapping(i)` with out-of-bounds indices, causing an assertion
failure in `SmallVector::operator[]`.

Fix this by:
1. Sizing the `SignatureConversion` for all entry block arguments.
2. Adding identity mappings for extra block args beyond the function
type inputs.
3. Using only the converted function-type-input types when updating the

    [5 lines not shown]
DeltaFile
+29-9mlir/lib/Transforms/Utils/DialectConversion.cpp
+19-0mlir/test/Transforms/test-legalize-type-conversion.mlir
+48-92 files

LLVM/project b78ceefmlir/lib/Dialect/SCF/Utils Utils.cpp, mlir/test/Transforms parametric-tiling.mlir

[mlir][scf] Fix crash in extractFixedOuterLoops with iter_args loops (#184106)

The stripmineSink helper splices loop body operations into a new inner
scf.for that has no iter_args. When the target loop carries iter_args,
values yielded by the spliced body are moved inside the inner loop, but
the outer loop's yield terminator still references those values,
creating an SSA invariant violation. In debug builds this triggers the
assertion
  use_empty() && "Cannot destroy a value that still has uses\!"
when the outer RewriterBase tries to erase the now-broken operations.

Fix: in extractFixedOuterLoops, skip the strip-mining transformation if
any of the collected perfectly-nested loops have iter_args.

Add a regression test to parametric-tiling.mlir.

Fixes #129044

Assisted-by: Claude Code
DeltaFile
+19-0mlir/test/Transforms/parametric-tiling.mlir
+9-0mlir/lib/Dialect/SCF/Utils/Utils.cpp
+28-02 files

LLVM/project 7beba38mlir/lib/Interfaces ValueBoundsOpInterface.cpp, mlir/test/Dialect/ControlFlow value-bounds-op-interface-impl.mlir

[MLIR] Fix crash in ValueBoundsConstraintSet for non-entry block args (#185048)

When two vector transfer ops share a non-entry block argument as an
index (e.g., in a loop with unstructured control flow), calling
`ValueBoundsConstraintSet::areEqual` on those values caused a crash.

The first `populateConstraints` call would insert the block argument
into the constraint set. The second call found it already mapped and
called `getPos`, which hit an assert requiring the value to be either an
OpResult or an entry-block argument.

Fix with two changes:
1. In `insert()`, suppress adding non-entry block arguments to the
worklist. `ValueBoundsOpInterface` cannot derive bounds for such values,
so the worklist push was a no-op and triggered the re-entrant `getPos`
call.
2. Remove the overly conservative assert in `getPos`. Looking up a
previously inserted non-entry block argument is valid; the assert was
preventing legitimate use after the value had already been inserted.

    [3 lines not shown]
DeltaFile
+26-0mlir/test/Dialect/ControlFlow/value-bounds-op-interface-impl.mlir
+10-4mlir/lib/Interfaces/ValueBoundsOpInterface.cpp
+36-42 files

LLVM/project 2b6bd31llvm/test/tools/llvm-mca/X86/AlderlakeP resources-x86_64.s, llvm/test/tools/llvm-mca/X86/Atom resources-x86_64.s

[X86] Add mayLoad/mayStore to legacy instructions CMPS/LODS/MOVS/SCAS/STOS (#185689)

When LLVM is used to disassemble instructions, legacy X86 strings
instructions doesn't report memory access with mayLoad and mayStore.

Note that INS and OUTS may also need sush flags, but I'm not totally
sure which one.
DeltaFile
+20-20llvm/test/tools/llvm-mca/X86/SapphireRapids/resources-x86_64.s
+20-20llvm/test/tools/llvm-mca/X86/AlderlakeP/resources-x86_64.s
+20-20llvm/test/tools/llvm-mca/X86/Atom/resources-x86_64.s
+20-20llvm/test/tools/llvm-mca/X86/Barcelona/resources-x86_64.s
+20-20llvm/test/tools/llvm-mca/X86/BdVer2/resources-x86_64.s
+20-20llvm/test/tools/llvm-mca/X86/Broadwell/resources-x86_64.s
+120-12014 files not shown
+391-39120 files

pkgng/pkgng 637c144libpkg pkg_elf.c, tests/lib pkg_elf.c

elf: really analyse the content of an .a

Don't claim it is architecture dependant if it is not

Fixes: #2008
DeltaFile
+52-0tests/lib/pkg_elf.c
+23-3libpkg/pkg_elf.c
+75-32 files

NetBSD/pkgsrc s6OrOpcdoc CHANGES-pkgsrc-2025Q4

   doc: update for ticket 7055
VersionDeltaFile
1.1.2.15+3-1doc/CHANGES-pkgsrc-2025Q4
+3-11 files

NetBSD/pkgsrc amaLvxHwww/palemoon distinfo Makefile.common

   Pullup ticket #7055 - requested by nia
   www/palemoon: Security fix

   Revisions pulled up:
   - www/palemoon/Makefile.common                                  1.3
   - www/palemoon/distinfo                                         1.38

   ---
      Module Name:      pkgsrc
      Committed By:     nia
      Date:             Thu Mar  5 14:02:34 UTC 2026

      Modified Files:
        pkgsrc/www/palemoon: Makefile.common distinfo

      Log Message:
      palemoon: Update to 34.1.0

      Improves JavaScript and CSS compatibility and includes several
      security fixes.
VersionDeltaFile
1.34.2.2+13-13www/palemoon/distinfo
1.2.2.3+3-3www/palemoon/Makefile.common
+16-162 files

OPNSense/core 9562579src/etc/rc.subr.d php var

rc: speed up file deletes

PR: https://forum.opnsense.org/index.php?topic=51232.0
DeltaFile
+1-1src/etc/rc.subr.d/php
+1-1src/etc/rc.subr.d/var
+2-22 files

FreeBSD/src c4c3753lib/libc/tests/stdlib system_test.c

system(3): Address test robustness issue

Don't assume that SIGINT and SIGQUIT are set to SIG_DFL at the start
of the test.  Instead, retrieve their current dispositions and verify
that they are restored at the end of the test.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Reviewed by:    kevans
Differential Revision:  https://reviews.freebsd.org/D55709

(cherry picked from commit 48368f702423742b2a7dff7ad3191625e8bf26f0)

system(3): Fix brain glitch in previous commit

We were saving SIGINT twice instead of SIGINT and SIGQUIT.

Also restore original order of operations (SIGINT then SIGQUIT), which
matches the order in which they're discussed in the POSIX description

    [7 lines not shown]
DeltaFile
+27-11lib/libc/tests/stdlib/system_test.c
+27-111 files

FreeBSD/src 3d394a1lib/libc/stdlib system.c

system(3): Unwrap execve()

There is no need to call execl(), which will allocate an array and copy
our arguments into it, when we can use a static array and call execve()
directly.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Reviewed by:    kevans
Differential Revision:  https://reviews.freebsd.org/D55648

(cherry picked from commit 40e52e0edd038460a2a2aca017b3ac5a513fe37b)
DeltaFile
+3-1lib/libc/stdlib/system.c
+3-11 files

LLVM/project 776589allvm/lib/Transforms/Vectorize VPlanRecipes.cpp, llvm/test/Transforms/LoopVectorize/VPlan find-last.ll

[VPlan] Handle FindLast in VPIRFlags::printFlags (#185857)

Noticed this when -vplan-print-after-all crashed on a find-last
reduction. We don't yet return an opcode for it because there's no
in-loop reduction.
DeltaFile
+91-0llvm/test/Transforms/LoopVectorize/VPlan/find-last.ll
+3-0llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+94-02 files

LLVM/project b157e09libclc/clc/lib/generic/math clc_hypot.inc clc_hypot.cl

libclc: Update hypot implementation

This avoids bithacking on the values and improves value
tracking.
DeltaFile
+30-67libclc/clc/lib/generic/math/clc_hypot.inc
+8-6libclc/clc/lib/generic/math/clc_hypot.cl
+38-732 files

FreeNAS/freenas 252bd59src/middlewared/middlewared job.py main.py, src/middlewared/middlewared/plugins/container crud.py

Make Job framework generic and @job decorator typesafe
DeltaFile
+63-18src/middlewared/middlewared/service/decorators.py
+37-0src/middlewared/middlewared/utils/service/call_mixin.py
+16-14src/middlewared/middlewared/job.py
+26-0src/middlewared/middlewared/main.py
+2-2src/middlewared/middlewared/plugins/truenas/tn.py
+2-2src/middlewared/middlewared/plugins/container/crud.py
+146-366 files not shown
+154-4612 files

pkgng/pkgng ccbaad9src audit.c

audit: close the db late

Trying to fix a TSAM reported issue
While here plug a LSAN reported memory leak
DeltaFile
+2-2src/audit.c
+2-21 files

NetBSD/pkgsrc 4K8RjUudoc CHANGES-2026

   Updated misc/py-lazy_loader, devel/py-mmh3
VersionDeltaFile
1.1687+3-1doc/CHANGES-2026
+3-11 files

NetBSD/pkgsrc fUJVo8Fdevel/py-mmh3 distinfo Makefile

   py-mmh3: updated to 5.2.1

   5.2.1

   Added

   Add support for the Android wheel for Python 3.14.

   Removed

   Drop support for Python 3.9, as it has reached the end of life on 2025-10-31.
VersionDeltaFile
1.7+4-4devel/py-mmh3/distinfo
1.7+2-2devel/py-mmh3/Makefile
+6-62 files

NetBSD/pkgsrc JPuZJuDmisc/py-lazy_loader PLIST distinfo

   py-lazy_loader: updated to 0.5

   0.5

   Enhancements

   - Add `suppress_warning` parameter to the `load` function

   Bug Fixes

   - fix: Remove problematic try/finally block
   - Make sure that `__dir__` returns new copies of `__all__`
   - Allow disabled eager loading with EAGER_IMPORT=0

   Documentation

   - Update release process doc
VersionDeltaFile
1.5+1-17misc/py-lazy_loader/PLIST
1.4+4-4misc/py-lazy_loader/distinfo
1.7+2-3misc/py-lazy_loader/Makefile
+7-243 files

LLVM/project aa90addllvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/X86 reduced-value-stored.ll

[SLP]Track vectorized values in reductions for correct handling between vectorization

Need to use WeakTrackingVH handler instead of the Value * to correctly
track modified/replaced vectorized instructions

Fixes https://github.com/llvm/llvm-project/pull/182760#issuecomment-4036706233
DeltaFile
+62-0llvm/test/Transforms/SLPVectorizer/X86/reduced-value-stored.ll
+14-11llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+76-112 files

FreeBSD/ports cc97815devel/ruby-build distinfo Makefile

devel/ruby-build: Update to 20260311

Changes:        https://github.com/rbenv/ruby-build/releases/tag/v20260311
(cherry picked from commit 007ffa2f06dd248aebc5d7ec59c80a1f1f3dbabf)
DeltaFile
+3-3devel/ruby-build/distinfo
+1-1devel/ruby-build/Makefile
+4-42 files

LLVM/project 3a6aa13llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 combine-add.ll

[X86] Optimized ADD + ADC to ADC (#173543)

This patch folds an `adc` followed by an `add` into a single `adc` instruction when adding constants.

Fixes #173408
DeltaFile
+79-0llvm/test/CodeGen/X86/combine-add.ll
+22-0llvm/lib/Target/X86/X86ISelLowering.cpp
+101-02 files

OpenBSD/ports fm1X3LNdevel/ccache Makefile, devel/ccache/patches patch-doc_CMakeLists_txt

   ccache: patch to disable markdown docs, otherwise packaging fails if
   pandoc is not available
VersionDeltaFile
1.1+21-0devel/ccache/patches/patch-doc_CMakeLists_txt
1.7+0-4devel/ccache/pkg/PLIST
1.108+1-0devel/ccache/Makefile
+22-43 files

FreeBSD/ports 007ffa2devel/ruby-build distinfo Makefile

devel/ruby-build: Update to 20260311

Changes:        https://github.com/rbenv/ruby-build/releases/tag/v20260311
DeltaFile
+3-3devel/ruby-build/distinfo
+1-1devel/ruby-build/Makefile
+4-42 files

LLVM/project 8778333libclc/clc/lib/generic/math clc_hypot.inc clc_hypot.cl

libclc: Update hypot implementation

This avoids bithacking on the values and improves value
tracking.
DeltaFile
+32-67libclc/clc/lib/generic/math/clc_hypot.inc
+8-6libclc/clc/lib/generic/math/clc_hypot.cl
+40-732 files

LLVM/project 95dddf6libclc/clc/include/clc/math clc_frexp_exp.h, libclc/clc/include/clc/shared unary_decl_with_int_return.inc

libclc: Add frexp_exp utility function

Many functions want to extract the exponent and
currently rely on bithacking to do it. These can be
better handled with frexp. AMDGPU has a dedicated
instruction for each of the frexp return values. Other
targets could override this to do the bithacking (though
they would be better off teaching codegen to optimize
frexp with a discarded output).
DeltaFile
+22-0libclc/clc/include/clc/math/clc_frexp_exp.h
+13-0libclc/clc/lib/generic/math/clc_frexp_exp.cl
+13-0libclc/clc/lib/generic/math/clc_frexp_exp.inc
+9-0libclc/clc/include/clc/shared/unary_decl_with_int_return.inc
+1-0libclc/clc/lib/generic/CMakeLists.txt
+58-05 files

LLVM/project 33584b6llvm/lib/CodeGen StackSlotColoring.cpp, llvm/test/CodeGen/AMDGPU si-lower-sgpr-spills-vgpr-lanes-usage.mir

[StackSlotColoring] Check for zero stack slot size in RemoveDeadStores (#182673)

The default implementations of the methods isLoadFromStackSlot() and
isStoreToStackSlot() used in StackSlotColoring::RemoveDeadStores() set
the number of bytes loaded from the stack (MemBytes) to zero to indicate
that the value is unknown. This means that
StackSlotColoring::RemoveDeadStores() must abort if the size is zero
otherwise the stack slot size check doesn't mean anything.

As backends that use this are required to override the default
implementations this should not impose any degradation of the code.

As the registers also must match in
StackSlotColoring::RemoveDeadStores() for the store to be optimized away
there is small risk of this being a real bug.

---------

Co-authored-by: Karl-Johan Karlsson <karl-johan.karlsson at ericsson.com>
DeltaFile
+3-0llvm/lib/CodeGen/StackSlotColoring.cpp
+3-0llvm/test/CodeGen/AMDGPU/si-lower-sgpr-spills-vgpr-lanes-usage.mir
+6-02 files

pkgng/pkgng 2aa6216src upgrade.c, tests/frontend upgrade.sh

upgrade: fix yet another endless upgrade loop of pkg

Fixes:  #2023
DeltaFile
+36-0tests/frontend/upgrade.sh
+1-1src/upgrade.c
+37-12 files

FreeBSD/ports 2371cabsecurity/openssl33-quictls Makefile

security/openssl33-quictls: Fix CONFLICTS

And mark DEPRECATED
DeltaFile
+4-1security/openssl33-quictls/Makefile
+4-11 files