LLVM/project dbc206fclang/include/clang/CIR MissingFeatures.h, clang/include/clang/CIR/Dialect/IR CIROps.td

[CIR][CIRGen] Support for section atttribute on cir.global (#188200)

Upstreaming clangIR PR: https://github.com/llvm/clangir/pull/422

This PR implement support for `__attribute__((section("name")))` on
global variables in ClangIR, matching OGCG behavior.
DeltaFile
+26-13clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+20-4clang/lib/CIR/CodeGen/CIRGenModule.cpp
+18-0clang/test/CIR/CodeGen/global-section.c
+16-0clang/include/clang/CIR/Interfaces/CIROpInterfaces.td
+7-1clang/include/clang/CIR/Dialect/IR/CIROps.td
+1-2clang/include/clang/CIR/MissingFeatures.h
+88-206 files

LLVM/project 53bac5cclang/test/CodeGenHIP incorrect-atomic-scope.hip, clang/test/CodeGenOpenCL incorrect-atomic-scope.cl

move the new tests to Sema
DeltaFile
+35-0clang/test/SemaOpenCL/incorrect-atomic-scope.cl
+0-35clang/test/CodeGenOpenCL/incorrect-atomic-scope.cl
+31-0clang/test/SemaHIP/incorrect-atomic-scope.hip
+0-31clang/test/CodeGenHIP/incorrect-atomic-scope.hip
+66-664 files

DragonFlyBSD/src 4470b57sys/cpu/x86_64/misc x86_64-gdbstub.c

kernel: Fix an off-by-one overflow in the gdb stub.

Fix identical to GDB upstream.
DeltaFile
+1-1sys/cpu/x86_64/misc/x86_64-gdbstub.c
+1-11 files

LLVM/project 06aae40clang/lib/CodeGen CGDebugInfo.cpp, clang/test/CodeGenHLSL/debug source-language.hlsl

[HLSL][SPIRV] Restore support for -g to generate NSDI (#190007)

The original attempt (#187051) produced a regression for
`intel-sycl-gpu` because `SPIRVEmitNonSemanticDI` will now self-activate
whenever `llvm.dbg.cu` is present. This removed the need for the
explicit `--spv-emit-nonsemantic-debug-info` flag.

The pass is now entered unconditionally for all SPIR-V targets, but
`NonSemantic.Shader.DebugInfo.100` requires the
`SPV_KHR_non_semantic_info`. Targets like `spirv64-intel` do not enable
that extension by default. When `checkSatisfiable()` ran on those
targets, it issued a fatal error rather than silently skipping.

Adds an early-out from `emitGlobalDI()`: if
`SPV_KHR_non_semantic_info` is not available for the current target, the
pass returns without emitting anything.
DeltaFile
+34-0clang/test/CodeGenHLSL/debug/source-language.hlsl
+32-0llvm/test/CodeGen/SPIRV/debug-info/hlsl-debug-info-auto-activation.ll
+22-0llvm/test/CodeGen/SPIRV/debug-info/no-nonsemantic-without-extension.ll
+6-5llvm/lib/Target/SPIRV/SPIRVTargetMachine.cpp
+5-3llvm/docs/SPIRVUsage.rst
+6-2clang/lib/CodeGen/CGDebugInfo.cpp
+105-106 files not shown
+119-1512 files

NetBSD/src kRVSWMJsys/arch/m68k/include pmap_motorola.h pmap_68k.h, sys/arch/m68k/m68k m68k_trap.c

   Merge the m68k trap code.  Still a bit more tidying up to do here, but
   this eliminates a significant chunk of code duplication.

   Biggest change here is for Amiga, whose different-from-everyone-else's
   68040 write-back code was voted off the island.
VersionDeltaFile
1.8+623-23sys/arch/m68k/m68k/m68k_trap.c
1.1+125-0sys/arch/sun68k/sun68k/sun68k_trap.c
1.53+7-1sys/arch/m68k/include/pmap_motorola.h
1.12+7-1sys/arch/m68k/include/pmap_68k.h
1.33+7-1sys/arch/sun3/include/pmap3x.h
1.54+3-3sys/arch/sun2/sun2/pmap.c
+772-2930 files not shown
+820-8936 files

LLVM/project 18a0657llvm/lib/Target/RISCV RISCVLoadStoreOptimizer.cpp, llvm/test/CodeGen/RISCV xqcilsm-lwmi-swmi-multiple.mir

[RISCV] Move unpaired instruction back in RISCVLoadStoreOptimizer (#189912)

There are cases when the `Xqcilsm` vendor extension is enabled that we
are unable to pair non-adjacent load/store instructions. The
`RISCVLoadStoreOptimizer` moves the instruction adjacent to the other
before attempting to pair them but does not move them back when it
fails. This can sometimes prevent the generation of the `Xqcilsm`
load/store multiple instructions. This patch ensures that we move the
unpaired instruction back to it's original location.
DeltaFile
+20-1llvm/test/CodeGen/RISCV/xqcilsm-lwmi-swmi-multiple.mir
+12-3llvm/lib/Target/RISCV/RISCVLoadStoreOptimizer.cpp
+32-42 files

LLVM/project 8c2feeabolt/lib/Target/RISCV RISCVMCPlusBuilder.cpp, bolt/runtime sys_riscv64.h instr.cpp

[BOLT] Delete unnecessary instructions (#189297)
DeltaFile
+64-96bolt/runtime/sys_riscv64.h
+6-12bolt/runtime/instr.cpp
+3-6bolt/lib/Target/RISCV/RISCVMCPlusBuilder.cpp
+73-1143 files

Illumos/gate fc483d5usr/src/uts/common/fs/sockfs socktpi.c, usr/src/uts/common/idmap idmap_cache.c

17966 NCA & NL7S retirements forgot about AF_NCA and residual sockfs debris
Reviewed by: Robert Mustacchi <rm at fingolfin.org>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
DeltaFile
+0-16usr/src/uts/intel/sockfs/Makefile
+0-16usr/src/uts/common/fs/sockfs/socktpi.c
+0-3usr/src/uts/common/idmap/idmap_cache.c
+0-353 files

FreeBSD/src db9bbe1lib/libsys procctl.2

procctl.2: Align list indentation

Remove 81 lines of whitespace at default manual rendering width.

MFC after: 3 days
DeltaFile
+24-24lib/libsys/procctl.2
+24-241 files

FreeBSD/ports 4ad6362games Makefile, games/qtads Makefile pkg-plist

games/qtads [New port]: Interpreter for TADS games

QTads is a cross-platform, multimedia interpreter for TADS games.  It is
fully compatible with HTML TADS, aka "Multimedia TADS".  Both TADS
versions in use today (v2 and v3) are supported.

PR:             290244
DeltaFile
+36-0games/qtads/Makefile
+16-0games/qtads/pkg-plist
+10-0games/qtads/pkg-descr
+3-0games/qtads/distinfo
+1-0games/Makefile
+66-05 files

FreeBSD/ports b1e257agames Makefile, games/frobtads pkg-plist Makefile

games/frobtads: [New port] Tools for adventure games

FrobTADS is a full version of TADS.  It includes everything you need for
playing and writing TADS games, including a text-only TADS interpreter
and the compilers for both TADS 2 and 3.

PR:             290209
DeltaFile
+161-0games/frobtads/pkg-plist
+25-0games/frobtads/Makefile
+8-0games/frobtads/pkg-descr
+3-0games/frobtads/distinfo
+1-0games/Makefile
+198-05 files

LLVM/project 495e1a4mlir/lib/Dialect/Math/Transforms SincosFusion.cpp, mlir/test/Dialect/Math sincos-fusion.mlir

[mlir] added a check in the walk to prevent catching a cos in a nested region (#190064)

The walk in SincosFusion may detect a cos within a nested region of the
sin block. This triggers an assertion in `isBeforeInBlock` later on.
Added a check within the walk so it filters operations in nested
regions, which are not in the same block and should not be fused anyway.

---------

Co-authored-by: Yebin Chon <ychon at nvidia.com>
DeltaFile
+23-0mlir/test/Dialect/Math/sincos-fusion.mlir
+2-4mlir/lib/Dialect/Math/Transforms/SincosFusion.cpp
+25-42 files

OpenBSD/ports cRNx5Ngsysutils/u-boot-asahi Makefile

   u-boot-asahi needs C11

   Move to ports-gcc on base-gcc arches to fix build on sparc64
VersionDeltaFile
1.18+4-0sysutils/u-boot-asahi/Makefile
+4-01 files

LLVM/project d52daealibc/test/shared shared_math_test.cpp

[libc] Fix the remaining long double issue in shared_math_test.cpp. (#190098)
DeltaFile
+5-6libc/test/shared/shared_math_test.cpp
+5-61 files

FreeBSD/src 7225259libexec/rtld-elf/tests dlopen_hash_test.c Makefile

rtld: add test for dlopen("#dirfd/path")

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:   https://reviews.freebsd.org/D56152
DeltaFile
+45-0libexec/rtld-elf/tests/dlopen_hash_test.c
+1-0libexec/rtld-elf/tests/Makefile
+46-02 files

FreeBSD/src ffbf3felib/libc/gen dlopen.3, libexec/rtld-elf rtld.c

rtld: allow dlopen("#<number>/<path>")

When a specially formatted path is passed to dlopen(), of the form
  #number/path
and the number is the valid dirfd file descriptor listed in the
LD_LIBRARY_FDS, interpret it as a relative path name against dirfd
number.

This complements the result returned from dladdr() for such objects
in dli_fname.

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D56152
DeltaFile
+54-3libexec/rtld-elf/rtld.c
+14-0lib/libc/gen/dlopen.3
+68-32 files

LLVM/project c8c7186llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 gfni-rotates.ll vector-fshr-rot-512.ll

[X86] LowerRotate - expand vXi8 non-uniform variable rotates using uniform constant rotates (#189986)

We expand vXi8 non-uniform variable rotates as a sequence of uniform
constant rotates along with a SELECT depending on whether the original
rotate amount needs it

This patch removes premature uniform constant rotate expansion to the
OR(SHL,SRL) sequences to allow GFNI targets to use single VGF2P8AFFINEQB
calls
DeltaFile
+301-623llvm/test/CodeGen/X86/gfni-rotates.ll
+30-30llvm/test/CodeGen/X86/vector-fshr-rot-512.ll
+9-20llvm/lib/Target/X86/X86ISelLowering.cpp
+12-12llvm/test/CodeGen/X86/vector-fshr-rot-256.ll
+352-6854 files

LLVM/project 8daaa26lld/test/ELF merge-piece-oob.s, llvm/include/llvm/Support Parallel.h

[Support] Support nested parallel TaskGroup via work-stealing (#189293)

Nested TaskGroups run serially to prevent deadlock, as documented by
https://reviews.llvm.org/D61115 and refined by
https://reviews.llvm.org/D148984 to use threadIndex.

Enable nested parallelism by having worker threads actively execute
tasks from the work queue while waiting (work-stealing), instead of
just blocking. Root-level TaskGroups (main thread) keep the efficient
blocking Latch::sync(), so there is no overhead for the common
non-nested case.

In lld, https://reviews.llvm.org/D131247 worked around the limitation
by passing a single root TaskGroup into OutputSection::writeTo and
spawning 4MB-chunked tasks into it. However, SyntheticSection::writeTo
calls with internal parallelism (e.g. GdbIndexSection,
MergeNoTailSection) still ran serially on worker threads. With this
change, their internal parallelFor/parallelForEach calls parallelize
automatically via helpSync work-stealing.

    [3 lines not shown]
DeltaFile
+16-59llvm/unittests/Support/ParallelTest.cpp
+27-7llvm/lib/Support/Parallel.cpp
+2-4llvm/include/llvm/Support/Parallel.h
+2-2lld/test/ELF/merge-piece-oob.s
+47-724 files

FreeBSD/src 51db69csys/kern kern_event.c

kqueue: assert that kqueue knote lists own the knotes

Reviewed by:    kevans, markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D56212
DeltaFile
+12-2sys/kern/kern_event.c
+12-21 files

LLVM/project dee982dllvm/lib/Target/AArch64 AArch64PostCoalescerPass.cpp AArch64.h, llvm/test/CodeGen/AArch64 aarch64-post-coalescer.mir

[NewPM] Adds a port for AArch64PostCoalescerPass (#189520)

Adds a standard porting for AArch64PostCoalescer to NewPM.
DeltaFile
+69-52llvm/lib/Target/AArch64/AArch64PostCoalescerPass.cpp
+8-1llvm/lib/Target/AArch64/AArch64.h
+2-1llvm/test/CodeGen/AArch64/aarch64-post-coalescer.mir
+1-1llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
+1-0llvm/lib/Target/AArch64/AArch64PassRegistry.def
+81-555 files

FreeBSD/src de344ffsys/amd64/amd64 exec_machdep.c

amd64 sendsig(): explicitly copy registers from trapframe to ucontext

(cherry picked from commit 7d1285e904aa76ac821ac2a6a8eb61be598f0e88)
DeltaFile
+28-1sys/amd64/amd64/exec_machdep.c
+28-11 files

FreeBSD/src a91b307libexec/rtld-elf/tests set_var_test.c Makefile

rtld: add a test for rtld_set_var (with LIBRARY_PATH_FDS)

PR:     294054

(cherry picked from commit 9f16078b5f8c44d5718ecc940ab0b4ed5a1877a5)
DeltaFile
+38-0libexec/rtld-elf/tests/set_var_test.c
+1-0libexec/rtld-elf/tests/Makefile
+39-02 files

FreeBSD/src 5002c46sys/x86/isa atpic.c icu.h

x86: move the NUM_ISA_IRQS symbol from atpic.c into x86/isa/icu.h

(cherry picked from commit 5f08cdc1fb62d157b6086b3ea844287e81e3c45d)
DeltaFile
+0-2sys/x86/isa/atpic.c
+2-0sys/x86/isa/icu.h
+2-22 files

FreeBSD/src 1e4debclibexec/rtld-elf rtld.c

rtld: properly handle update of several vars in rtld_set_var()

(cherry picked from commit b9f046d941c4dbd0e4fc634827ada6e7cf6a6bcf)
DeltaFile
+152-36libexec/rtld-elf/rtld.c
+152-361 files

FreeBSD/src 60b2eb9libexec/rtld-elf rtld.c

rtld: check for overflow in parse_integer()

(cherry picked from commit 7cfffe25da3fbc2db4bcf073ff2d240f84233973)
DeltaFile
+4-0libexec/rtld-elf/rtld.c
+4-01 files

FreeBSD/src a270710lib/libc/gen rtld_get_var.3

rtld_get_var(3): provide explicit list of rtld vars that can be modified

(cherry picked from commit f7b368d25fadbfcba5072dfab3738082393fa189)
DeltaFile
+17-0lib/libc/gen/rtld_get_var.3
+17-01 files

LLVM/project e27e7e4llvm/lib/Target/AArch64/GISel AArch64PreLegalizerCombiner.cpp

[NFC][AAarch64] Remove PreLegalizerCombiner pass dependency on TargetPassConfig (#190073)

This will enable NewPM porting.

Replaced with the definition in
[AArch64PassConfig::getCSEConfig](https://github.com/llvm/llvm-project/blob/1d549d9a777a6faef6d425cb6482ab1fa6b91bb7/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp#L614)
DeltaFile
+2-6llvm/lib/Target/AArch64/GISel/AArch64PreLegalizerCombiner.cpp
+2-61 files

LLVM/project c97e08eclang/include/clang/AST DeclBase.h DeclContextInternals.h, clang/lib/AST DeclBase.cpp Decl.cpp

[C++20] [Modules] Add VisiblePromoted module ownership kind (#189903)

This patch adds a new ModuleOwnershipKind::VisiblePromoted to handle
declarations that are not visible to the current TU but are promoted to
be visible to avoid re-parsing.

Originally we set the visible visiblity directly in such cases. But
https://github.com/llvm/llvm-project/issues/188853 shows such decls may
be excluded later if we import #include and then import. So we have to
introduce a new visibility to express the intention that the visibility
of the decl is intentionally promoted.

Close https://github.com/llvm/llvm-project/issues/188853
DeltaFile
+47-0clang/test/Modules/include-between-imports-enums.cppm
+14-1clang/include/clang/AST/DeclBase.h
+3-1clang/include/clang/AST/DeclContextInternals.h
+2-1clang/lib/AST/DeclBase.cpp
+1-1clang/lib/Sema/SemaLookup.cpp
+1-0clang/lib/AST/Decl.cpp
+68-41 files not shown
+69-47 files

NetBSD/pkgsrc Lpzoh9Gdoc CHANGES-2026

   doc: Updated news/newsraft to 0.36
VersionDeltaFile
1.2055+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc csskyUbnews/newsraft distinfo Makefile

   newsraft: update to 0.36

   - fix year 2038 overflow in If-Modified-Since header
   - set window title with an escape sequence
   - update build instructions for macOS
   - cancel search input with ^C key
   - discard search query text on search input canceling
   - extend menu-responsiveness setting to feeds and sections
   - update items menu on mark-read-all regardless of menu-responsiveness
   - respect RFC 3986 when detecting links in pager
VersionDeltaFile
1.14+4-4news/newsraft/distinfo
1.29+2-3news/newsraft/Makefile
+6-72 files