LLVM/project 774a597 — lldb/include/lldb/Symbol Symtab.h, lldb/source/Target Statistics.cpp

[lldb] Add symbol table state flags, add accessors. (#239451)

A Module's Symtab may be constructed from a DataFileCache symtab, or
from the ObjectFile binary itself. If we have a report of incorrect lldb
behavior from an end user, we may need to know which was the source of
the symbol table via lldb commands or via SB API.

This adds a bitfield `m_state` to Symtab, with getters and setters for
the currently existing fields (set-from-symtab-cache,
set-from-objectfile). It exposes the lldb-enumerations bits via
SBModule. It has `statistics dump` also print if a symtab was
constructed from an object file (it currently only notes if a symtab was
constructed from a DataFileCache symtab file). It adds an option to
`image list`, `-F/--symtab-state-flags` which will show letters for each
bit that is set for the symbol table.

```
(lldb) help image list
       -F[<width>] ( --symtab-state-flags=[<width>] )

    [33 lines not shown]
DeltaFile
+86-0lldb/test/Shell/SymbolFile/DWARF/wasm-symtab-state-updated-symbol.yaml
+60-0lldb/test/API/functionalities/module_cache/symtab_state/TestSymtabState.py
+53-0lldb/test/API/functionalities/module_cache/debug_index/TestDebugIndexCache.py
+21-12lldb/include/lldb/Symbol/Symtab.h
+22-2lldb/source/Target/Statistics.cpp
+20-0lldb/test/API/functionalities/json/symbol-file/TestSymbolFileJSON.py
+262-1418 files not shown
+392-1924 files

LLVM/project 4d4e6a9 — 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

LLVM/project 8f0499b — 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

LLVM/project 136930a — clang/include/clang/Basic Builtins.def BuiltinsBase.td

Document that ArgRange matches the IR range attribute
DeltaFile
+2-1clang/include/clang/Basic/BuiltinsBase.td
+1-0clang/include/clang/Basic/Builtins.def
+3-12 files

LLVM/project 4e8374e — clang/include/clang/Basic BuiltinsBase.td Builtins.h, clang/lib/Basic Builtins.cpp

clang: Add ArgRange builtin attribute for constant argument ranges

Many target builtins take constant arguments that must be in a
specific range. These usually correspond directly to the Range
annotation on the IR intrinsic, which the verifier enforces. Today
this requires manual verification with a large builtin ID switch in
Sema, and missed cases will emit code that fails the IR verifier.

Add an ArgRange<Index, Lo, Hi> builtin attribute declaring that a
_Constant argument must be in the half-open range [Lo, Hi), the same
as the IR declaration.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+87-0clang/test/TableGen/builtin-arg-range.td
+50-24clang/lib/Sema/SemaChecking.cpp
+48-0clang/utils/TableGen/ClangBuiltinsEmitter.cpp
+23-0clang/lib/Basic/Builtins.cpp
+10-0clang/include/clang/Basic/Builtins.h
+7-0clang/include/clang/Basic/BuiltinsBase.td
+225-241 files not shown
+226-247 files

LLVM/project 96e2b7d — llvm/test/ThinLTO/X86 cfi-icall-pgo-icp.ll

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+61-0llvm/test/ThinLTO/X86/cfi-icall-pgo-icp.ll
+61-01 files

FreeBSD/src 4678f9d — sys/dev/ixgbe if_ix.c

ixgbe: Restore EEE exclusion for X550EM_X KR

X550EM_X KR devices do not support EEE and have no setup_eee operation.
The shared-code update restored the capability removed by d61b6a41dd30,
and the E610 EEE support subsequently added an unchecked call during
attach. Together these changes allow a NULL function pointer call when
attaching a KR device.

Remove the incorrect EEE capability and use the NULL-safe ixgbe_setup_eee()
wrapper when enabling EEE at attach.

Removing the unsupported capability also stops exposing eee_state and the
eee.tx_lpi_count and eee.rx_lpi_count sysctls on X550EM_X_KR devices.

Fixes:  f72de14ea132 ("ixgbe: update if_ix and ixgbe api with ix-3.3.38 changes")
Fixes:  13ee84c591f8 ("ix(4): Add EEE support for E610 adapters")
MFC after:      1 week
Sponsored by:   BBOX.io
DeltaFile
+1-3sys/dev/ixgbe/if_ix.c
+1-31 files

LLVM/project d09db26 — llvm/test/CodeGen/LoongArch expandmemcmp-optsize.ll expandmemcmp.ll

[LoongArch][NFC] Add lsx/lasx checks for memcmp expansion tests

Add checks for lsx/lasx and check-prefixes to reduce the duplication.
DeltaFile
+1,801-193llvm/test/CodeGen/LoongArch/expandmemcmp.ll
+1,023-197llvm/test/CodeGen/LoongArch/expandmemcmp-optsize.ll
+2,824-3902 files

LLVM/project f497345 — llvm/lib/Transforms/InstCombine InstCombineAndOrXor.cpp, llvm/test/Transforms/InstCombine or-or-combine.ll

[InstCombine] Handle commuted operands in (X|C) | V --> (X|V) | C (#241105)

The fold in visitOr only matched the inner `or X, C` as operand 0.
getComplexity() does not order two non-constant instruction/argument
operands, so `V | (X|C)` was left alone even though it is equivalent.

Use m_c_Or so both operand orders are matched; flags handling is
unchanged.

Assisted-by: GPT 6.1 Sol, Opus 5.5
DeltaFile
+29-0llvm/test/Transforms/InstCombine/or-or-combine.ll
+10-5llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
+39-52 files

FreeBSD/ports 37b4756 — sysutils/zelta distinfo pkg-plist

sysutils/zelta: Update 1.1.0 => 1.2.0

Changelog:
New commands: zprune (guarded snapshot destruction), rebase, failover,
lock/unlock, and propsync. zelta prune is now a nondestructive planner
with GFS-style retention grids. Revert validates the whole tree before
renaming anything.
https://github.com/bell-tower/zelta/blob/v1.2.0/CHANGELOG.md

- Update COMMENT and descr.
- Merge MKDIRs.

PR:             300707
Sponsored by:   UNIS Labs (vvd)
Co-authored-by: Vladimir Druzenko <vvd at FreeBSD.org>
DeltaFile
+9-9sysutils/zelta/Makefile
+5-8sysutils/zelta/pkg-descr
+9-1sysutils/zelta/pkg-plist
+3-3sysutils/zelta/distinfo
+26-214 files

LLVM/project f55dd5c — llvm/lib/Target/AMDGPU AMDGPULowerModuleLDSPass.cpp, llvm/test/CodeGen/AMDGPU lower-module-lds-zero-size-arr.ll lower-module-lds-all-indirect-accesses.ll

[AMDGPU] Enable GEP canonicalization for dynamic LDS table lookups (#241396)

Use the default IRBuilder GEP canonicalization in
AMDGPULowerModuleLDSPass and update the checks.

Assisted by: GPT 6.1-Sol

Follow up to: https://github.com/llvm/llvm-project/pull/240885
DeltaFile
+8-4llvm/test/CodeGen/AMDGPU/lower-module-lds-indirect-extern-uses-max-reachable-alignment.ll
+2-1llvm/test/CodeGen/AMDGPU/lower-module-lds-zero-size-arr.ll
+2-1llvm/test/CodeGen/AMDGPU/lower-module-lds-all-indirect-accesses.ll
+0-1llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
+12-74 files

FreeBSD/ports 62c18ed — Tools/scripts update-plist.py

Tools/scripts/update-plist.py: Fix sorting

Bugfix: Don't assume that the original pkg-plist is properly sorted. The
script now sorts the original pkg-plist first if is not already which
makes placement of new entries easier, more reliable and is overall
better for the ports tree.

Feature: Add -O, --options-prepend FOO:BAR flag that prepends %%FOO%% to
a line if BAR matches a regex. This can be used repeatedly. It's not easy
to automatically surmise whether new entries are optional for the entire
tree in a generic tool, but this at least gives some power to the user
for predictable entries.

MFH:            2026Q4
(cherry picked from commit d02ce033460dd82211e916c4dbaa358a99a9ca21)
DeltaFile
+62-40Tools/scripts/update-plist.py
+62-401 files

FreeBSD/ports d02ce03 — Tools/scripts update-plist.py

Tools/scripts/update-plist.py: Fix sorting

Bugfix: Don't assume that the original pkg-plist is properly sorted. The
script now sorts the original pkg-plist first if is not already which
makes placement of new entries easier, more reliable and is overall
better for the ports tree.

Feature: Add -O, --options-prepend FOO:BAR flag that prepends %%FOO%% to
a line if BAR matches a regex. This can be used repeatedly. It's not easy
to automatically surmise whether new entries are optional for the entire
tree in a generic tool, but this at least gives some power to the user
for predictable entries.

MFH:            2026Q4
DeltaFile
+62-40Tools/scripts/update-plist.py
+62-401 files

FreeBSD/ports 9b4ead5 — devel/zeal Makefile pkg-plist

devel/zeal: Update to 0.9.2

https://github.com/zealdocs/zeal/releases/tag/v0.9.2
DeltaFile
+3-3devel/zeal/distinfo
+3-0devel/zeal/pkg-plist
+1-1devel/zeal/Makefile
+7-43 files

FreeBSD/ports 9bc7c0b — devel/qbs Makefile distinfo

devel/qbs: Update to 3.3.1
DeltaFile
+7-0devel/qbs/pkg-plist
+3-3devel/qbs/distinfo
+1-2devel/qbs/Makefile
+11-53 files

FreeBSD/ports 7065b09 — lang/rust-nightly Makefile distinfo, lang/rust-nightly/files patch-src_bootstrap_src_core_config_config.rs

lang/rust-nightly: update 1.101.0.20261031 → 1.102.0.20261110

Approved by:    rust (implicit)
DeltaFile
+17-0lang/rust-nightly/files/patch-src_bootstrap_src_core_config_config.rs
+3-3lang/rust-nightly/distinfo
+2-2lang/rust-nightly/Makefile
+22-53 files

LLVM/project 4a3b8df — llvm/include/llvm/IR RuntimeLibcalls.td, llvm/test/Transforms/Util/DeclareRuntimeLibcalls arm.ll ppc.ll

RuntimeLibcalls: Mark noreturn and pure helper libcalls

Mark the functions which never return as noreturn. Add some nounwind
and cold, mostly following inferLibFuncAttributes. Mark
misc. functions as pure.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+45-22llvm/include/llvm/IR/RuntimeLibcalls.td
+15-10llvm/test/Transforms/Util/DeclareRuntimeLibcalls/aarch64.ll
+12-8llvm/test/Transforms/Util/DeclareRuntimeLibcalls/windows.ll
+9-6llvm/test/Transforms/Util/DeclareRuntimeLibcalls/ppc.ll
+9-6llvm/test/Transforms/Util/DeclareRuntimeLibcalls/bsd.ll
+6-4llvm/test/Transforms/Util/DeclareRuntimeLibcalls/arm.ll
+96-569 files not shown
+138-8415 files

LLVM/project 0202a3e — llvm/include/llvm/IR RuntimeLibcalls.td, llvm/test/Transforms/Util/DeclareRuntimeLibcalls sparc.ll bsd.ll

RuntimeLibcalls: Add attributes inferLibFuncAttributes gives libcalls

Remove more differences with the attributes the InferFunctionAttrs
pass would add to the declared libcalls.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+88-77llvm/test/Transforms/Util/DeclareRuntimeLibcalls/aarch64.ll
+71-63llvm/test/Transforms/Util/DeclareRuntimeLibcalls/ppc.ll
+67-59llvm/test/Transforms/Util/DeclareRuntimeLibcalls/windows.ll
+57-51llvm/test/Transforms/Util/DeclareRuntimeLibcalls/bsd.ll
+63-14llvm/include/llvm/IR/RuntimeLibcalls.td
+40-36llvm/test/Transforms/Util/DeclareRuntimeLibcalls/sparc.ll
+386-30019 files not shown
+697-57025 files

LLVM/project c416285 — llvm/include/llvm/IR RuntimeLibcallsImpl.td RuntimeLibcalls.td, llvm/lib/IR RuntimeLibcalls.cpp

RuntimeLibcalls: Add signatures for the Darwin sincos stret functions

__sincos_stret and __sincosf_stret return a struct holding the 2
results. Describe the C struct return type in the signature table and
lower for the target ABI. This is a vector on x86-64 for float,
through memory on x86-32 and APCS ARM, and as a struct elsewhere.
This replaces the special case that built the types in C++. Ideally we
would be using the ABI library, but it's incomplete for most targets
and it requires some relayering to use here.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+57-45llvm/lib/IR/RuntimeLibcalls.cpp
+10-0llvm/include/llvm/IR/RuntimeLibcalls.h
+3-3llvm/include/llvm/IR/RuntimeLibcalls.td
+3-0llvm/include/llvm/IR/RuntimeLibcallsImpl.td
+2-0llvm/test/TableGen/RuntimeLibcallEmitter.td
+75-485 files

LLVM/project 62d6fdc — llvm/test/Transforms/Util/DeclareRuntimeLibcalls systemz.ll arm.ll

RuntimeLibcalls: Add attributes to atomic libcalls

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+1,155-1,145llvm/test/Transforms/Util/DeclareRuntimeLibcalls/aarch64.ll
+524-516llvm/test/Transforms/Util/DeclareRuntimeLibcalls/windows.ll
+393-387llvm/test/Transforms/Util/DeclareRuntimeLibcalls/ppc.ll
+393-387llvm/test/Transforms/Util/DeclareRuntimeLibcalls/bsd.ll
+262-258llvm/test/Transforms/Util/DeclareRuntimeLibcalls/systemz.ll
+262-258llvm/test/Transforms/Util/DeclareRuntimeLibcalls/arm.ll
+2,989-2,95122 files not shown
+4,989-4,83428 files

LLVM/project 3e1a62a — llvm/include/llvm/Transforms/IPO Attributor.h, llvm/lib/Transforms/IPO Attributor.cpp

Attributor: Collect the values only used by assumes on demand (#241459)

initializeInformationCache tracked the uses of the operands of every
llvm.assume to find the values only used by assumes, but only a few
abstract attributes and OpenMPOpt ask for them, none of which run in
attributor-light. Collect them for a function when they are first asked
for.

Instruction counts (callgrind) of the light passes in the ThinLTO
backend of tramp3d-v4: -5.8%.
CTMark (-attributor-enable=light): O3 -0.03%, ThinLTO -0.02%.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+35-26llvm/lib/Transforms/IPO/Attributor.cpp
+13-1llvm/include/llvm/Transforms/IPO/Attributor.h
+48-272 files

LLVM/project 539480d — llvm/test/Transforms/Util/DeclareRuntimeLibcalls hexagon.ll arm.ll

RuntimeLibcalls: Add attributes to compiler-rt helper libcalls (#241511)

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+740-740llvm/test/Transforms/Util/DeclareRuntimeLibcalls/aarch64.ll
+664-664llvm/test/Transforms/Util/DeclareRuntimeLibcalls/windows.ll
+524-524llvm/test/Transforms/Util/DeclareRuntimeLibcalls/ppc.ll
+498-498llvm/test/Transforms/Util/DeclareRuntimeLibcalls/bsd.ll
+376-376llvm/test/Transforms/Util/DeclareRuntimeLibcalls/arm.ll
+328-328llvm/test/Transforms/Util/DeclareRuntimeLibcalls/hexagon.ll
+3,130-3,13011 files not shown
+5,236-5,23617 files

LLVM/project d28ef30 — clang/lib/Headers hlsl.h, clang/lib/Headers/hlsl hlsl_resources.h hlsl_alias_intrinsics.h

[HLSL][NFC] Move common defines to the main header (hlsl.h)
DeltaFile
+10-0clang/lib/Headers/hlsl.h
+0-8clang/lib/Headers/hlsl/hlsl_alias_intrinsics.h
+0-5clang/lib/Headers/hlsl/hlsl_resources.h
+10-133 files

OpenZFS/src f14af7b — module/os/freebsd/spl spl_string.c

freebsd: prefer sys/stdarg.h where available

While the type of va_list and implementation of va_*() psuedo functions
varies (sometimes greatly) by architecture, they will always be defined
by the compiler in a consistent way that does not require machine
dependent handling.

Sponsored by:   DARPA, AFRL
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Ryan Moeller <ryan.moeller at klarasystems.com>
Signed-off-by:  Brooks Davis <brooks at capabilitieslimited.co.uk>
Closes #19753
DeltaFile
+5-0module/os/freebsd/spl/spl_string.c
+5-01 files

OpenZFS/src d0231ed — include/os/freebsd/spl/sys vnode.h, module/os/freebsd/zfs zfs_vfsops.c zfs_vnops_os.c

FreeBSD: Drop some no-op Solaris compat macros

These macros do nothing and are only used in FreeBSD platform code.
Drop them and the invocations.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Rob Norris <rob.norris at truenas.com>
Signed-off-by: Ryan Moeller <ryan.moeller at klarasystems.com>
Closes #19746
DeltaFile
+0-20module/os/freebsd/zfs/zfs_vnops_os.c
+0-11include/os/freebsd/spl/sys/vnode.h
+2-4module/os/freebsd/zfs/zfs_vfsops.c
+2-353 files

OpenZFS/src b46584e — include/os/freebsd/spl/sys vnode_impl.h vnode.h, module/os/freebsd/zfs zfs_vfsops.c zfs_znode_os.c

FreeBSD: Drop some Solaris compat vnode macros

These macros provide Solaris-compatible names but are only used in
FreeBSD platform code.  Use the native FreeBSD names and drop the shims.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Rob Norris <rob.norris at truenas.com>
Signed-off-by: Ryan Moeller <ryan.moeller at klarasystems.com>
Closes #19746
DeltaFile
+9-9module/os/freebsd/zfs/zfs_vnops_os.c
+3-3module/os/freebsd/zfs/zfs_acl.c
+0-4include/os/freebsd/spl/sys/vnode_impl.h
+0-4include/os/freebsd/spl/sys/vnode.h
+2-2module/os/freebsd/zfs/zfs_znode_os.c
+1-1module/os/freebsd/zfs/zfs_vfsops.c
+15-236 files

LLVM/project 984e122 — llvm/lib/IR AsmWriter.cpp, llvm/test/Assembler thinlto-summary-escaped-names.ll

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+40-0llvm/test/Assembler/thinlto-summary-escaped-names.ll
+17-7llvm/lib/IR/AsmWriter.cpp
+57-72 files

FreeBSD/src 1681aa4 — contrib/bsnmp/lib asn1.c

bsnmp: zero-fill the destination on a short ASN.1 IpAddress

asn_get_ipaddress_raw() meant to pad the 4-byte buffer after a short
copy, but the loop bound was the already-reached len and never ran,
leaving addr[len..3] uninitialised.  Pad to 4.

This is harmless for the in-tree consumers (bsnmpd(1) and
libbsnmpclient) which zero the PDU before decoding it.

Reviewed by:    harti, maxim
Approved by:    harti
MFC after:      2 weeks

Differential Revision:  https://reviews.freebsd.org/D60923

(cherry picked from commit b5e57452b62e7c185706ed8b2a86e9f8ac483357)
DeltaFile
+1-1contrib/bsnmp/lib/asn1.c
+1-11 files

LLVM/project a736d3c — llvm/lib/Transforms/IPO Attributor.cpp

Apply suggestion from @tgymnich

Co-authored-by: Tim Gymnich <tim at gymni.ch>
DeltaFile
+3-5llvm/lib/Transforms/IPO/Attributor.cpp
+3-51 files

LLVM/project c107c05 — llvm/lib/Transforms/IPO Attributor.cpp

Apply suggestion from @tgymnich

Co-authored-by: Tim Gymnich <tim at gymni.ch>
DeltaFile
+2-3llvm/lib/Transforms/IPO/Attributor.cpp
+2-31 files