LLVM/project a175e99 — clang/include/clang/AST TypeBase.h, clang/lib/AST ASTContext.cpp ItaniumMangle.cpp

[Clang][RISCV] Record the LMUL and mask ratio in RVV fixed-length vector kinds (#237845)

A riscv_rvv_vector_bits typedef keeps only the element type and count,
and later stages re-derive the LMUL of a data type, or the ratio R of a
vbool<R>_t mask type, from VLEN. That breaks once typedefs may be
shorter than VLEN * LMUL, or VLEN / R for masks.

Split VectorKind::RVVFixedLengthData into RVVFixedLengthData_MF8 to _M8,
and RVVFixedLengthMask{,_1,_2,_4} into RVVFixedLengthMaskRatio<R> and
RVVFixedLengthMaskRatio<R>_{1,2,4}, and read the LMUL or the ratio from
the kind. VecKind grows to 6 bits.

This patch prepares to let riscv_rvv_vector_bits typedefs be shorter. It
does not change any behavior, except that the AST dump prints the LMUL
or the ratio.

Assisted-by: Claude
DeltaFile
+140-8clang/include/clang/AST/TypeBase.h
+72-48clang/lib/CodeGen/Targets/RISCV.cpp
+13-44clang/lib/AST/ItaniumMangle.cpp
+16-41clang/lib/AST/TypePrinter.cpp
+56-0clang/test/AST/ast-dump-riscv-rvv-fixed-length-vector-kinds.c
+13-36clang/lib/AST/ASTContext.cpp
+310-1775 files not shown
+348-22111 files

LLVM/project 0afe009 — libc CMakeLists.txt, libc/docs full_host_build.md

[libc] Find linux kernel headers in Debian multiarch directories (#224314)

On Debian/Ubuntu systems without gcc-multilib, architecture-specific
kernel headers are installed in /usr/include/<triple>/asm, while generic
headers are in /usr/include/linux. Because the symlink /usr/include/asm
does not exist, full host builds failed to find <asm/errno.h> and other
asm headers.

Instead of requiring root access to create a symlink in /usr, check if
/usr/include/<triple>/asm exists (using LIBC_TARGET_TRIPLE or
CMAKE_LIBRARY_ARCHITECTURE) and prepend it to LIBC_KERNEL_HEADERS.

Also update consumers of LIBC_KERNEL_HEADERS in runtimes and libc++ test
configs so they handle semicolon-separated lists properly.

Assisted-by: Gemini
DeltaFile
+6-11libc/docs/full_host_build.md
+8-0libc/CMakeLists.txt
+3-1runtimes/cmake/Modules/HandleLibC.cmake
+3-1libcxxabi/test/configs/llvm-libc++abi-llvm-libc.cfg.in
+2-1libcxx/test/configs/llvm-libc++-llvm-libc.cfg.in
+22-145 files

LLVM/project 952b6f0 — offload/include/OpenMP BackendConfig.h, offload/include/OpenMP/BackendConfig LevelZeroConfig.h HostConfig.h

[Offload][Omp] Add Backend specific OpenMP-only options (#235844)

There's a number growing of cases (as we decouple from liboffload) of
places where libomptarget needs to behave or use a different number
depending on the backend. Instead of start adding a bunuch of ` if
(Backend == XX) YY` this PR introduces
a simple ` BackendConfig` class to hide such behavior. It's a simple
class as I don't think we need a really complicated thing (for now at
least).

Ongoing PR's like #234165 or #234191 could make use of it. For now, I
just used to remove the ` isHostDevice` specific condition.

Assisted by Claude.
DeltaFile
+42-0offload/libompaccsupport/BackendConfig.cpp
+39-0offload/include/OpenMP/BackendConfig.h
+15-11offload/libompaccsupport/device.cpp
+23-0offload/include/OpenMP/BackendConfig/HostConfig.h
+23-0offload/include/OpenMP/BackendConfig/AMDGPUConfig.h
+21-0offload/include/OpenMP/BackendConfig/LevelZeroConfig.h
+163-113 files not shown
+191-179 files

LLVM/project df5be51 — clang/test/CodeGen/X86 inline-asm-complex-output.c, llvm/lib/CodeGen/GlobalISel InlineAsmLowering.cpp

Fix two comments that overstate what's handled
DeltaFile
+2-2llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp
+1-1clang/test/CodeGen/X86/inline-asm-complex-output.c
+3-32 files

LLVM/project aa3fd5a — llvm/lib/CodeGen/SelectionDAG SelectionDAGBuilder.cpp, llvm/lib/Target/X86 X86FlagsCopyLowering.cpp

Merge branch 'users/void/callbr-asm-error' into users/void/asm-goto-_Complext-types
DeltaFile
+10-6llvm/lib/Target/X86/X86FlagsCopyLowering.cpp
+8-1llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+18-72 files

LLVM/project b215107 — llvm/lib/CodeGen/SelectionDAG SelectionDAGBuilder.cpp

Keep the comments on the indirect-target marking together
DeltaFile
+2-1llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+2-11 files

LLVM/project b3bdc8a — llvm/lib/CodeGen/SelectionDAG SelectionDAGBuilder.cpp, llvm/lib/Target/X86 X86FlagsCopyLowering.cpp

Merge branch 'users/void/callbr-flag-outputs' into users/void/callbr-asm-error
DeltaFile
+10-6llvm/lib/Target/X86/X86FlagsCopyLowering.cpp
+6-0llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+16-62 files

LLVM/project c2c15d3 — llvm/include/llvm/Transforms/Utils LowerMemIntrinsics.h, llvm/lib/CodeGen PreISelIntrinsicLowering.cpp

[LowerMemIntrinsics] Expand small variable-length memsets inline (#228420)

[LowerMemIntrinsics] Expand small variable-length memsets inline

Previously, a memset whose length is not a constant was always lowered to a call
to memset, even when the length is known to be small. Expand such a memset
inline instead when the upper bound of its length is at most a target-provided
threshold.

Motivating C code snippets:

    void bar(void *dst, unsigned n) {
      if (!(n <= 12)) __builtin_unreachable(); // __builtin_assume
      memset(dst, 0xff, n);
    }

    void foo(int *dst, int n) {
      for (unsigned i = n; i < 4; ++i)
        dst[i] = -1;

    [20 lines not shown]
DeltaFile
+320-0llvm/test/Transforms/PreISelIntrinsicLowering/AArch64/bounded-memset.ll
+117-0llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp
+74-4llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp
+76-0llvm/test/Transforms/PreISelIntrinsicLowering/X86/bounded-memset.ll
+7-0llvm/include/llvm/Transforms/Utils/LowerMemIntrinsics.h
+6-0llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
+600-410 files not shown
+622-1016 files

LLVM/project a0bbf18 — llvm/lib/CodeGen/SelectionDAG SelectionDAGBuilder.cpp

Add blank lines after control-flow blocks and before comments
DeltaFile
+6-0llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+6-01 files

LLVM/project 7f7f416 — llvm/lib/Target/X86 X86FlagsCopyLowering.cpp

Merge branch 'users/void/x86-flags-copy-inlineasm-br' into users/void/callbr-flag-outputs
DeltaFile
+10-6llvm/lib/Target/X86/X86FlagsCopyLowering.cpp
+10-61 files

LLVM/project d73e5a2 — llvm/lib/Target/X86 X86FlagsCopyLowering.cpp

Use braces for the nested loops over the copy's block
DeltaFile
+10-6llvm/lib/Target/X86/X86FlagsCopyLowering.cpp
+10-61 files

FreeBSD/ports 9ee0686 — net/dico Makefile, net/dico/files patch-modules_python_python.c

net/dico, x11-fonts/cyberbit-ttfonts: unbreak these two ports.
DeltaFile
+20-0net/dico/files/patch-modules_python_python.c
+0-2x11-fonts/cyberbit-ttfonts/Makefile
+0-2net/dico/Makefile
+20-43 files

OPNSense/core 6f653db — src/etc/inc system.inc filter.lib.inc, src/etc/inc/plugins.inc.d captiveportal.inc pf.inc

firewall: rename to legacy_firewall_settings()
DeltaFile
+3-2src/etc/inc/plugins.inc.d/pf.inc
+2-2src/etc/inc/legacy_bindings.inc
+1-1src/www/guiconfig.inc
+1-1src/etc/inc/system.inc
+1-1src/etc/inc/plugins.inc.d/captiveportal.inc
+1-1src/etc/inc/filter.lib.inc
+9-86 files

OPNSense/core 419b701 — src/etc/inc filter.lib.inc filter.inc, src/etc/inc/plugins.inc.d kea.inc ipsec.inc

firewall: attach settings to $fw object where possible
DeltaFile
+55-46src/opnsense/mvc/app/library/OPNsense/Firewall/Plugin.php
+39-41src/etc/inc/filter.inc
+11-12src/etc/inc/filter.lib.inc
+4-7src/etc/inc/plugins.inc.d/dnsmasq.inc
+4-5src/etc/inc/plugins.inc.d/ipsec.inc
+4-4src/etc/inc/plugins.inc.d/kea.inc
+117-1151 files not shown
+120-1197 files

NetBSD/pkgsrc 469CbIw — doc CHANGES-2026

   Updated fonts/harfbuzz*, security/py-authlib
VersionDeltaFile
1.7660+5-1doc/CHANGES-2026
+5-11 files

LLVM/project 455bc9c — lld/test/ELF mips-npic-call-pic.s, llvm/lib/Target/Mips Mips32r6InstrInfo.td

Revert "[Mips] Fix MipsJmpLink and MipsTailCall to use compact branch instructions on MIPS32/64 R6" (#239049)

Reverts llvm/llvm-project#232578
I will resubmit again for a kernel compile error.
DeltaFile
+59-118llvm/test/CodeGen/Mips/fp-intrinsics.ll
+24-48lld/test/ELF/mips-npic-call-pic.s
+0-38llvm/lib/Target/Mips/Mips32r6InstrInfo.td
+8-8llvm/test/CodeGen/Mips/rint-r6-features.ll
+6-6llvm/test/CodeGen/Mips/word-normalization.ll
+8-4llvm/test/CodeGen/Mips/rint-r6.ll
+105-22212 files not shown
+142-25618 files

NetBSD/pkgsrc qUpSDzF — security/py-authlib Makefile distinfo

   py-authlib: updated to 1.9.4

   1.9.4 — 2026-11-04

   Security

   IDJAGGrant stores the verified claims of the ID-JAG in request.id_jag_claims. authenticate_user can use them to resolve the user with the iss and sub claims, and tenant for a multi-tenant IdP. The documentation used to resolve the user with sub alone. An IdP, or a tenant of an IdP, could then get access tokens for the users of another one. Update authenticate_user if your server trusts several IdPs or a multi-tenant IdP. GHSA-9qr6-8289-9j56
VersionDeltaFile
1.39+4-4security/py-authlib/distinfo
1.42+2-2security/py-authlib/Makefile
+6-62 files

LLVM/project 65b5ded — llvm/lib/Target/RISCV/MCTargetDesc RISCVELFStreamer.cpp

fixup! fix for rebase on earlier PR.
DeltaFile
+1-1llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp
+1-11 files

LLVM/project 8608467 — llvm/docs NVPTXUsage.md, llvm/include/llvm/IR IntrinsicsNVVM.td

[NVPTX] Add default value to is_exclusive ImmArg in tcgen05.{de}alloc intrinsics (#236356)

This patch adds default value for the `is_exclusive` `ImmArg` in 
`tcgen05.{de}alloc` intrinsics.
This helps to eliminate the AU code for enabling this manually.

---------

Signed-off-by: DharuniRAcharya <dharunira at nvidia.com>
DeltaFile
+9-31llvm/lib/IR/AutoUpgrade.cpp
+6-6llvm/docs/NVPTXUsage.md
+2-2llvm/include/llvm/IR/IntrinsicsNVVM.td
+17-393 files

FreeBSD/src 2877241 — sys/netpfil/ipfw ip_fw_table_algo.c

ipfw: fix off-by-one error in bdel()

After deleting an item from a sorted array, bdel() moves the tail
following it, but the size of the data to move was calculated with
an off-by-one error, causing memmove() to read one element past the
end of the array. This can happen when the table is full for ifidx
or numarray algorithms.

Obtained from:  Yandex LLC
Sponsored by:   Yandex LLC

(cherry picked from commit c6b08de0e4c797929f4609d86395d494ac695c68)
DeltaFile
+1-1sys/netpfil/ipfw/ip_fw_table_algo.c
+1-11 files

NetBSD/pkgsrc OSoZt05 — fonts/harfbuzz Makefile.common distinfo, fonts/harfbuzz-docs PLIST

   harfbuzz: updated to 15.1.0

   15.1.0
   - Add buffer deserialization APIs that report progress as a byte offset, for
     use from introspection bindings.
   - Fix Indic shaping of the Unicode 18 Devanagari and Bengali additions.
   - Fix Arabic fallback shaping: wrong ligatures when a component is missing from
     the font, and disappearing marks in legacy fonts.
   - Fix `COLR` glyph extents and mark positioning in fonts with empty layers.
   - Fix AAT shaping: wrong `kerx` kerning (formats 1 and 2) and mark positioning
     (format 4, a 14.3.0 regression), and ignored `kern` and `mort` tables with a
     non-first initial state.
   - Various fixes to the Graphite2 shaper.
   - Report HarfRust shaping failures through `hb_buffer_allocation_successful()`.
   - Fix wrong outlines in `gvar` fonts with intermediate tuples.
   - Fix `hb_face_create_or_fail()` rejecting face indices with named-instance
     bits set.
   - Fix wrong fallback metrics: the vertical descender in fonts without `vhea`,
     and the hanging baseline for some scripts.

    [30 lines not shown]
VersionDeltaFile
1.181+4-4fonts/harfbuzz/distinfo
1.92+2-2fonts/harfbuzz/Makefile.common
1.5+2-1fonts/harfbuzz-docs/PLIST
+8-73 files

LLVM/project 26e37e9 — llvm/lib/Target/RISCV/MCTargetDesc RISCVTargetStreamer.cpp RISCVBaseInfo.h

[RISCV] Use a fully covered switch in RISCVABI::getStackAlignment.

This makes it more obvious the alignment has been chosen explicitly
for every ABI.

Not quite NFC because we no longer emit the stack align attribute for
an unknown ABI.
DeltaFile
+22-4llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
+1-1llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.cpp
+23-52 files

FreeBSD/src 3bcfea6 — sys/netpfil/ipfw ip_fw_table_algo.c

ipfw: fix off-by-one error in bdel()

After deleting an item from a sorted array, bdel() moves the tail
following it, but the size of the data to move was calculated with
an off-by-one error, causing memmove() to read one element past the
end of the array. This can happen when the table is full for ifidx
or numarray algorithms.

Obtained from:  Yandex LLC
Sponsored by:   Yandex LLC

(cherry picked from commit c6b08de0e4c797929f4609d86395d494ac695c68)
DeltaFile
+1-1sys/netpfil/ipfw/ip_fw_table_algo.c
+1-11 files

LLVM/project 6daac7d — llvm/lib/Target/RISCV RISCVRegisterInfo.cpp RISCVCallingConv.cpp, llvm/lib/Target/RISCV/MCTargetDesc RISCVTargetStreamer.h RISCVBaseInfo.cpp

[RISCV] Make the RISCVABI enum an enum class. NFC

Assisted-by: Claude
DeltaFile
+48-48llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
+26-26llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.cpp
+15-15llvm/unittests/Target/RISCV/RISCVBaseInfoTest.cpp
+2-2llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
+2-2llvm/lib/Target/RISCV/RISCVCallingConv.cpp
+2-2llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.h
+95-954 files not shown
+99-9910 files

LLVM/project fbdb151 — llvm/lib/Target/RISCV/MCTargetDesc RISCVTargetStreamer.cpp RISCVBaseInfo.h

[RISCV] Use a fully covered switch in RISCVABI::getStackAlignment.

This makes it more obvious the alignment has been chosen explicitly
for every ABI.

Not quite NFC because we no longer emit the stack align attribute for
an unknown ABI.
DeltaFile
+22-4llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
+1-1llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.cpp
+23-52 files

LLVM/project bf803f4 — llvm/lib/Target/RISCV/MCTargetDesc RISCVBaseInfo.h

[RISCV] Use a switch RISCVABI::isRVE. NFC
DeltaFile
+9-2llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
+9-21 files

LLVM/project c5addb3 — llvm/lib/Target/RISCV/MCTargetDesc RISCVBaseInfo.h

fixup! remove comma
DeltaFile
+1-1llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
+1-11 files

LLVM/project 95349c5 — llvm/lib/Target/RISCV RISCVISelLowering.cpp RISCVCallingConv.cpp, llvm/lib/Target/RISCV/MCTargetDesc RISCVELFStreamer.cpp RISCVBaseInfo.h

fixup! Address review comments
DeltaFile
+8-6llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
+2-2llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
+1-1llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+1-1llvm/lib/Target/RISCV/RISCVCallingConv.cpp
+2-0llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp
+14-105 files

LLVM/project 68ee63b — llvm/lib/Target/RISCV/MCTargetDesc RISCVELFStreamer.cpp

fixup! Use assert ABI == RISCVABI::ABI_Unknown instead of llvm_unreachable
DeltaFile
+1-1llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp
+1-11 files

LLVM/project 8bd5246 — llvm/lib/Target/RISCV RISCVISelLowering.cpp RISCVCallingConv.cpp, llvm/lib/Target/RISCV/MCTargetDesc RISCVBaseInfo.cpp RISCVELFStreamer.cpp

[RISCV] Add RISCVABI helper functions for single/doubleFP and PureCap.

Use them to simplify code that checks for individual enum values.

I've lumped Cheriot in with the other pure cap ABIs, but maybe that's
wrong.

I've added the pure cap ABIs to the FP functions, but I've added
asserts that the ABI is not pure cap at the usage to allow someone
to review in the future.
DeltaFile
+21-42llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
+46-3llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
+3-23llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp
+6-16llvm/lib/Target/RISCV/RISCVCallingConv.cpp
+1-12llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+2-2llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.cpp
+79-986 files