LLVM/project 282d90amlir/include/mlir/Conversion/MathToLLVM MathToLLVM.h, mlir/include/mlir/Conversion/MathToLibm MathToLibm.h

[MLIR][Math] Add optional benefit arg to populate math lowering patterns
DeltaFile
+38-38mlir/lib/Conversion/MathToLibm/MathToLibm.cpp
+3-2mlir/lib/Conversion/MathToLLVM/MathToLLVM.cpp
+1-1mlir/include/mlir/Conversion/MathToLibm/MathToLibm.h
+1-0mlir/include/mlir/Conversion/MathToLLVM/MathToLLVM.h
+43-414 files

LLVM/project 6c54ab5lld/ELF/Arch LoongArch.cpp, lld/test/ELF loongarch-relax-align.s loongarch-relax-pc-hi20-lo12-got-symbols.s

[lld][LoongArch] Relax R_LARCH_{PCALA,GOT_PC}_{HI20,LO12} (#123566)

Support relaxation optimization for two types of code sequences.
```
From:
   pcalau12i $a0, %pc_hi20(sym)
       R_LARCH_PCALA_HI20, R_LARCH_RELAX
   addi.w/d $a0, $a0, %pc_lo12(sym)
       R_LARCH_PCALA_LO12, R_LARCH_RELAX
To:
   pcaddi $a0, %pc_lo12(sym)
       R_LARCH_PCREL20_S2
    
From:
   pcalau12i $a0, %got_pc_hi20(sym_got)
       R_LARCH_GOT_PC_HI20, R_LARCH_RELAX
   ld.w/d $a0, $a0, %got_pc_lo12(sym_got)
       R_LARCH_GOT_PC_LO12, R_LARCH_RELAX
To:

    [8 lines not shown]
DeltaFile
+76-41lld/test/ELF/loongarch-relax-align.s
+114-2lld/ELF/Arch/LoongArch.cpp
+90-0lld/test/ELF/loongarch-relax-pc-hi20-lo12-got-symbols.s
+45-19lld/test/ELF/loongarch-relax-emit-relocs.s
+62-0lld/test/ELF/loongarch-relax-pc-hi20-lo12.s
+387-625 files

LLVM/project 68a82a2libc/utils/hdrgen function.py, libc/utils/hdrgen/tests/expected_output/subdir test.h

[libc] Elide extra space in hdrgen function declarations (#127287)

When the return type's rendering already doesn't end with an
identifier character, such as when it's `T *`, then idiomatic
syntax does not include a space before the `(` and arguments.
DeltaFile
+9-1libc/utils/hdrgen/function.py
+3-0libc/utils/hdrgen/tests/input/subdir/test.yaml
+2-0libc/utils/hdrgen/tests/expected_output/subdir/test.h
+14-13 files

LLVM/project 25e4333llvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV/rvv fixed-vectors-int-shuffles.ll

[RISCV] Lower shuffle which splats a single span (without exact VLEN) (#127108)

If we have a shuffle which repeats the same pattern of elements, all of
which come from the first register in the source register group, we can
lower this to a single vrgather at m1 to perform the element
rearrangement, and reuse that for each register in the result vector
register group.
DeltaFile
+47-2llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+23-14llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-shuffles.ll
+70-162 files

HardenedBSD/src 19d9cfe. UPDATING, share/man/man5 style.mdoc.5

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+18-0sys/fs/nfsclient/nfs_clstate.c
+5-0UPDATING
+3-2share/man/man5/style.mdoc.5
+2-2sys/fs/nfs/nfs_commonkrpc.c
+1-1sys/sys/param.h
+1-0sys/fs/nfs/nfs_var.h
+30-56 files

HardenedBSD/src 51ca2c3. UPDATING, share/man/man5 style.mdoc.5

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+18-0sys/fs/nfsclient/nfs_clstate.c
+5-0UPDATING
+3-2share/man/man5/style.mdoc.5
+2-2sys/fs/nfs/nfs_commonkrpc.c
+1-1sys/sys/param.h
+1-0sys/fs/nfs/nfs_var.h
+30-56 files

HardenedBSD/src a8f2b98cddl/contrib/opensolaris/lib/libdtrace/common dt_dis.c dt_open.c, sys/kern subr_ticks.S kern_clock.c

Merge branch 'freebsd/14-stable/main' into hardened/14-stable/master
DeltaFile
+80-80cddl/contrib/opensolaris/lib/libdtrace/common/dt_dis.c
+36-0sys/kern/subr_ticks.S
+15-13sys/kern/kern_clock.c
+6-4sys/kern/subr_stats.c
+9-0sys/sys/kernel.h
+7-1cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c
+153-9811 files not shown
+170-12017 files

HardenedBSD/ports b9d1de1deskutils/calibre/files user-agent-data.json, deskutils/gworkspace pkg-plist

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+97-97deskutils/gworkspace/pkg-plist
+68-68deskutils/calibre/files/user-agent-data.json
+48-0games/0ad/files/patch-GL-OOB-fix
+22-0graphics/epsonscan2/files/patch-src_ES2Command_Linux_CMakeFiles_es2command.dir_DependInfo.cmake
+22-0graphics/epsonscan2/files/patch-src_Controller_CMakeFiles_epsonscan2.dir_DependInfo.cmake
+18-0graphics/epsonscan2/files/patch-src_ES2Command_Linux_CMakeFiles_es2command.dir_flags.make
+275-165259 files not shown
+807-384265 files

LLVM/project a80e405mlir/include/mlir/Dialect/LLVMIR LLVMIntrinsicOps.td, mlir/test/Target/LLVMIR llvmir-intrinsics.mlir

[MLIR][LLVM] Add isnan intrinsic
DeltaFile
+12-0mlir/test/Target/LLVMIR/Import/intrinsic.ll
+10-0mlir/test/Target/LLVMIR/llvmir-intrinsics.mlir
+2-0mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
+24-03 files

LLVM/project f083272lld/test/ELF/lto arm-rtlibcall.ll

add test without --start-lib/--end-lib

Created using spr 1.3.6-beta.1
DeltaFile
+3-0lld/test/ELF/lto/arm-rtlibcall.ll
+3-01 files

Linux/linux 78a632adrivers/pci probe.c quirks.c

Merge tag 'pci-v6.14-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci

Pull pci fixes from Bjorn Helgaas:

 - Update a BUILD_BUG_ON() usage that works on current compilers, but
   breaks compilation on gcc 5.3.1 (Alex Williamson)

 - Avoid use of FLR for Mediatek MT7922 WiFi; the device previously
   worked after a long timeout and fallback to SBR, but after a recent
   RRS change it doesn't work at all after FLR (Bjorn Helgaas)

* tag 'pci-v6.14-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci:
  PCI: Avoid FLR for Mediatek MT7922 WiFi
  PCI: Fix BUILD_BUG_ON usage for old gcc
DeltaFile
+3-2drivers/pci/probe.c
+2-1drivers/pci/quirks.c
+5-32 files

LLVM/project 625cb5alibc/include stdlib-malloc.yaml stdlib.yaml

[libc] Share hdrgen declarations between stdlib.h and malloc.h (#127278)

This uses the new merge_yaml_files feature in hdrgen to share the
source of truth for the malloc suite of functions declared in
both stdlib.h and in malloc.h (without either header including
the other).  It also modernizes the malloc.yaml definition a bit,
including dropping the custom template malloc.h.def file in favor
of using the explicit macros list to generate the includes.
DeltaFile
+44-0libc/include/stdlib-malloc.yaml
+2-33libc/include/stdlib.yaml
+0-17libc/include/malloc.h.def
+10-6libc/include/malloc.yaml
+56-564 files

LLVM/project c73eb21lld/test/ELF/lto arm-rtlibcall.ll

[𝘀𝗽𝗿] initial version

Created using spr 1.3.6-beta.1
DeltaFile
+122-0lld/test/ELF/lto/arm-rtlibcall.ll
+122-01 files

LLVM/project caaa288llvm/include/llvm/Analysis LazyCallGraph.h, llvm/lib/Analysis LazyCallGraph.cpp

Revert "[Coroutines][LazyCallGraph] addSplitRefRecursiveFunctions allows spurious ref edges between new functions." (#127285)

Reverts llvm/llvm-project#116285

Breaks expensive checks build, e.g.
https://lab.llvm.org/buildbot/#/builders/16/builds/13821
DeltaFile
+0-54llvm/unittests/Analysis/LazyCallGraphTest.cpp
+4-9llvm/include/llvm/Analysis/LazyCallGraph.h
+2-4llvm/lib/Analysis/LazyCallGraph.cpp
+6-673 files

FreeBSD/ports 1f23913devel/ruby-build distinfo Makefile

devel/ruby-build: Update to 20250215

Changes:        https://github.com/rbenv/ruby-build/releases/tag/v20250215
(cherry picked from commit 7ae51b97b46d8dcfd2bd79f5feb6635f30ca6e16)
DeltaFile
+3-3devel/ruby-build/distinfo
+1-1devel/ruby-build/Makefile
+4-42 files

NetBSD/src jL1qJ5Qsys/arch/evbppc/wii/dev bwai.c

   wii: Audio playback improvements.

   Instead of resetting the byte counter for every block (which is racy),
   increment the interrupt timing register by the exact byte count for
   each block. Should do better at keeping things in sync.
VersionDeltaFile
1.4+10-4sys/arch/evbppc/wii/dev/bwai.c
+10-41 files

LLVM/project 28c52edclang/docs ReleaseNotes.rst, clang/include/clang/Basic Attr.td AttrDocs.td

[clang][X86] Support __attribute__((model("small"/"large"))) (#124834)

Following up #72078, on x86-64 this allows a global to be considered
small or large regardless of the code model. For example, x86-64's
medium code model by default classifies globals as small or large
depending on their size relative to -mlarge-data-threshold.

GPU compilations compile the same TU for both the host and device, but
only codegen the host or device portions of it depending on attributes.
However, we still Sema the TU, and will warn on an unknown attribute for
the device compilation since this attribute is target-specific. Since
they're intended for the host, accept but ignore this attribute for
device compilations where the host is either unknown or known to
support the attribute.

Co-authored-by: @pranavk
DeltaFile
+59-53clang/test/Sema/attr-model.cpp
+36-1clang/lib/Sema/SemaDeclAttr.cpp
+27-0clang/test/CodeGen/X86/codemodel.cpp
+16-4clang/include/clang/Basic/Attr.td
+10-0clang/include/clang/Basic/AttrDocs.td
+4-0clang/docs/ReleaseNotes.rst
+152-586 files

LLVM/project 77041daclang/lib/StaticAnalyzer/Checkers/WebKit UncountedLambdaCapturesChecker.cpp, clang/test/Analysis/Checkers/WebKit uncounted-lambda-captures.cpp

[webkit.UncountedLambdaCapturesChecker] Recognize nested protectedThis pattern (#126443)

In WebKit, it's pretty common to capture "this" and "protectedThis"
where "protectedThis" is a guardian variable of type Ref or RefPtr for
"this". Furthermore, it's common for this "protectedThis" variable from
being passed to an inner lambda by std::move. Recognize this pattern so
that we don't emit warnings for nested inner lambdas.

To recognize this pattern, we introduce a new DenseSet,
ProtectedThisDecls, which contains every "protectedThis" we've
recognized to our subclass of DynamicRecursiveASTVisitor. This set is
now populated in "hasProtectedThis" and "declProtectsThis" uses this
DenseSet to determine a given value declaration constitutes a
"protectedThis" pattern or not.

Because hasProtectedThis and declProtectsThis had to be moved from the
checker class to the visitor class, it's now a responsibility of each
caller of visitLambdaExpr to check whether a given lambda captures
"this" without a "protectedThis" or not.

    [3 lines not shown]
DeltaFile
+76-48clang/lib/StaticAnalyzer/Checkers/WebKit/UncountedLambdaCapturesChecker.cpp
+32-0clang/test/Analysis/Checkers/WebKit/uncounted-lambda-captures.cpp
+108-482 files

HardenedBSD/ports 7ae51b9devel/ruby-build distinfo Makefile

devel/ruby-build: Update to 20250215

Changes:        https://github.com/rbenv/ruby-build/releases/tag/v20250215
DeltaFile
+3-3devel/ruby-build/distinfo
+1-1devel/ruby-build/Makefile
+4-42 files

FreeBSD/ports 7ae51b9devel/ruby-build distinfo Makefile

devel/ruby-build: Update to 20250215

Changes:        https://github.com/rbenv/ruby-build/releases/tag/v20250215
DeltaFile
+3-3devel/ruby-build/distinfo
+1-1devel/ruby-build/Makefile
+4-42 files

NetBSD/src GcvP2Srsys/arch/evbppc/wii pic_pi.c

   wii: Simplify Processor Interface pic code.
VersionDeltaFile
1.2+7-20sys/arch/evbppc/wii/pic_pi.c
+7-201 files

NetBSD/src i4OcsJisys/arch/powerpc/pic intr.c

   powerpc: Fix ci_ipending corruption with cascaded pics

   A cascaded pic will register pic_handle_intr as its interrupt handler,
   but interrupt handlers are called with MSR[EE] = 1. This breaks
   assumptions in pic callbacks and can result in eg. corrupt ci_ipending
   due to a read/modify/write of the field with nested interrupts.

   Fix this by always clearing MSR[EE] at the top of pic_handle_intr.
VersionDeltaFile
1.35+10-6sys/arch/powerpc/pic/intr.c
+10-61 files

LLVM/project 84b10d4clang/lib/Driver OffloadBundler.cpp, clang/test/Driver clang-offload-bundler.c clang-offload-bundler-standardize.c

[OffloadBundler] Rework the ctor of `OffloadTargetInfo` to support generic target

The current parsing of target string assumes to be in a form of
`kind-triple-targetid:feature`, such as
`hipv4-amdgcn-amd-amdhsa-gfx1030:+xnack`. Specifically, the target id does not
contain any `-`, which is not the case for generic target. Also, a generic
target may contain one or more `-`, such as `gfx10-3-generic` and
`gfx12-generic`. As a result, we can no longer depend on `rstrip` to get things
work right. This patch reworks the logic to parse the target string to make it
more robust, as well as supporting generic target.
DeltaFile
+24-24clang/test/Driver/clang-offload-bundler.c
+23-24clang/lib/Driver/OffloadBundler.cpp
+5-13clang/test/Driver/clang-offload-bundler-standardize.c
+8-8clang/test/Driver/clang-offload-bundler-zlib.c
+7-7clang/test/Driver/clang-offload-bundler-asserts-on.c
+11-1llvm/utils/lit/lit/llvm/config.py
+78-7711 files not shown
+117-11417 files

NetBSD/pkgsrc DiHcNqCdoc CHANGES-2025

   doc: Updated math/R-insight to 1.0.2
VersionDeltaFile
1.1386+2-1doc/CHANGES-2025
+2-11 files

NetBSD/pkgsrc aVsTG9Fmath/R-insight distinfo Makefile

   (math/R-insight) Updated 0.20.5 to 1.0.2

   # insight 1.02

   ## Changes

   * `get_datagrid()` gives a more informative error message when a variable
     specified in `by` was not found in the data.

   * The `by` argument in `get_datagrid()` gets a new token-option, `"[sample <number>]"`,
     to draw a random sample of values.

   ## Bug fixes

   * Option `"terciles"` and `"terciles2"` in `get_datagrid()` were swapped, i.e.
     `"terciles"` was doing what was documented for `"terciles2"` and vice versa.
     This has been fixed.

   * `include_random` in `get_datagrid()` now works for nested random effects, i.e.

    [107 lines not shown]
VersionDeltaFile
1.9+4-4math/R-insight/distinfo
1.7+2-2math/R-insight/Makefile
+6-62 files

OpenBSD/ports gZsC3DUnet/curl distinfo Makefile, net/curl/patches patch-lib_inet_ntop_h patch-lib_inet_pton_h

   net/curl: bugfix update to 8.12.1
VersionDeltaFile
1.137+2-2net/curl/distinfo
1.203+1-1net/curl/Makefile
1.2+0-0net/curl/patches/patch-lib_inet_ntop_h
1.2+0-0net/curl/patches/patch-lib_inet_pton_h
+3-34 files

LLVM/project 60af835libc/src/time/strftime_core composite_converter.h

[libc] Fix implicit cast warning in strftime (#127282)

Forgot to change a size_t to an int, which caused warnings on gcc but
not clang for some reason. Regardless, this patch fixes the issue.
DeltaFile
+2-2libc/src/time/strftime_core/composite_converter.h
+2-21 files

NetBSD/pkgsrc jmQ5d3Kdoc CHANGES-2025

   doc: Updated math/R-doBy to 4.6.25
VersionDeltaFile
1.1385+2-1doc/CHANGES-2025
+2-11 files

NetBSD/pkgsrc oq8TvIYmath/R-doBy distinfo Makefile

   (math/R-doBy) updated 4.6.24 to 4.6.25

   doBy v4.6.25 (Release date: 2025-01-29)
   =======================================

   * Various minor changes; too many to remember.
VersionDeltaFile
1.2+4-4math/R-doBy/distinfo
1.2+2-2math/R-doBy/Makefile
+6-62 files

LLVM/project 398f865libc/src/time/strftime_core composite_converter.h num_converter.h, libc/test/src/time strftime_test.cpp

[libc] Implement strftime (#122556)

Implements the posix-specified strftime conversions for the default
locale, along with comprehensive unit tests. This reuses a lot of design
from printf, as well as the printf writer.

Roughly based on #111305, but with major rewrites.
DeltaFile
+2,330-0libc/test/src/time/strftime_test.cpp
+237-0libc/src/time/strftime_core/composite_converter.h
+199-0libc/src/time/strftime_core/num_converter.h
+111-0libc/src/time/strftime_core/parser.h
+96-0libc/src/time/strftime_core/converter.cpp
+76-0libc/src/time/strftime_core/str_converter.h
+3,049-013 files not shown
+3,374-019 files