LLVM/project 2babd10 — llvm/lib/Target/NVPTX NVPTXMachineFunctionInfo.h NVPTXAsmPrinter.cpp, llvm/test/CodeGen/NVPTX callprototype-local-label.ll convert-call-to-indirect.ll

[NVPTX] Fix for device function pointer having the same name as generated callprototype (#205639)

The NVPTX backend generates `.callprototype` directives for indirect
calls with compiler generated names previously based off a unsigned
unique call site number. If a \_\_device\_\_ global function pointer is
named prototype_N with a call to that function, we emit ptx with a
global and callprototype with the same name. This PR updates ISel
lowering to produce a unique temporary symbol instead to avoid naming
conflicts with user defined variables.
DeltaFile
+24-16llvm/test/CodeGen/NVPTX/lower-args-gridconstant.ll
+18-9llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
+12-8llvm/test/CodeGen/NVPTX/convert-call-to-indirect.ll
+20-0llvm/test/CodeGen/NVPTX/callprototype-dollar-local-label.ll
+9-9llvm/lib/Target/NVPTX/NVPTXMachineFunctionInfo.h
+18-0llvm/test/CodeGen/NVPTX/callprototype-local-label.ll
+101-429 files not shown
+148-7315 files

LLVM/project bc46c1d — clang/test/CodeGenCXX copyprof-attrs.cpp, libc/src/__support/mathvec cosf.h

Add missing include

Created using spr 1.3.7
DeltaFile
+188-0llvm/test/CodeGen/AMDGPU/sgpr-spill-to-vmem-scc-clobber-reserved-exec-copy.mir
+119-5libc/src/__support/mathvec/cosf.h
+87-0mlir/test/Conversion/MathToXeVM/algebraic-simplification.mlir
+81-0clang/test/CodeGenCXX/copyprof-attrs.cpp
+57-0llvm/test/CodeGen/RISCV/jumptable-section.ll
+42-7llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
+574-1257 files not shown
+1,341-13763 files

LLVM/project f726321 — llvm/lib/CAS UnifiedOnDiskCache.cpp, llvm/test/Analysis/CostModel/AMDGPU narrow-int-to-bfloat.ll narrow-int-to-fp.ll

Merge branch 'main' into users/lukel97/instcombine/clamp-canon-i1
DeltaFile
+704-0llvm/test/Analysis/CostModel/AMDGPU/narrow-int-to-fp.ll
+636-0llvm/test/Transforms/SimplifyCFG/NVPTX/switch-to-lookup-table-addrspace.ll
+192-285llvm/test/CodeGen/AMDGPU/GlobalISel/fdiv.f16.ll
+238-155llvm/lib/CAS/UnifiedOnDiskCache.cpp
+61-311llvm/test/CodeGen/AMDGPU/mad-mix-lo.ll
+241-0llvm/test/Analysis/CostModel/AMDGPU/narrow-int-to-bfloat.ll
+2,072-751244 files not shown
+7,397-1,826250 files

FreeBSD/src 233b6ef — lib/libsys pdfork.2

pdfork.2: downgrade sections inside description to subsections

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+2-2lib/libsys/pdfork.2
+2-21 files

FreeBSD/src cc467e4 — sys/amd64/amd64 mp_machdep.c

amd64/mp_machdep.c: remove double 'for' in comment

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+1-1sys/amd64/amd64/mp_machdep.c
+1-11 files

FreeBSD/ports 045d7ca — www/py-proxpi Makefile, www/py-proxpi/files extra-patch-file-option

www/py-proxpi: Require requests-file>=2.1.0 for FILE option

requests-file < 2.1.0 doesn't set Response.request in
FileAdapter.send(), causing AttributeError: 'NoneType' object
has no attribute 'url' in _cache.py when proxpi is configured
with a file:// index or extra index URL.
DeltaFile
+6-1www/py-proxpi/files/extra-patch-file-option
+3-2www/py-proxpi/Makefile
+9-32 files

FreeBSD/src 18e9f60 — tests/sys/fs/fdescfs fdescfs_test.c

tests/fdescfs: skip when module is missing

Approved by:    nprice
Sponsored by:   Netflix
Differential Revision:  https://reviews.freebsd.org/D60145
DeltaFile
+1-0tests/sys/fs/fdescfs/fdescfs_test.c
+1-01 files

FreeBSD/src da0764f — sys/conf files, sys/vm vm_pageout.h vm_pageout.c

vm_swapout: Restore handling of RLIMIT_RSS

In commit 13a1129d700c, I removed the mechanism by which the pagedaemon
signals the swapout thread when page reclamation is unable to keep up
with demand.  This is because the swapout thread's main action in this
case is to swap out sleeping processes, but we removed this support.

However, it had the secondary effect of causing the swapout thread to
enforce RLIMIT_RSS when racct is not enabled.  Without it, if
racct_enabled is false, nothing ever kicks the swapout thread.

Restore the old behaviour of trying to enforce RLIMIT_RSS when the page
daemon is unable to keep up with demand.  I'm not at all convinced this
is a good way to implement the limit, but the change wasn't intentional,
so let's restore it for now.

Fixes:          13a1129d700c ("vm: Remove kernel stack swapping support, part 1")
Reviewed by:    olce, kib
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D56142
DeltaFile
+15-3sys/vm/vm_swapout.c
+7-1sys/vm/vm_pageout.c
+1-1sys/conf/files
+2-0sys/vm/vm_pageout.h
+25-54 files

LLVM/project 6a47b13 — lldb/source/Plugins/InstrumentationRuntime/BoundsSafety InstrumentationRuntimeBoundsSafety.cpp, lldb/test/API/functionalities/process_save_core_minidump_reload_crash main.c Makefile

Don't crash reloading a corefile saved from a live process (#224324)

Saving a live process as a corefile and reloading it can abort lldb
itself:

```
$ cat main.c
int main(int argc, char **argv) { return argc; }
$ cc -g -O0 -o a.out main.c
$ lldb ./a.out -o 'b main' -o run \
    -o 'process save-core --plugin-name=minidump --style=stack core.dmp' \
    -o quit
$ lldb -c core.dmp
(lldb) target create --core "core.dmp"
...
Assertion failed: (0 && "breakpoint has no resolved locations"), function Activate, file InstrumentationRuntimeBoundsSafety.cpp, line 467.
```

`InstrumentationRuntimeBoundsSafety::CheckIfRuntimeIsValid` only checks

    [42 lines not shown]
DeltaFile
+24-0lldb/test/API/functionalities/process_save_core_minidump_reload_crash/TestMinidumpReloadCrash.py
+3-0lldb/test/API/functionalities/process_save_core_minidump_reload_crash/Makefile
+0-1lldb/source/Plugins/InstrumentationRuntime/BoundsSafety/InstrumentationRuntimeBoundsSafety.cpp
+1-0lldb/test/API/functionalities/process_save_core_minidump_reload_crash/main.c
+28-14 files

LLVM/project e196a7e — llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86/apx ccmp-flag-source.ll

[X86] Fix CCMP miscompile for flag-source-folded SETCC leaves (#217682)

EmitCmp does not always return a comparison: where
it can it reuses the EFLAGS of an instruction that is computed anyway,
so (X | Y) == 0 comes back as the flags of an X86ISD::OR, (X & Y) == 0
as those of an X86ISD::AND, and (0 - X) == Y is rewritten into
(X + Y) == 0 and comes back as the flags of an X86ISD::ADD.

Only a subtract (CCMP) and an AND (CTEST) have conditional forms, so
build the link from the comparison's own operands rather than from a
flag source:

A comparison with zero can set neither OF nor CF, and TEST clears both,
so the last two are flag-equivalent for every condition code. An equality
comparison is a test of the operands' XOR, so an already live XOR is still
reused instead of keeping both operands live.

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
DeltaFile
+41-9llvm/lib/Target/X86/X86ISelLowering.cpp
+19-30llvm/test/CodeGen/X86/apx/ccmp-flag-source.ll
+60-392 files

LLVM/project 90b2982 — llvm/lib/Target/DirectX DXILResourceAccess.cpp, llvm/test/CodeGen/DirectX/ResourceAccess non-unique.ll non-unique-updatecounter.ll

[HLSL][DirectX] report a fatal error when resource access is not guaranteed to be unique (#225285)

Instead of just a diagnostic, report a fatal error when resource access
is not guaranteed to be unique.

Closes #224422

Assisted by GPT-5.6 Sol
DeltaFile
+31-0llvm/test/CodeGen/DirectX/ResourceAccess/looped-phi-nodes-2.ll
+1-25llvm/test/CodeGen/DirectX/ResourceAccess/looped-phi-nodes.ll
+25-0llvm/test/CodeGen/DirectX/ResourceAccess/non-unique-pointer-select.ll
+18-0llvm/test/CodeGen/DirectX/ResourceAccess/non-unique-updatecounter.ll
+1-15llvm/test/CodeGen/DirectX/ResourceAccess/non-unique.ll
+8-7llvm/lib/Target/DirectX/DXILResourceAccess.cpp
+84-476 files

FreeBSD/src eaba514 — lib/libpfctl libpfctl.c, sys/netpfil/pf pf_nl.h pf_nl.c

pf: carry pfra_fback in the netlink pfr_addr encoding

The netlink encoding of struct pfr_addr omits pfra_fback, so no
per-address feedback reaches userspace.  In particular,
pfr_get_astats() marks entries of tables without counters with
PFR_FB_NOCOUNT, which pfctl uses to skip their counters, so
"pfctl -v -T show" prints zero counters for such tables.

Add PFR_A_FBACK, emit it from the kernel and decode it in libpfctl.

Add a regression test.

Reviewed by:    kp
Approved by:    kp (mentor)
Fixes:          08f54dfca197 ("pf: convert DIOCRGETASTATS to netlink")
Sponsored by:   Rubicon Communications, LLC ("Netgate")
DeltaFile
+33-0tests/sys/netpfil/pf/table.sh
+1-0sys/netpfil/pf/pf_nl.h
+1-0sys/netpfil/pf/pf_nl.c
+1-0lib/libpfctl/libpfctl.c
+36-04 files

FreeBSD/src 48b29e9 — stand/common dev_net.h dev_net.c, stand/efi/loader memdisk.c

loader.efi: Retain standalone network configuration

DHCP initmd discovery used net_configure() to open and configure SNP,
then immediately closed the socket and released the protocol.
Selecting net0 as currdev subsequently required another exclusive
SNP attach, which may hang on some EDK II firmware.

Keep the configured socket available for ordinary network consumers
so NFS boot can reuse it. Add an explicit deconfiguration operation
and invoke it only when an initmd URL requires handing SNP back
to the firmware network stack.

Signed-off-by: Krzysztof Galazka <krzysztof.galazka at intel.com>

Reviewed by:    imp
Assisted by:    Github Copilot (GPT-5.6 Sol)
Sponsored by:   Intel Corporation
Differential Revision:  https://reviews.freebsd.org/D59999
DeltaFile
+27-6stand/common/dev_net.c
+2-0stand/efi/loader/memdisk.c
+1-0stand/common/dev_net.h
+30-63 files

LLVM/project 165f4df — offload/cmake/caches AMDGPULibcBot.cmake

[Offload] Re-add flang to AMDGPU bot cmake cache (#227434)

This (re-) adds flang to the enabled projects in the AMDGPULibcBot CMake
cache.
DeltaFile
+1-1offload/cmake/caches/AMDGPULibcBot.cmake
+1-11 files

FreeBSD/src c464012 — stand/common dev_net.c, stand/efi/loader main.c

loader.efi: Apply command-line DHCP overrides earlier

Ability to override DHCP options with command-line arguments
was affected by intoduction of initmd support. Initmd discovery
configures the network before loader arguments
were parsed, so a dhcp.root-path override was unavailable
during the first network configuration. Move parsing
arguments earlier and apply dhcp.root-path even if DHCP response
does not contain option 17. This allows providing a dynamic NFS
root e.g. by chain loading loader.efi from iPXE.

Signed-off-by: Krzysztof Galazka <krzysztof.galazka at intel.com>

Reviewed by:    imp
Assisted by:    Github Copilot (GPT-5.6 Sol)
Sponsored by:   Intel Corporation
Differential Revision:  https://reviews.freebsd.org/D59998
DeltaFile
+6-1stand/efi/loader/main.c
+1-3stand/libsa/bootp.c
+3-0stand/common/dev_net.c
+10-43 files

LLVM/project a6999e6 — flang CMakeLists.txt, flang/cmake/modules AddFlang.cmake FlangConfig.cmake.in

[Flang] Fix install components and dependencies (#227365)

Summary:
Two things. After https://github.com/llvm/llvm-project/pull/221724 a
plain `find_package(Flang)` no longer worked with implicit dependencies.
It would reference targets that weren't installed and weren't on the
core dependency path.

Also, ensure that the flang headers have a proper dependency on
tablegen. Makes the generation implicitly depend on them so this stays
in-sync.
DeltaFile
+32-2flang/cmake/modules/CMakeLists.txt
+11-0flang/cmake/modules/FlangConfig.cmake.in
+5-5flang/include/flang/Optimizer/Dialect/CMakeLists.txt
+6-0flang/cmake/modules/AddFlang.cmake
+4-0flang/CMakeLists.txt
+1-1flang/include/flang/Optimizer/Transforms/CMakeLists.txt
+59-88 files not shown
+67-1614 files

LLVM/project 9c7b7ee — clang/lib/Format AffectedRangeManager.cpp UnwrappedLineParser.h, clang/unittests/Format FormatTestMacroExpansion.cpp

[clang-format] Fix crashes on directives in discarded macro call args (#221501)

Rewinding discarded macro arguments processes their preprocessor
directives twice, duplicating lines and causing crashes. Restore the
preprocessor bookkeeping on rewind, but retain the first set of
directive lines and discard duplicates during replay.

Exclude expansion EOF tokens from directive ranges so directives before
empty expansions are still formatted.

Fixes #131157

Assisted-by: Claude Code
DeltaFile
+111-89clang/lib/Format/UnwrappedLineParser.cpp
+94-0clang/unittests/Format/FormatTestMacroExpansion.cpp
+51-35clang/lib/Format/UnwrappedLineParser.h
+2-1clang/lib/Format/AffectedRangeManager.cpp
+258-1254 files

LLVM/project 98f3dda — libc/src/__support/OSUtil/linux/syscall_wrappers setgroups.h, libc/src/grp setgroups.cpp grp_utils.cpp

[libc] Add setgroups and initgroups entrypoints (#227272)

Add the setgroups and initgroups entrypoints from <grp.h> (GNU
extensions).

A Linux syscall wrapper is added for setgroups, supporting both
SYS_setgroups and SYS_setgroups32. The initgroups entrypoint initialises
the supplementary group access list for a specified user by reading the
group database using a scoped database stream and setting the resulting
groups via setgroups.

Assisted-by: Automated tooling, human reviewed.
DeltaFile
+102-0libc/test/src/grp/initgroups_test.cpp
+57-36libc/src/grp/grp_utils.cpp
+56-0libc/test/src/grp/setgroups_test.cpp
+45-0libc/test/src/grp/CMakeLists.txt
+43-0libc/src/__support/OSUtil/linux/syscall_wrappers/setgroups.h
+37-0libc/src/grp/setgroups.cpp
+340-3612 files not shown
+505-3618 files

FreeBSD/src 3893050 — sys/riscv/include bus.h

riscv: Fix the bus_space_read_stream_8 macro

Reviewed by:    markj
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D60111
DeltaFile
+1-1sys/riscv/include/bus.h
+1-11 files

LLVM/project edec2ed — llvm/unittests/CAS UnifiedOnDiskCacheTest.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+1-1llvm/unittests/CAS/UnifiedOnDiskCacheTest.cpp
+1-11 files

LLVM/project 245aa9a — clang/include/clang/Sema Sema.h

Fix the stack size for RejectedLateParsedBoundsTypes to 1
DeltaFile
+1-1clang/include/clang/Sema/Sema.h
+1-11 files

NetBSD/src xiLLE1f — usr.sbin/fssconfig fssconfig.8

   fssconfig(8): some minor improvements

   Try to clarify snapstore a bit more with more explicit language.
   The proverbial desperate sysadmin at 3am doesn't need an exegetic
   exercise.
VersionDeltaFile
1.18+7-7usr.sbin/fssconfig/fssconfig.8
+7-71 files

LLVM/project 7bb059d — mlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp, mlir/test/Target/LLVMIR omptarget-map-null-descriptor.mlir

[OpenMP] Fix descriptor allocation for absent optional arrays (#227082)
DeltaFile
+77-0offload/test/offloading/fortran/optional-mapped-arguments-4.f90
+36-0mlir/test/Target/LLVMIR/omptarget-map-null-descriptor.mlir
+8-4mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+121-43 files

LLVM/project d965a6b — llvm/test/CodeGen/AMDGPU anti-hints-mfma-waw.mir

Merge branch 'users/mssefat/anti-hints-pr4-amdgpu-pre-ra' into users/mssefat/anti-hints-pr5-amdgpu-pre-ra-coexec-anti-hint
DeltaFile
+172-0llvm/test/CodeGen/AMDGPU/anti-hints-mfma-waw.mir
+172-01 files

LLVM/project 9ac6241 — clang/lib/Parse ParseDecl.cpp

clang format
DeltaFile
+2-2clang/lib/Parse/ParseDecl.cpp
+2-21 files

LLVM/project 6f5f1e6 — clang/include/clang/Sema Sema.h, clang/lib/Parse ParseDecl.cpp

Record rejected nodes explicitly and skip; trim wordy comments
DeltaFile
+5-25clang/lib/Sema/SemaType.cpp
+15-0clang/include/clang/Sema/Sema.h
+1-1clang/lib/Parse/ParseDecl.cpp
+21-263 files

LLVM/project 22afdb8 — clang/lib/Parse ParseDecl.cpp

Use unique_ptr and remove raw deletes; assertions instead of bail out
DeltaFile
+10-21clang/lib/Parse/ParseDecl.cpp
+10-211 files

LLVM/project 7ba085e — clang/include/clang/Parse Parser.h, clang/include/clang/Sema Sema.h

[BoundsSafety][NFC] Add the count-refill logic for late-parsed bounds attributes

Introduce the machinery that fills in a late-parsed bounds attribute's
argument once the enclosing record is complete, without wiring it up yet.
Nothing creates an incomplete CountAttributedType or records one for
completion at this point, so this is inert -- the functions are unused and
behavior is unchanged. Activation follows in the next commit.
DeltaFile
+54-0clang/lib/Sema/SemaType.cpp
+48-0clang/lib/Parse/ParseDecl.cpp
+15-0clang/include/clang/Parse/Parser.h
+7-1clang/lib/AST/Decl.cpp
+7-0clang/include/clang/Sema/Sema.h
+131-15 files

LLVM/project 62bed4c — clang/include/clang/Basic Builtins.td

Remove the comment on the InterlockedCompareExchangeFloatBitwise builtin
DeltaFile
+0-1clang/include/clang/Basic/Builtins.td
+0-11 files

LLVM/project f381c74 — clang/test/CodeGenHLSL/builtins RWBuffer-Interlocked.hlsl RasterizerOrderedByteAddressBuffer-InterlockedCompareExchangeFloatBitwise.hlsl, clang/test/SemaHLSL/BuiltIns ByteAddressBuffer-InterlockedCompareExchangeFloatBitwise-sm60.hlsl InterlockedCompareExchangeFloatBitwise-errors.hlsl

First attempt implementing InterlockedCompareExchangeFloatBitwise



DeltaFile
+119-0clang/test/SemaHLSL/BuiltIns/InterlockedCompareExchangeFloatBitwise-errors.hlsl
+43-0clang/test/CodeGenHLSL/builtins/InterlockedCompareExchangeFloatBitwise.hlsl
+42-0clang/test/SemaHLSL/BuiltIns/ByteAddressBuffer-InterlockedCompareExchangeFloatBitwise-sm60.hlsl
+32-0clang/test/CodeGenHLSL/builtins/RWByteAddressBuffer-InterlockedCompareExchangeFloatBitwise.hlsl
+25-0clang/test/CodeGenHLSL/builtins/RasterizerOrderedByteAddressBuffer-InterlockedCompareExchangeFloatBitwise.hlsl
+10-0clang/test/CodeGenHLSL/builtins/RWBuffer-Interlocked.hlsl
+271-05 files not shown
+298-311 files