LLVM/project 50e681b — clang/include/clang/Basic BuiltinsAMDGPU.td, clang/lib/Sema SemaAMDGPU.cpp

AMDGPU: Use ArgRange for builtin constant argument range checks

Replace the manual Sema range checks of constant builtin arguments
with the new ArgRange annotation on the builtin definitions.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+28-28clang/include/clang/Basic/BuiltinsAMDGPU.td
+0-35clang/lib/Sema/SemaAMDGPU.cpp
+28-632 files

FreeBSD/src f429c4a — stand/common bootstrap.h load_elf.c, stand/efi/include efilib.h

loader.efi: Measure boot policy and loaded contents with a TPM

Use the EFI TCG2 protocol, or the legacy TCG protocol on TPM 1.2
firmware, to extend the loader PCRs and record EV_IPL events in the
firmware event log.

Extend PCR 8 with the final kernel environment and the type, name, and
arguments of each loaded boot input.  Prefix both record types with
versioned, NUL-terminated domain strings.  These make the records
self-identifying and define an explicit measured policy encoding.  Store
the complete measured pre-images in the event data so attestation and
diagnostic tools can audit the values without an out of band copy.

Extend PCR 9 with the initialized contents of kernels, modules, and raw
boot inputs, but record only descriptive labels rather than copying file
contents into the event log.

The Lua module table has no defined traversal order.  Retain content
ranges as loader-private metadata, then sort the final file list before

    [27 lines not shown]
DeltaFile
+462-0stand/efi/libefi/tpm.c
+38-1stand/man/loader.efi.8
+12-0stand/common/load_elf.c
+4-0stand/efi/include/efilib.h
+3-0stand/efi/loader/bootinfo.c
+3-0stand/common/bootstrap.h
+522-16 files not shown
+532-112 files

LLVM/project c0693be — clang/include/clang/Basic BuiltinsAMDGPU.td, clang/test/SemaHIP builtins-amdgcn-arg-range-templated.hip

clang/AMDGPU: Check constant argument ranges of builtins (#241584)

These builtins take a constant argument that the IR verifier range
checks on the corresponding intrinsic. Sema didn't enforce this, so
you could write code that failed the IR verifier. Use the new Range
annotation on the builtins to fix this.

This only covers builtins that previously had no range validation at
all. Builtins already checked by the manual switch in SemaAMDGPU will
be converted separately.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+26-26clang/include/clang/Basic/BuiltinsAMDGPU.td
+27-0clang/test/SemaHIP/builtins-amdgcn-arg-range-templated.hip
+23-0clang/test/SemaOpenCL/builtins-amdgcn-error-gfx950-param.cl
+6-0clang/test/SemaOpenCL/builtins-amdgcn-error-gfx1250-wmma-w32-param.cl
+2-0clang/test/SemaOpenCL/builtins-amdgcn-error-gfx1250-param.cl
+84-265 files

LLVM/project d0c2d00 — llvm/docs CIBestPractices.md

[docs] Add premerge check requirements to CI best practices

Premerge checks catch problems on common platforms before they land, but
there has been no written standard for what a check must provide to be
enabled and stay enabled. Add a "Premerge Check Requirements" section to
the CI best practices document so operators and the community share one
actionable reference.

The section sets targets for speed (over 90% of runs under one hour, all
runs under two hours) and reliability (false positive rate under 1%) in a
table, and lists configurability requirements: a declarative, community
editable environment definition, public infrastructure definitions in an
LLVM-owned repository, and timely review of changes to them.

The targets are aspirational. If they cannot be met consistently, the LLVM
infrastructure area team may decide to disable CI resources that are not
creating value for the community.

LLM-aided
DeltaFile
+65-2llvm/docs/CIBestPractices.md
+65-21 files

LLVM/project a916b6c — clang/docs ReleaseNotes.md, clang/include/clang/Lex Preprocessor.h

[clang][Lex] Point header guard warnings at the macro name in #if (#242216)

For header guards written as `#if !defined(MACRO)`, the warning for a
mismatched guard points at `if` instead of the macro name.

Before:
```text
<source>:1:2: warning: 'HEADER_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
    1 | #if !defined(HEADER_H)
      |  ^~
<source>:2:9: note: 'HAEDER_H' is defined here; did you mean 'HEADER_H'?
    2 | #define HAEDER_H
      |         ^~~~~~~~
      |         HEADER_H
1 warning generated.
```

After:
```text

    [11 lines not shown]
DeltaFile
+7-6clang/lib/Lex/PPDirectives.cpp
+6-6clang/lib/Lex/PPExpressions.cpp
+6-4clang/include/clang/Lex/Preprocessor.h
+2-2clang/test/Lexer/header.cpp
+3-0clang/docs/ReleaseNotes.md
+24-185 files

LLVM/project 82be025 — llvm/lib/Target/X86 X86TargetMachine.cpp

Look up the X86 subtarget attributes directly instead of scanning
DeltaFile
+6-17llvm/lib/Target/X86/X86TargetMachine.cpp
+6-171 files

FreeBSD/src c5cff3d — tests/sys/kern vn_io_fault1.c

tests: Improve vn_io_fault1 test

* Declare that the test needs 4 GB of memory so it can be automatically
  skipped on systems with low memory.

* Switch back to mmap() as in my initial prototype.  Using malloc() is
  simpler, but on systems with malloc debugging enabled, malloc() will
  prefault the entire buffer, resulting in a false positive.  Using
  mmap() also guarantees that the buffer is page-aligned, which renders
  the test determinstic: we now only need to prefault exactly 2 GB, and
  the difference between ret and len will be exactly the amount that we
  prefaulted.

* To prefault the buffer, instead of a simple loop that writes zeroes
  to it, which a compiler might recognize as dead stores and eliminate,
  read the first INT_MAX bytes from the file into it.

PR:             298159
Fixes:          ba02bbbe86ae ("tests: Add test for vn_io_fault1 bug")

    [2 lines not shown]
DeltaFile
+17-7tests/sys/kern/vn_io_fault1.c
+17-71 files

LLVM/project 0036e0c — llvm/include/llvm/Transforms/Utils ModuleUtils.h, llvm/lib/Transforms/IPO Inliner.cpp

[CGUpdater] `removeFunction` should not deleteBody() (#241015)

PR #94815 has CGSCC erase dead functions at the end of a CG walk, in a
batch, keeping them as defs with an unreachable body until then.
However, `CallGraphUpdater::removeFunction` (called by the Attributor)
was still calling `deleteBody`. This fixes that.
DeltaFile
+9-4llvm/lib/Transforms/Utils/CallGraphUpdater.cpp
+0-8llvm/lib/Transforms/IPO/Inliner.cpp
+7-1llvm/unittests/Analysis/CGSCCPassManagerTest.cpp
+8-0llvm/lib/Transforms/Utils/ModuleUtils.cpp
+8-0llvm/include/llvm/Transforms/Utils/ModuleUtils.h
+32-135 files

FreeBSD/src 34005cb — sys/powerpc/powerpc exec_machdep.c

powerpc64: don't reserve the red zone on the alternate signal stack

A 64-bit signal frame is 1552 bytes; rounded up and with the 512 byte
red zone added it needs 2096 bytes, more than MINSIGSTKSZ (2048), so a
handler on a minimum size alternate stack had its frame start 48 bytes
below the stack. The red zone only exists below the interrupted code's
stack pointer, so skip it only when the frame goes on that stack.

A handler on a MINSIGSTKSZ alternate stack overwrote the 48 bytes below
it; the frame stays within the stack now.

Reviewed by:    jhibbits
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D61519
DeltaFile
+9-5sys/powerpc/powerpc/exec_machdep.c
+9-51 files

FreeBSD/ports 02a5767 — security/tor Makefile distinfo

security/tor: update 0.4.9.15 → 0.4.9.17
DeltaFile
+3-3security/tor/distinfo
+1-1security/tor/Makefile
+4-42 files

LLVM/project 9c4b42c — clang/lib/Basic LangStandards.cpp, clang/lib/Frontend CompilerInvocation.cpp

[HLSL] Change HLSL default language version to 2021 from 202x (#242503)

Change HLSL default language version from 202x to 2021. Update tests
which broke. Don't emit the "use 202x" warning for language versions
2021 anymore.
DeltaFile
+1-2clang/test/Preprocessor/predefined-macros-hlsl.hlsl
+3-0clang/test/SemaHLSL/group_shared.hlsl
+1-1clang/test/SemaHLSL/Language/UsualArithmeticConversions.hlsl
+1-1clang/lib/Frontend/CompilerInvocation.cpp
+1-1clang/lib/Basic/LangStandards.cpp
+1-0clang/test/SemaHLSL/Resources/Textures-mips-errors.hlsl
+8-51 files not shown
+8-67 files

FreeBSD/ports 1c8c7c5 — databases/qdrant Makefile Makefile.crates, databases/qdrant/files patch-cargo-crates_sysinfo-0.39.6_src_unix_bsd_freebsd_system.rs

databases/qdrant: update 1.20.0 → 1.20.1
DeltaFile
+159-159databases/qdrant/distinfo
+78-75databases/qdrant/Makefile.crates
+0-66databases/qdrant/files/patch-cargo-crates_sysinfo-0.39.6_src_unix_bsd_freebsd_system.rs
+7-13databases/qdrant/Makefile
+244-3134 files

FreeBSD/ports 053724f — sysutils/mise Makefile distinfo

sysutils/mise: update 2026.11.7 → 2026.11.8
DeltaFile
+3-3sysutils/mise/distinfo
+1-1sysutils/mise/Makefile
+4-42 files

FreeBSD/ports d2c30f4 — databases/diesel Makefile distinfo

databases/diesel: update 2.3.14 → 2.4.0
DeltaFile
+383-135databases/diesel/distinfo
+193-70databases/diesel/Makefile
+576-2052 files

FreeBSD/ports 1df2da0 — databases/greptimedb Makefile distinfo

databases/greptimedb: update 1.3.0 → 1.3.1
DeltaFile
+15-15databases/greptimedb/distinfo
+7-7databases/greptimedb/Makefile
+22-222 files

FreeBSD/ports f7f4378 — x11/rio Makefile distinfo

x11/rio: update 0.5.30 → 0.5.31
DeltaFile
+3-3x11/rio/distinfo
+1-1x11/rio/Makefile
+4-42 files

HardenedBSD/src f4a591d — crypto/krb5 README, crypto/krb5/src/lib/kadm5 kadm_rpc_xdr.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+215-215crypto/krb5/src/po/mit-krb5.pot
+182-0crypto/krb5/README
+77-32crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
+69-29crypto/krb5/src/lib/rpc/svc_auth_gss.c
+97-0crypto/krb5/src/lib/krb5/krb/t_init_creds_step.c
+59-34crypto/krb5/src/lib/kadm5/kadm_rpc_xdr.c
+699-310144 files not shown
+1,830-919150 files

LLVM/project 8d58a5f — llvm/lib/Transforms/Scalar ConstraintElimination.cpp

clang-format
DeltaFile
+2-1llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
+2-11 files

HardenedBSD/ports 8e9daeb — Mk/Uses tex.mk, databases/py-postgresql pkg-message

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+119-18net/wireguard-tools/files/wireguard_wgquick.in
+49-49Mk/Uses/tex.mk
+34-34devel/grpc/pkg-plist
+48-0mail/imapgoose/Makefile
+44-0databases/py-postgresql/pkg-message
+35-0databases/py-postgresql/files/patch-postgresql_____init____.py
+329-10162 files not shown
+736-21868 files

LLVM/project 1cb3c33 — llvm/lib/Transforms/Scalar ConstraintElimination.cpp

drop kleene helpers, since they can't early exit
DeltaFile
+19-32llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
+19-321 files

LLVM/project 8a95bc5 — clang/test/Headers __clang_hip_math.hip, llvm/test/CodeGen/X86 clmul-vector.ll

Rebase, fix MSVC build

Created using spr 2.0.0-beta.1
DeltaFile
+1,255-18,780utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+6,825-0utils/bazel/llvm-project-overlay/libc/src/__support/math/BUILD.bazel
+3,674-0utils/bazel/llvm-project-overlay/libc/src/math/BUILD.bazel
+1,728-1,728clang/test/Headers/__clang_hip_math.hip
+1,512-1,574llvm/test/CodeGen/X86/clmul-vector.ll
+1,868-0utils/bazel/llvm-project-overlay/libc/src/__support/OSUtil/linux/syscall_wrappers/BUILD.bazel
+16,862-22,082904 files not shown
+40,531-42,494910 files

OpenZFS/src c913da8 — man/man8 zpool-offline.8

zpool-offline.8: fix missing punctuation

Sponsored-by: ConnectWise
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Alan Somers <asomers at gmail.com>
Closes #19878
DeltaFile
+2-2man/man8/zpool-offline.8
+2-21 files

LLVM/project 7ca3951 — clang/lib/Sema SemaDecl.cpp

fix

Created using spr 1.3.7
DeltaFile
+3-4clang/lib/Sema/SemaDecl.cpp
+3-41 files

LLVM/project bf17b41 — compiler-rt/lib/scudo/standalone/tests combined_test.cpp

[scudo] Add DoubleFreeFromSecondary death test (#242398)

Complement DoubleFreeFromPrimary with a death test verifying that
double-freeing a cached secondary allocation fails with "invalid chunk
state" (or faults under MTE, which marks cached secondary entries
MAP_NOACCESS). Guard the test on configurations with an active secondary
cache, since uncached blocks are unmapped on the first deallocate() and
fault when loading the chunk header instead.

Also remove an unused condition_variable.h include.

Used Gemini to review my change.
DeltaFile
+35-1compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
+35-11 files

OpenZFS/src dbd36c4 — .github/workflows/scripts qemu-2-start.sh

CI: fetch source matching the FreeBSD image kernel

FreeBSD snapshot images can outlive their src.txz archive. If it is
missing, fetch the running image's kernel revision from the official
FreeBSD source mirror. Require an empty destination before extracting
the fallback archive.

Assisted-by: OpenAI Codex
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: ooonea <ooonea at gmail.com>
Closes #19876
DeltaFile
+18-2.github/workflows/scripts/qemu-2-start.sh
+18-21 files

NetBSD/src Jk4N3mR — sys/arch/m68k/060sp netbsd060sp.S, sys/arch/m68k/include asm.h

   G/C the curpcb global on m68k.  It's redundant (the current PCB can always
   be accessed via the current LWP) and its presence means wasted work in
   cpu_switchto().

   For cases where asm code does need to get to to it, add a GET_CURPCB()
   macro that places curlwp's PCB pointer into the specified register.
VersionDeltaFile
1.52+15-21sys/arch/m68k/m68k/copy.s
1.9+7-7sys/arch/m68k/060sp/netbsd060sp.S
1.51+2-9sys/arch/m68k/m68k/switch_subr.s
1.113+4-5sys/arch/m68k/m68k/pmap_motorola.c
1.92+4-5sys/arch/m68k/m68k/pmap_68k.c
1.42+8-1sys/arch/m68k/include/asm.h
+40-4810 files not shown
+62-8616 files

LLVM/project df77579 — utils/bazel/llvm-project-overlay/libc BUILD.bazel, utils/bazel/llvm-project-overlay/libc/hdr BUILD.bazel

[bazel] Add subpackages for libc/hdr/... (#242520)

This PR creates subpackages for `libc/hdr/...` as part of
https://github.com/llvm/llvm-project/issues/238076.

The refactor was entirely generated by a one-off tool
[jtstogel/bazel-move-targets](https://github.com/jtstogel/bazel-move-targets)@1e51f7f
(LLM-written), since AFAICT there's no good standard tooling for this
kind of thing.

Generated by:
```
function new-pkg() {
  pkg=$1
  shift

  bazel-move-targets move \
    --workspace_root=utils/bazel/llvm-project-overlay \
    --src_package=libc \

    [9 lines not shown]
DeltaFile
+5-900utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+517-0utils/bazel/llvm-project-overlay/libc/hdr/types/BUILD.bazel
+361-0utils/bazel/llvm-project-overlay/libc/hdr/BUILD.bazel
+150-150utils/bazel/llvm-project-overlay/libc/src/__support/OSUtil/linux/syscall_wrappers/BUILD.bazel
+83-83utils/bazel/llvm-project-overlay/libc/src/__support/math/BUILD.bazel
+76-76utils/bazel/llvm-project-overlay/libc/src/unistd/BUILD.bazel
+1,192-1,20963 files not shown
+1,946-1,90069 files

HardenedBSD/ports 5d37223 — textproc/py-rst2ansi pkg-descr Makefile, textproc/py-rst2ansi/files patch-rst2ansi_visitor.py patch-rst2ansi_ansi.py

textproc/py-rst2ansi: unbreak py-b2 after py-docutils 0.22.4

The contributed patch includes the change I proposed and also fixes
a Python 3.14 issue.

    The patch backports two fixes from upstream master:

    - 81758ed drops the unused docutils.utils.error_reporting imports
      (upstream issue #16), the same fix as attachment 274652

    - 3728e16 passes an 8-byte struct winsize to the TIOCGWINSZ
      ioctl in rst2ansi/get_terminal_size.py; Python 3.14 rejects
      the old 4-byte
      buffer with SystemError (upstream issue #18)

Also update pkg-descr and switch to pep517.

PR:             298414
Approved by:    PopularMoment at protonmail.com (maintainer)
Obtained from:  Patrick Crandol
DeltaFile
+21-0textproc/py-rst2ansi/files/patch-rst2ansi_get_terminal_size.py
+16-0textproc/py-rst2ansi/files/patch-rst2ansi_visitor.py
+16-0textproc/py-rst2ansi/files/patch-rst2ansi_ansi.py
+4-2textproc/py-rst2ansi/Makefile
+4-0textproc/py-rst2ansi/pkg-descr
+61-25 files

FreeBSD/ports 5d37223 — textproc/py-rst2ansi pkg-descr Makefile, textproc/py-rst2ansi/files patch-rst2ansi_ansi.py patch-rst2ansi_visitor.py

textproc/py-rst2ansi: unbreak py-b2 after py-docutils 0.22.4

The contributed patch includes the change I proposed and also fixes
a Python 3.14 issue.

    The patch backports two fixes from upstream master:

    - 81758ed drops the unused docutils.utils.error_reporting imports
      (upstream issue #16), the same fix as attachment 274652

    - 3728e16 passes an 8-byte struct winsize to the TIOCGWINSZ
      ioctl in rst2ansi/get_terminal_size.py; Python 3.14 rejects
      the old 4-byte
      buffer with SystemError (upstream issue #18)

Also update pkg-descr and switch to pep517.

PR:             298414
Approved by:    PopularMoment at protonmail.com (maintainer)
Obtained from:  Patrick Crandol
DeltaFile
+21-0textproc/py-rst2ansi/files/patch-rst2ansi_get_terminal_size.py
+16-0textproc/py-rst2ansi/files/patch-rst2ansi_ansi.py
+16-0textproc/py-rst2ansi/files/patch-rst2ansi_visitor.py
+4-2textproc/py-rst2ansi/Makefile
+4-0textproc/py-rst2ansi/pkg-descr
+61-25 files

LLVM/project 1ad9728 — clang/include/clang/Basic BuiltinsAMDGPU.td, clang/test/SemaHIP builtins-amdgcn-arg-range-templated.hip

clang/AMDGPU: Check constant argument ranges of builtins

These builtins take a constant argument that the IR verifier range
checks on the corresponding intrinsic. Sema didn't enforce this, so
you could write code that failed the IR verifier. Use the new Range
annotation on the builtins to fix this.

This only covers builtins that previously had no range validation at
all. Builtins already checked by the manual switch in SemaAMDGPU will
be converted separately.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+26-26clang/include/clang/Basic/BuiltinsAMDGPU.td
+27-0clang/test/SemaHIP/builtins-amdgcn-arg-range-templated.hip
+23-0clang/test/SemaOpenCL/builtins-amdgcn-error-gfx950-param.cl
+6-0clang/test/SemaOpenCL/builtins-amdgcn-error-gfx1250-wmma-w32-param.cl
+2-0clang/test/SemaOpenCL/builtins-amdgcn-error-gfx1250-param.cl
+84-265 files