LLVM/project 0664fb1llvm/lib/CodeGen RegAllocPBQP.cpp, llvm/lib/Target/AMDGPU AMDGPURewriteAGPRCopyMFMA.cpp

[CodeGen] Use RegisterClassInfo for remaining allocation-order users (#216510)

Greedy already uses RegisterClassInfo for the function-specific
allocation order (reserved registers filtered, CSRs deferred). Remaining
users still walked TRI's raw order or rebuilt RCI themselves.

Uses RCI.getOrder() everywhere that list is needed (PBQP, Hexagon
spill-slot search*, ARM load/store opt, AMDGPU AGPR-copy MFMA rewrite).
Takes the shared analysis when the pass can preserve it; otherwise keep
a
local RCI after freezeReservedRegs().

Hexagon findPhysReg no longer considers reserved registers.

**Note:** Initially had register scavenger use RCI.getOrder() for
function specific scratch reg allocation, but due to test failures and
the extra loops needed as fallbacks to fix this, this change ends up
likely being outside the scope of this PR so I removed it.

**Another note:** \*Hexagon changes removed from this PR, split into
#216752
DeltaFile
+20-23llvm/lib/CodeGen/RegAllocPBQP.cpp
+19-16llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
+10-8llvm/lib/Target/AMDGPU/AMDGPURewriteAGPRCopyMFMA.cpp
+49-473 files

FreeBSD/doc f0bcdf5website/content/en mailto.adoc contact.adoc, website/themes/beastie/i18n en.toml

website: Revive mailto as contact

Mailto is an important page, one of the many that was lost in the reorg.
Revive it as freebsd.org/contact, and move it to the legal column in the
footer. The bottom heading of mailto used to be commercial vendors, zap
that and replace it with a legal section for the freebsd foundation.
Also simplify some of the language a bit.

Adding core as a *non-blocking* reviewer so they can weigh in if they
desire, but I think this is extremely positive and reasonable and we can
keep iterating, so I do not intend to wait for them unless they ask.

Event:                  Berlin Hackathon 202609
Reviewed by:            wosch
Suggested by:           wosch
Differential Revision:  https://reviews.freebsd.org/D59442
DeltaFile
+0-32website/content/en/mailto.adoc
+32-0website/content/en/contact.adoc
+3-0website/themes/beastie/layouts/_partials/site-footer.html
+3-0website/themes/beastie/i18n/en.toml
+38-324 files

FreeBSD/doc edb464dwebsite/content/en where.adoc, website/content/en/cgi ports.cgi

website: Overhaul ports visibility

header: move ports to Get FreeBSD
footer: add ports, remove 44bsd docs archive. It is still in docs/
where/: remove ports, and remove it from the sidemenu

Event:                  Berlin Hackathon 202609
Reviewed by:            wosch
Suggested by:           wosch, michaelo
Differential Revision:  https://reviews.freebsd.org/D59442
DeltaFile
+0-14website/content/en/where.adoc
+6-3website/themes/beastie/i18n/en.toml
+3-3website/themes/beastie/layouts/_partials/site-header.html
+3-3website/themes/beastie/layouts/_partials/site-footer.html
+2-0website/content/en/cgi/ports.cgi
+0-1website/themes/beastie/layouts/_partials/sidenav.html
+14-246 files

NetBSD/src 84Ol5FBsys/arch README

   Add an entry for hb68k.
VersionDeltaFile
1.67+2-1sys/arch/README
+2-11 files

OpenBSD/ports 4z6Dy15x11/tktable Makefile, x11/tktable/pkg PLIST

   MODTK_VERSION=8.6
VersionDeltaFile
1.37+2-1x11/tktable/Makefile
1.13+1-1x11/tktable/pkg/PLIST
+3-22 files

FreeBSD/ports de48309filesystems/pod Makefile

filesystems/pod: Mark BROKEN, fails to build

Fails with: ld: error: undefined symbol: g_list_length
DeltaFile
+2-0filesystems/pod/Makefile
+2-01 files

LLVM/project 29fda2cllvm/lib/Target/ARM ARMInstrInfo.td ARMInstrNEON.td, llvm/test/CodeGen/ARM fp16-fusedMAC.ll fusedMAC.ll

ARM: Form fused VFMA/VFMS from the contract flag (#221340)

Select the fused VFMA/VFMS/VFNMA/VFNMS from the per-node contract
fast-math flag instead of the global AllowFPOpFusion == Fast. This is one of the
few remaining consumers of the TargetOption field.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
DeltaFile
+132-30llvm/test/CodeGen/ARM/cortex-a57-misched-vfma.ll
+107-28llvm/test/CodeGen/ARM/fusedMAC.ll
+22-26llvm/test/CodeGen/ARM/fp16-fusedMAC.ll
+22-22llvm/lib/Target/ARM/ARMInstrVFP.td
+13-11llvm/lib/Target/ARM/ARMInstrNEON.td
+19-0llvm/lib/Target/ARM/ARMInstrInfo.td
+315-1171 files not shown
+317-1237 files

FreeBSD/ports 2ee7398graphics/egl-x11 Makefile distinfo

graphics/egl-x11: Update to 1.0.6

Reported by:    portscout!
DeltaFile
+3-3graphics/egl-x11/distinfo
+1-1graphics/egl-x11/Makefile
+4-42 files

FreeBSD/ports 95c6bfagraphics/egl-wayland2 Makefile distinfo

graphics/egl-wayland2: Update to 1.0.2

Reported by:    portscout!
DeltaFile
+3-3graphics/egl-wayland2/distinfo
+1-1graphics/egl-wayland2/Makefile
+4-42 files

FreeBSD/ports ada0545comms/chirp Makefile distinfo

comms/chirp: update to 20260904
DeltaFile
+3-3comms/chirp/distinfo
+1-1comms/chirp/Makefile
+4-42 files

LLVM/project 3dfe0cbclang/test/CIR/CodeGenHIP amdgcnspirv-kernel.hip

fix: Check HIP SPIR-V version metadata after lowering
DeltaFile
+3-0clang/test/CIR/CodeGenHIP/amdgcnspirv-kernel.hip
+3-01 files

LLVM/project a484075clang/lib/CIR/Lowering/DirectToLLVM LowerToLLVMOpenCLMetadata.h LowerToLLVM.cpp, clang/test/CIR/CodeGenOpenCL version.cl

[CIR][OpenCL] Lower OpenCL language version metadata to LLVM dialect

Propagate CIR OpenCL language version module attributes as LLVM dialect named metadata before LLVM IR translation.

Assisted-by: Codex / GPT-5.6 Sol
DeltaFile
+43-0clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVMOpenCLMetadata.cpp
+16-0clang/test/CIR/CodeGenOpenCL/version.cl
+16-0clang/test/CIR/Lowering/opencl-version-metadata.cir
+2-0clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVMOpenCLMetadata.h
+2-0clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+79-05 files

LLVM/project 495a2e4clang/lib/CIR/CodeGen CIRGenModule.cpp, clang/lib/CodeGen CodeGenModule.cpp

fix: Supply the HIP SPIR-V version only for metadata emission

Fix the assertion exposed by PR #214246 under the version invariant from PR #219687. Supply OpenCL 2.0 in classic CodeGen and CIRGen without changing HIP language options or enabling OpenCL-only Sema restrictions.

Assisted-by: Codex / GPT-6
DeltaFile
+8-0clang/test/CodeGenHIP/hipspv-kernel.cpp
+8-0clang/test/SemaHIP/atomic-init.hip
+4-2clang/lib/CIR/CodeGen/CIRGenModule.cpp
+3-1clang/lib/CodeGen/CodeGenModule.cpp
+2-0clang/test/CIR/CodeGenHIP/amdgcnspirv-kernel.hip
+25-35 files

LLVM/project 8d6baedclang/lib/CIR/CodeGen CIRGenModule.h CIRGenModule.cpp, clang/test/CIR/CodeGenOpenCL version.cl

[CIR][OpenCL] Emit OpenCL language version metadata in CIR

Emit OpenCL and C++ for OpenCL language version attributes from CIRGen. Preserve the compatible OpenCL version and the C++ for OpenCL version separately so later lowering does not infer one from the other.

Assisted-by: Codex / GPT-5.6 Sol
DeltaFile
+15-0clang/test/CIR/CodeGenOpenCL/version.cl
+13-0clang/lib/CIR/CodeGen/CIRGenModule.cpp
+4-0clang/test/CodeGenCUDASPIRV/kernel-cc.cu
+1-0clang/lib/CIR/CodeGen/CIRGenModule.h
+33-04 files

LLVM/project fa0a4e1clang/lib/CIR/Dialect/IR CIRDialect.cpp

fix: separate CIR attribute dispatch from OpenCL verification
DeltaFile
+20-8clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+20-81 files

LLVM/project b8a76acclang/include/clang/CIR/Dialect/IR CIRDialect.td CIROpenCLAttrs.td, clang/lib/CIR/Dialect/IR CIROpenCLAttrs.cpp CIRDialect.cpp

[CIR][OpenCL] Add OpenCL language version module attributes

Add structured CIR module attributes for OpenCL and C++ for OpenCL language versions. Verify their module-level placement and version components so lowering can consume explicit source-language version state.

Assisted-by: Codex / GPT-5.6 Sol
DeltaFile
+76-0clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+73-0clang/test/CIR/IR/invalid-version.cir
+28-0clang/include/clang/CIR/Dialect/IR/CIROpenCLAttrs.td
+19-0clang/test/CIR/IR/version.cir
+15-0clang/lib/CIR/Dialect/IR/CIROpenCLAttrs.cpp
+5-0clang/include/clang/CIR/Dialect/IR/CIRDialect.td
+216-01 files not shown
+219-17 files

LLVM/project 446d026clang/lib/CodeGen BackendUtil.cpp, llvm/include/llvm/MC MCTargetOptions.h

MC: Move BinutilsVersion from TargetOptions to MCTargetOptions

BinutilsVersion has no codegen use and only used by MCAsmInfo to check
ELF assembler features.

Co-authored-by: Claude (claude-opus-4.8) <noreply at anthropic.com>
DeltaFile
+10-0llvm/lib/MC/MCTargetOptions.cpp
+0-9llvm/lib/Target/TargetMachine.cpp
+8-0llvm/include/llvm/MC/MCTargetOptions.h
+3-2clang/lib/CodeGen/BackendUtil.cpp
+0-4llvm/include/llvm/Target/TargetOptions.h
+2-2llvm/tools/llc/llc.cpp
+23-173 files not shown
+25-229 files

LLVM/project 0c94a97libcxx/include/__concepts common_with.h

[libc++][NFC] Avoid empty namespace in `<__concepts/common_with.h>` (#221407)

...in pre-C++20 modes. This fixes complaining from clang-tidy checks in
CI.
DeltaFile
+4-4libcxx/include/__concepts/common_with.h
+4-41 files

OpenBSD/ports FEghmGux11/mate/atril Makefile, x11/mate/screensaver Makefile

   conditionalize WANTLIB drm_intel to repair packaging for !intel arches
VersionDeltaFile
1.45+6-1x11/mate/atril/Makefile
1.30+5-1x11/mate/screensaver/Makefile
+11-22 files

FreeBSD/ports e0f7e94multimedia/mlt7 Makefile

multimedia/mlt7: Mark BROKEN, fails to build with FFmpeg 9

PR:             297355, 297364
DeltaFile
+2-0multimedia/mlt7/Makefile
+2-01 files

FreeBSD/ports 46fe2a3multimedia/vapoursynth-l-smash-works Makefile

multimedia/vapoursynth-l-smash-works: Mark BROKEN, fails to build with FFmpeg 9

PR:             297355, 297363
DeltaFile
+1-0multimedia/vapoursynth-l-smash-works/Makefile
+1-01 files

FreeBSD/ports 381c78bmultimedia/py-torchcodec Makefile

multimedia/py-torchcodec: Mark BROKEN, fails to build with FFmpeg 9

PR:             297355, 297385
DeltaFile
+2-0multimedia/py-torchcodec/Makefile
+2-01 files

FreeBSD/ports 114eda5multimedia/olive Makefile

multimedia/olive: Mark BROKEN, fails to build with FFmpeg 9

PR:             297355, 297371
DeltaFile
+4-3multimedia/olive/Makefile
+4-31 files

FreeBSD/ports b6ac92agraphics/py-opencv-python-headless Makefile

graphics/py-opencv-python-headless: Mark BROKEN, fails to build with FFmpeg 9

PR:             297355, 297370
DeltaFile
+2-0graphics/py-opencv-python-headless/Makefile
+2-01 files

FreeBSD/ports 7682abeaudio/essentia Makefile

audio/essentia: Mark BROKEN, fails to build with FFmpeg 9

PR:             297355, 297365
DeltaFile
+2-0audio/essentia/Makefile
+2-01 files

FreeBSD/ports 238e9batextproc/expat2 pkg-plist Makefile

textproc/expat2: Update to 2.8.4

Changelog:
https://github.com/libexpat/libexpat/blob/R_2_8_4/expat/Changes

PR:             298081
Reviewed by:    desktop (arrowd)
Security:       CVE-2026-66046
                CVE-2026-76641
                CVE-2026-76957
                CVE-2026-76956
DeltaFile
+3-3textproc/expat2/distinfo
+1-1textproc/expat2/pkg-plist
+1-1textproc/expat2/Makefile
+5-53 files

FreeBSD/ports e07612emultimedia/ffmpeg distinfo pkg-plist

multimedia/ffmpeg: Update to 9.0.1

Support for (lib)celt, (lib)glslang and (lib)shaderc is removed upstream
Remove support for (lib)lensfun as it doesn't work with the old release
we have in tree

Changelog:
https://code.ffmpeg.org/FFmpeg/FFmpeg/src/tag/n9.0.1/Changelog

PR:             297355
Exp-run by:     antoine
DeltaFile
+8-25multimedia/ffmpeg/Makefile
+15-14multimedia/ffmpeg/pkg-plist
+3-3multimedia/ffmpeg/distinfo
+26-423 files

FreeBSD/ports d602d4bmultimedia/mencoder Makefile

multimedia/mencoder: Mark BROKEN, fails to build with FFmpeg 9

PR:             297355, 297361
DeltaFile
+2-0multimedia/mencoder/Makefile
+2-01 files

FreeBSD/ports 19d644fmultimedia/smelter Makefile

multimedia/smelter: Mark BROKEN, fails to build with FFmpeg 9

PR:             297355, 297362
DeltaFile
+2-0multimedia/smelter/Makefile
+2-01 files

LLVM/project d74068dllvm/lib/Transforms/IPO OpenMPOpt.cpp, llvm/test/Transforms/OpenMP callback_parallel_regions.ll spmdization_no_guarding_two_reaching_kernels.ll

[OpenMPOpt] Ask the runtime how many of a block's threads can be workers

The custom state machine gates a thread on InitCB < BlockHwSize - WarpSize,
reconstructing the number of worker threads from the block size on the
assumption that the main thread occupies a whole warp above them. The DeviceRTL
already computes that number, in mapping::getMaxTeamThreads(), and its own
generic state machine gates on it in shouldEnterStateMachine(). Export it as
__kmpc_get_max_team_threads() and call that instead, so the compiler's state
machine and the runtime's agree by construction rather than by arithmetic that
has to be kept in step with the launch geometry.

This is NFC here: getMaxTeamThreads() in generic mode is BlockSize - WarpSize,
the same three instructions folded into one call. It is not NFC for a toolchain
whose launch geometry differs. In ROCm, CGOpenMPRuntimeGPU starts a single extra
thread rather than a warp -- "Only one additional thread is started, not an
entire warp" -- so thread_limit(1024) on a 64-lane target launches 961 threads
and the runtime reports 960 workers, while the state machine's own arithmetic
says 961 - 64 = 897. The threads in between are in neither group: the state
machine returns immediately for them, and the parallel region still hands them

    [12 lines not shown]
DeltaFile
+32-64llvm/test/Transforms/OpenMP/spmdization.ll
+24-48llvm/test/Transforms/OpenMP/custom_state_machines.ll
+22-30llvm/lib/Transforms/IPO/OpenMPOpt.cpp
+8-16llvm/test/Transforms/OpenMP/spmdization_indirect.ll
+6-12llvm/test/Transforms/OpenMP/spmdization_no_guarding_two_reaching_kernels.ll
+4-8llvm/test/Transforms/OpenMP/callback_parallel_regions.ll
+96-1784 files not shown
+113-18310 files