LLVM/project c862287 — llvm/include/llvm/CodeGen LiveStacks.h, llvm/lib/CodeGen RegAllocGreedy.cpp LiveStacks.cpp

[CodeGen] Repair LiveStacks before compaction (#244601)

SlotIndexes compaction unlinks the entries of erased instructions,
so nothing may still refer to one. LiveStacks did: spill slot
intervals survive between greedy runs, and their boundaries can sit
on instructions erased in between.

Such a boundary stops following renumbering, so overlapping slots
can look disjoint. StackSlotColoring then merges them, and one
spill clobbers the other.

Move such boundaries onto the preceding instruction before
compacting.
DeltaFile
+164-0llvm/test/CodeGen/RISCV/rvv/greedy-compact-slot-indexes-spill-slot.ll
+122-0llvm/unittests/CodeGen/SlotIndexesTest.cpp
+22-0llvm/lib/CodeGen/LiveStacks.cpp
+3-0llvm/include/llvm/CodeGen/LiveStacks.h
+1-0llvm/lib/CodeGen/RegAllocGreedy.cpp
+312-05 files

FreeBSD/ports 4ca01f7 — . MOVED, chinese/fandol distinfo pkg-descr

chinese/fandol: Remove port

- Upstream (CTAN) has declared the Chinese Fandol fonts obsolete

MFH:            2026Q4
(cherry picked from commit c1d314f775e1a6d80b09efe2e1e638d91748fc80)
DeltaFile
+0-36chinese/fandol/Makefile
+0-21chinese/fandol/files/pkg-message.in
+0-8chinese/fandol/pkg-plist
+0-4chinese/fandol/pkg-descr
+0-3chinese/fandol/distinfo
+1-0MOVED
+1-721 files not shown
+1-737 files

LLVM/project 1174e59 — clang/lib/CodeGen CodeGenFunction.cpp CGCall.cpp

clang: Avoid adding zero-call-used-regs attribute to main

Rather than removing the "zero-call-used-regs" attribute from main
when its body is emitted, don't add it when constructing main's
attributes.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+41-32clang/lib/CodeGen/CGCall.cpp
+0-4clang/lib/CodeGen/CodeGenFunction.cpp
+41-362 files

LLVM/project 33aaf29 — clang/lib/CodeGen CGClass.cpp CodeGenFunction.h

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+4-14clang/lib/CodeGen/ItaniumCXXABI.cpp
+12-5clang/lib/CodeGen/CGExpr.cpp
+7-0clang/lib/CodeGen/CodeGenFunction.h
+1-5clang/lib/CodeGen/CGClass.cpp
+24-244 files

LLVM/project b6b50c0 — orc-rt/include/orc-rt/support AllocAction.h, orc-rt/test/unit/support/sps SPSAllocActionTest.cpp

[orc-rt] Add AllocActionFunction::handleWithMethod (#245489)

AllocActionFunction::handleWithMethod wraps a pointer to a noexcept
member function for use as an allocation action handler. The resulting
handler takes the address of the target object (as an ExecutorAddr) as
its first argument, casts it to a ClassT*, and calls the method on it
with the remaining arguments. This mirrors
WrapperFunction::handleWithSyncMethod, and removes the need to write a
free-function trampoline for each method-based action:

  class Registrar {
  public:
    Error registerRange(ExecutorAddrRange R) noexcept;
  };

  ORC_RT_SPS_ALLOC_ACTION_IMPL(
      registrar_register, (SPSExecutorAddr, SPSExecutorAddrRange),
      AllocActionFunction::handleWithMethod(&Registrar::registerRange));


    [5 lines not shown]
DeltaFile
+47-0orc-rt/test/unit/support/sps/SPSAllocActionTest.cpp
+38-0orc-rt/include/orc-rt/support/AllocAction.h
+85-02 files

LLVM/project a897673 — clang/lib/CodeGen CodeGenFunction.h CGExpr.cpp

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+20-17clang/lib/CodeGen/CGExpr.cpp
+5-0clang/lib/CodeGen/CodeGenFunction.h
+25-172 files

LLVM/project adead76 — llvm/include/llvm/Transforms/IPO LowerTypeTests.h, llvm/lib/Transforms/IPO LowerTypeTests.cpp

LowerTypeTests: Only invalidate analyses of modified functions in DropTypeTests

Previously everything was invalidated on any changes, so even
invariant function analyses were discarded.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+97-0llvm/test/Transforms/LowerTypeTests/drop-type-tests-preserve-function-analyses.ll
+41-13llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+6-3llvm/include/llvm/Transforms/IPO/LowerTypeTests.h
+144-163 files

LLVM/project 4b1981d — llvm/test/Other new-pm-O0-defaults.ll

Fix test
DeltaFile
+1-1llvm/test/Other/new-pm-O0-defaults.ll
+1-11 files

LLVM/project 8a2433f — llvm/lib/Transforms/IPO LowerTypeTests.cpp

comment
DeltaFile
+3-0llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+3-01 files

LLVM/project 75d49da — llvm/lib/Target/Mips MipsDSPInstrInfo.td, llvm/test/CodeGen/Mips dsp-vec-bitcast.ll

[Mips] Fix DSP bitcasts between v2i16 and v4i8 (#245202)

v2i16 and v4i8 are both legal DSP vector types in the DSPR register
class, but MipsDSPInstrInfo.td only had bitconvert patterns between each
of them and i32/f32, so a bitcast between the two vector types failed to
select.

The bitcast is a no-op: both types are loaded and stored as a 32-bit GPR
word with element 0 at the lowest address on either endianness. Add the
two missing patterns, plus a test covering both directions on both byte
orders.

Fixes #245155
DeltaFile
+50-0llvm/test/CodeGen/Mips/dsp-vec-bitcast.ll
+2-0llvm/lib/Target/Mips/MipsDSPInstrInfo.td
+52-02 files

LLVM/project 74c459a — llvm/lib/Target/RISCV RISCVInstrInfoP.td

fixup! Fix incorrect comment
DeltaFile
+2-2llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+2-21 files

LLVM/project c366793 — llvm/lib/Transforms/Instrumentation KCFI.cpp

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+48-57llvm/lib/Transforms/Instrumentation/KCFI.cpp
+48-571 files

FreeBSD/src 408af93 — sys/modules Makefile

aq: build the module on arm64

The driver has no x86 dependency.  It attaches and passes traffic on a
Raspberry Pi 5 with an AQC100 in its PCIe slot.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D60462
Signed-off-by:  Nick Price <nprice at FreeBSD.org>
DeltaFile
+1-1sys/modules/Makefile
+1-11 files

LLVM/project 7d90068 — llvm/lib/Target/RISCV RISCVISelLowering.cpp RISCVInstrInfoP.td

[RISCV][P-ext] Custom lower int_riscv_mul_00 to RISCVISD.
DeltaFile
+61-60llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+34-54llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+95-1142 files

HardenedBSD/src ac799fc — stand/libsa environment.c, sys/amd64/vmm/io ppt.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+32-22sys/fs/ext2fs/ext2_extents.c
+29-9sys/amd64/vmm/io/ppt.c
+19-11sys/netinet/in_pcb.c
+20-5sys/fs/ext2fs/ext2_alloc.c
+7-8stand/libsa/environment.c
+6-3sys/dev/snp/snp.c
+113-584 files not shown
+133-6210 files

FreeBSD/src 873a495 — sys/dev/aq aq_device.h aq_ring.c

aq: support a legacy INTx interrupt

aq(4) attached only with MSI-X.  Without an MSI controller iflib falls
back to INTx, and attach failed with EOPNOTSUPP.

Accept IFLIB_INTR_LEGACY, program the controller for INTx, and add a
legacy filter.  INTx is level-triggered and nothing auto-masks, so the
filter masks the vector before acknowledging it; iflib unmasks it via
IFDI_INTR_ENABLE once the queues are drained.  All causes already map
to vector 0 in this mode.  MSI stays unsupported: iflib never selects
it here, since these controllers advertise 32 messages.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D60461
Signed-off-by:  Nick Price <nprice at FreeBSD.org>
DeltaFile
+19-0sys/dev/aq/aq_irq.c
+1-5sys/dev/aq/aq_main.c
+1-1sys/dev/aq/aq_ring.c
+1-1sys/dev/aq/aq_hw.c
+1-0sys/dev/aq/aq_device.h
+23-75 files

HardenedBSD/src 8e14f05 — stand/libsa environment.c, sys/amd64/vmm/io ppt.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+32-22sys/fs/ext2fs/ext2_extents.c
+29-9sys/amd64/vmm/io/ppt.c
+19-11sys/netinet/in_pcb.c
+20-5sys/fs/ext2fs/ext2_alloc.c
+7-8stand/libsa/environment.c
+6-3sys/dev/snp/snp.c
+113-584 files not shown
+133-6210 files

FreeBSD/doc 0061497 — documentation/content/en/articles/committers-guide _index.adoc, documentation/content/en/books/porters-handbook/special _index.adoc

ports: remove mentions of ports/LEGAL, it was removed in 2021
DeltaFile
+0-8documentation/content/en/books/porters-handbook/special/_index.adoc
+0-1documentation/content/en/articles/committers-guide/_index.adoc
+0-92 files

LLVM/project fe8345c — clang/lib/Driver SanitizerArgs.cpp, clang/test/Driver fsanitize-trap.c

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+10-3clang/lib/Driver/SanitizerArgs.cpp
+9-0clang/test/Driver/fsanitize-trap.c
+19-32 files

HardenedBSD/ports eecd1a8 — audio/sound-firmware-cirrus distinfo Makefile, audio/sound-firmware-cirrus/files extract-fw-list.sh

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+132-0audio/sound-firmware-cirrus/Makefile
+59-0audio/sound-firmware-cirrus/distinfo
+47-0audio/sound-firmware-cirrus/files/extract-fw-list.sh
+17-9devel/py-ty/distinfo
+23-3editors/2bsd-vi/files/patch-Makefile.in
+5-5textproc/miller/distinfo
+283-1714 files not shown
+323-3920 files

HardenedBSD/src d888f02 — tests/sys/fs/fdescfs fdescfs_test.c

tests/fdescfs: add a license header

Differential Revision:  https://reviews.freebsd.org/D61230
Signed-off-by:  Nick Price <nprice at FreeBSD.org>
DeltaFile
+6-0tests/sys/fs/fdescfs/fdescfs_test.c
+6-01 files

FreeBSD/src d888f02 — tests/sys/fs/fdescfs fdescfs_test.c

tests/fdescfs: add a license header

Differential Revision:  https://reviews.freebsd.org/D61230
Signed-off-by:  Nick Price <nprice at FreeBSD.org>
DeltaFile
+6-0tests/sys/fs/fdescfs/fdescfs_test.c
+6-01 files

LLVM/project e2b0a1e — llvm/lib/Transforms/Utils CloneFunction.cpp

CloneFunction: Factor out pruned clone terminator folding (#245482)

Move the cleanup code after inlining unto a helper function which
will be reused in a future patch.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+68-63llvm/lib/Transforms/Utils/CloneFunction.cpp
+68-631 files

FreeBSD/src 2679104 — libexec/bootpd bootpd.c

bootpd: clamp the DHCP reply length to the packet buffer

A client could set the DHCP maximum-message-size option to a large
value; dovend_rfc1048() derived the reply length from it with no upper
bound, so the trailing bzero() of the vendor area ran far past the
MAX_MSG_SIZE packet buffer.  A value >= 0x8000 read into a signed short
instead went negative and slipped past the length clamps, leaving
sendto() to read a huge length from the buffer.

Read msgsz unsigned and clamp the reply length to the buffer size.

Reviewed by:    imp
Differential Revision:  https://reviews.freebsd.org/D61009
Signed-off-by:  Nick Price <nprice at FreeBSD.org>
DeltaFile
+5-1libexec/bootpd/bootpd.c
+5-11 files

HardenedBSD/src 2679104 — libexec/bootpd bootpd.c

bootpd: clamp the DHCP reply length to the packet buffer

A client could set the DHCP maximum-message-size option to a large
value; dovend_rfc1048() derived the reply length from it with no upper
bound, so the trailing bzero() of the vendor area ran far past the
MAX_MSG_SIZE packet buffer.  A value >= 0x8000 read into a signed short
instead went negative and slipped past the length clamps, leaving
sendto() to read a huge length from the buffer.

Read msgsz unsigned and clamp the reply length to the buffer size.

Reviewed by:    imp
Differential Revision:  https://reviews.freebsd.org/D61009
Signed-off-by:  Nick Price <nprice at FreeBSD.org>
DeltaFile
+5-1libexec/bootpd/bootpd.c
+5-11 files

FreeBSD/src 2bcf574 — sys/dev/acpica acpi.c

acpi: set up the sysctl tree before acpi_machdep_init()

On amd64 and i386, acpi_machdep_init() adds hw.acpi.reset_video under
acpi_sysctl_tree.  Since the tree moved to the end of attach, it no
longer exists at that point, so sysctl_add_oid() drops the node and the
sysctl documented in acpi(4) is missing.  Found with KUBSAN.

acpi_machdep_init() cannot fail, so calling it after the tree does not
leave knobs behind on a failed attach.

Fixes: 7f031c9f6b9f ("acpi: Move sysctl tree set up at end of initialization")
Signed-off-by: Nick Price <nprice at FreeBSD.org>

Reviewed by:    olce
Differential Revision:  https://reviews.freebsd.org/D60797
DeltaFile
+5-3sys/dev/acpica/acpi.c
+5-31 files

HardenedBSD/src 2bcf574 — sys/dev/acpica acpi.c

acpi: set up the sysctl tree before acpi_machdep_init()

On amd64 and i386, acpi_machdep_init() adds hw.acpi.reset_video under
acpi_sysctl_tree.  Since the tree moved to the end of attach, it no
longer exists at that point, so sysctl_add_oid() drops the node and the
sysctl documented in acpi(4) is missing.  Found with KUBSAN.

acpi_machdep_init() cannot fail, so calling it after the tree does not
leave knobs behind on a failed attach.

Fixes: 7f031c9f6b9f ("acpi: Move sysctl tree set up at end of initialization")
Signed-off-by: Nick Price <nprice at FreeBSD.org>

Reviewed by:    olce
Differential Revision:  https://reviews.freebsd.org/D60797
DeltaFile
+5-3sys/dev/acpica/acpi.c
+5-31 files

LLVM/project b958d84 — clang/lib/CIR/Dialect/IR CIRAttrs.cpp, clang/test/CIR/CodeGen new.cpp side-effect.cpp

[IR] Make InaccessibleMem a category rather than a location

The memory location `InaccessibleMem` has been used to express various
memory-like restrictions. It is used in many cases where no actual
access to memory occurs; the only purpose of this access is to impose
restrictions on the control flow. It does not specify a concrete reason
why the restrictions are needed, and all operations having such access
are subjected to the same restriction. Using more a specific property
than the generic access to `InaccessibleMem` can be profitable, and
sometimes `InaccessibleMem` undergoes splitting. Previously, `TargetMem`
accesses had been separated from `InaccessibleMem` and there is an
intention to separate the access to floating-point environment.

At the same time, the notion of `InaccessibleMem` is useful. In many
cases, the knowledge that the access cannot alias with any pointer is
enough for an algorithm. Considering all locations as a group may
simplify algorithms; they continue using functions like
`onlyAccessesInaccessibleMem`, although the set of tested locations can
vary.

    [30 lines not shown]
DeltaFile
+66-19llvm/include/llvm/Support/ModRef.h
+37-37clang/test/CIR/CodeGen/side-effect.cpp
+28-27llvm/unittests/Support/ModRefTest.cpp
+44-8clang/lib/CIR/Dialect/IR/CIRAttrs.cpp
+23-23clang/test/CIR/CodeGen/new.cpp
+36-10llvm/lib/IR/Attributes.cpp
+234-12487 files not shown
+631-51193 files

LLVM/project cf29611 — mlir/test/mlir-reduce/opt-reduction dce-test.mlir

[mlir][reducer] Fix dead CHECK-OPT-FILE typo line in dce-test.mlir (#242759)

The check was missing a space ("funcnested"), so it never matched.
DeltaFile
+1-1mlir/test/mlir-reduce/opt-reduction/dce-test.mlir
+1-11 files

LLVM/project 7ebbe97 — llvm/lib/Transforms/Coroutines CoroCleanup.cpp, llvm/test/Transforms/Coroutines coro-cleanup-async-size-replace-analyses.ll coro-cleanup-preserve-function-analyses.ll

Coroutines: Only invalidate analyses of lowered functions in CoroCleanup (#244810)

CoroCleanupPass already invalidates the analyses of the functions it
lowers, but then reported no preserved analyses, which clears every
cached function.

Also stop preserving CFG analyses for lowered functions, since noop
coroutine elision can change the CFG.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+57-0llvm/test/Transforms/Coroutines/coro-cleanup-preserve-function-analyses.ll
+39-0llvm/test/Transforms/Coroutines/coro-cleanup-async-size-replace-analyses.ll
+19-5llvm/lib/Transforms/Coroutines/CoroCleanup.cpp
+115-53 files