LLVM/project b2a38f0clang/lib/AST DeclTemplate.cpp, clang/lib/Sema SemaTemplateDeductionGuide.cpp SemaTemplate.cpp

[clang] fix alias ctad producing function template with no template parameters

Also fixes the same problem with error recovery for invalid template template
parameters.

This also adds asserts to the template constructors to make sure this
doesn't happen again.
DeltaFile
+40-43clang/lib/Sema/SemaTemplateDeductionGuide.cpp
+18-9clang/lib/Sema/SemaTemplate.cpp
+9-0clang/lib/AST/DeclTemplate.cpp
+4-3clang/test/SemaCXX/cxx20-ctad-type-alias.cpp
+3-3clang/lib/Sema/SemaInit.cpp
+2-2clang/test/SemaTemplate/deduction-guide.cpp
+76-603 files not shown
+80-629 files

FreeNAS/freenas 3ff08d9src/middlewared/middlewared/plugins/tunable utils.py, tests/api2 test_tunables.py

address review
DeltaFile
+77-2tests/api2/test_tunables.py
+4-3src/middlewared/middlewared/plugins/tunable/utils.py
+81-52 files

FreeBSD/ports 4ec57d4devel/R-cran-pkgload distinfo Makefile

devel/R-cran-pkgload: Update to 1.5.2

Change license to MIT.

Changelog: https://cloud.r-project.org/web/packages/pkgload/news/news.html
DeltaFile
+3-3devel/R-cran-pkgload/distinfo
+2-2devel/R-cran-pkgload/Makefile
+5-52 files

LLVM/project 696406fllvm/include/llvm/CodeGen TargetLowering.h, llvm/lib/CodeGen/SelectionDAG TargetLowering.cpp

[SelectionDAG] Use Magic Algorithm for Splitting UDIV/UREM by Constant (#154968)

For integer types twice as large as a legal type, we have previously
generated a library call if another splitting technique was not
applicable.
    
With this change, we use an adaption of the Magic algorithm. This
algorithm is also used for UDIV/UREM by constants on legal types. The
implementation introduced here is a simple port of the already existing
implementation to types twice the size of a legal type. The core idea of
this algorithm is to replace (udiv x c) for a constant c with the bits
higher or equal to the s-th bit of the multiplication of x by (2^s +
o)/c
for some s and o. More details are available in Henry S. Warren, Jr.:
"Hacker's Delight", chapter 10.
    
An efficient handling of UDIV/UREM by constants on types twice as large
as a legal type is mostly relevant for 32-bit platforms. But some
projects may also benefit on 64-bit platforms. For example, the `fmt`

    [3 lines not shown]
DeltaFile
+517-0llvm/test/CodeGen/X86/divmod128.ll
+475-30llvm/test/CodeGen/X86/divide-by-constant.ll
+134-71llvm/test/CodeGen/RISCV/urem-vector-lkk.ll
+155-30llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+25-5llvm/test/CodeGen/X86/i128-udiv.ll
+15-4llvm/include/llvm/CodeGen/TargetLowering.h
+1,321-1406 files

LLVM/project 66401c2lldb/test/API/clear-sbvalue-nonaddressable-bits TestClearSBValueNonAddressableBits.py

[lldb] Support arm64e in TestClearSBValueNonAddressableBits.py (#194748)

These values are expected to be different on arm64e where the raw
pointer value should have all the tagged bits and the stripped pointer
shouldn't.
DeltaFile
+1-3lldb/test/API/clear-sbvalue-nonaddressable-bits/TestClearSBValueNonAddressableBits.py
+1-31 files

NetBSD/pkgsrc-wip ab1ec86gcr4 PLIST COMMIT_MSG

gcr4: update to 4.4.0.1

Review the package. Move some dependencies to options.
Remove content from Makefile which predates meson building.
DeltaFile
+738-734gcr4/PLIST
+109-0gcr4/COMMIT_MSG
+71-0gcr4/options.mk
+23-23gcr4/Makefile
+27-12gcr4/buildlink3.mk
+16-0gcr4/TODO
+984-7691 files not shown
+987-7727 files

LLVM/project be0d399clang/lib/AST DeclTemplate.cpp, clang/lib/Sema SemaTemplateDeductionGuide.cpp SemaTemplate.cpp

[clang] fix alias ctad producing function template with no template parameters

Also fixes the same problem with error recovery for invalid template template
parameters.

This also adds asserts to the template constructors to make sure this
doesn't happen again.
DeltaFile
+40-43clang/lib/Sema/SemaTemplateDeductionGuide.cpp
+18-9clang/lib/Sema/SemaTemplate.cpp
+9-0clang/lib/AST/DeclTemplate.cpp
+4-4clang/lib/Sema/SemaTemplateInstantiate.cpp
+4-3clang/test/SemaCXX/cxx20-ctad-type-alias.cpp
+3-3clang/lib/Sema/SemaInit.cpp
+78-624 files not shown
+85-6710 files

Illumos/gate 1d20d91usr/src/cmd/ast/libast Makefile.com, usr/src/cmd/ast/libshell Makefile.com

18050 ast: add gcc15 support
Reviewed by: Andy Fiddaman <illumos at fiddaman.net>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
DeltaFile
+5-6usr/src/cmd/ast/libast/Makefile.com
+1-0usr/src/cmd/ast/libshell/Makefile.com
+6-62 files

Illumos/gate f6e0c72usr/src/uts/i86pc/pci_prd Makefile, usr/src/uts/i86xpv/pci_prd Makefile

18049 update pci_prd build for gcc15
Reviewed by: Andy Fiddaman <illumos at fiddaman.net>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
DeltaFile
+1-0usr/src/uts/i86pc/pci_prd/Makefile
+1-0usr/src/uts/i86xpv/pci_prd/Makefile
+2-02 files

LLVM/project 0135cf9llvm/lib/ProfileData/Coverage CoverageMappingReader.cpp

[Coverage] Fix quadratic propagation in RawCoverageMappingReader (#194996)

```
llvm-cov export /tmp/Cov/bin/lld -instr-profile=/tmp/Cov/cov.profdata -format=lcov --sources lld/ELF/Arch/RISCV.cpp
```
does not finish after minutes.

Root cause: The expansion-region count propagation loop is bounded by
`VirtualFileMapping.size()`, the number of macro expansions.

In the TableGen-generated `RISCVGenDAGISel.inc` (depended on by
LLVMLTO), `NumFileMappings` is 74941 (largely due to the `TARGET_VAL`
macro). With 149887 mapping regions, the loop does not finish after more
than ten minutes.

Fix with an early break.
DeltaFile
+13-6llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
+13-61 files

FreeBSD/ports f1c9e28lang/gnat12 Makefile, lang/gnat13 Makefile

lang/gnat1?: fix build with GNU strip

After D55509 $STRIP_CMD has been set to GNU strip for these ports, and in some
cases this breaks, because GNU strip will refuse to strip non-writable files,
while LLVM strip is happy to (attempt to) strip them.

PR:             294657
Reported by:    kib at FreeBSD.org
Reviewed by:    kib at FreeBSD.org
Phabricator:    D55509
MFC after:      8 days

(cherry picked from commit 3d69dd6df87f1ef85fb4869f15be3ddc6099e605)
DeltaFile
+6-0lang/gnat12/Makefile
+6-0lang/gnat13/Makefile
+6-0lang/gnat14/Makefile
+18-03 files

LLVM/project 8b41ee5llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

Address comment

Created using spr 1.3.7
DeltaFile
+0-6llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+0-61 files

LLVM/project e353364llvm/lib/Target/AMDGPU AMDGPULowerVGPREncoding.cpp, llvm/test/CodeGen/AMDGPU vgpr-setreg-mode-swar.mir hazard-setreg-vgpr-msb-gfx1250.mir

[AMDGPU] Refactor setreg handling in the VGPR MSB lowering (#186491)

It can skip inserting S_SET_VGPR_MSB if we set the mode via
piggybacking. We are now relying on the HW bug for correct
behavior. If/when the bug is fixed lowering will be incorrect.

SETREG is not a piggybacking target anymore. Instead piggybacking is
disabled if we have seen a SETREG since the last mode change.
DeltaFile
+117-48llvm/test/CodeGen/AMDGPU/vgpr-setreg-mode-swar.mir
+14-34llvm/lib/Target/AMDGPU/AMDGPULowerVGPREncoding.cpp
+9-3llvm/test/CodeGen/AMDGPU/hazard-setreg-vgpr-msb-gfx1250.mir
+140-853 files

FreeBSD/src 50bd6eelib/clang/include/llvm/Config config.h

lib/clang: Fix bootstrapping on macOS after LLVM 21 merge

Fixes:          770cf0a5f02d ("Fixups after llvm-project main llvmorg-21-init-19288-gface93e724f4 merge")
MFC after:      1 month
DeltaFile
+2-2lib/clang/include/llvm/Config/config.h
+2-21 files

LLVM/project ea012e4utils/bazel/llvm-project-overlay/libc/test/src/sys/mman BUILD.bazel

[Bazel] Fixes 581e9d7 (#195290)

This fixes 581e9d7d125f1573b1eae4a421a0bee9b0e61760.

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+11-0utils/bazel/llvm-project-overlay/libc/test/src/sys/mman/BUILD.bazel
+11-01 files

NetBSD/pkgsrc-wip d423491bob distinfo cargo-depends.mk, bob/patches patch-.._vendor_lua-src-547.0.0_src_lib.rs patch-.._lua-src-rs-178af5ab1dd388fd378cb9cb24d65747e08f5a5e_src_lib.rs

bob: Update to 0.99.3.

* Switch to an upstream commit with illumos support for lua-src so that we can
  use the bundled version.  OmniOS is now supported, as it does not provide a
  native lua package.

* Generate setup.log for bob's internal handling of preparing for a build, and
  include them in the report, so that users are made aware of any failures that
  prevented a package build from starting.

* Various logging and error handling improvements.

* Add `--from` and `--to` support to `bob diff`.

* Add `bob publish --baseline` to compare against a specific build run instead
  of the previous, useful if the previous build ended up being unusable.

* Support `bob util import-pscan --no-resolve`


    [26 lines not shown]
DeltaFile
+359-308bob/distinfo
+117-101bob/cargo-depends.mk
+0-16bob/patches/patch-.._vendor_lua-src-547.0.0_src_lib.rs
+16-0bob/patches/patch-.._lua-src-rs-178af5ab1dd388fd378cb9cb24d65747e08f5a5e_src_lib.rs
+7-2bob/Makefile
+5-3bob/patches/patch-Cargo.toml
+504-4306 files

LLVM/project 581e9d7libc/src/sys/mman mmap.h, libc/test/integration/src/pthread CMakeLists.txt

[libc][NFC] Remove <sys/mman.h> from mmap.h and fix tests (#195240)

Removed the last direct <sys/mman.h> include from mmap.h, replacing it
with hdr/types/size_t.h and hdr/types/off_t.h.

Added hdr/sys_mman_macros.h to test files that relied on transitive
includes for PROT_READ, MAP_ANONYMOUS, and similar macros.
DeltaFile
+11-0libc/test/src/sys/mman/linux/CMakeLists.txt
+2-1libc/src/sys/mman/mmap.h
+2-0libc/test/integration/src/pthread/CMakeLists.txt
+1-0libc/test/src/sys/mman/linux/madvise_test.cpp
+1-0libc/test/src/sys/mman/linux/posix_madvise_test.cpp
+1-0libc/test/src/sys/mman/linux/mmap_test.cpp
+18-116 files not shown
+34-122 files

LLVM/project 0e23b2cclang/test/AST ast-dump-templates.cpp, llvm/test/CodeGen/RISCV rvp-simd-64.ll atomic-rmw.ll

Rebase

Created using spr 1.3.7
DeltaFile
+648-9,339clang/test/AST/ast-dump-templates.cpp
+5,061-4,162llvm/test/CodeGen/Thumb2/mve-clmul.ll
+4,652-0llvm/test/CodeGen/RISCV/rvp-simd-64.ll
+2,420-2,120llvm/test/CodeGen/RISCV/atomic-rmw.ll
+3,230-456llvm/test/CodeGen/WebAssembly/strided-int-mac.ll
+1,519-1,501llvm/test/Transforms/LoopVectorize/X86/x86-interleaved-accesses-masked-group.ll
+17,530-17,5783,551 files not shown
+154,008-91,2703,557 files

NetBSD/src DkP87Selib/libpthread pthread_main_np.3

   pthread_main_np.3: grammar fix
VersionDeltaFile
1.2+2-2lib/libpthread/pthread_main_np.3
+2-21 files

NetBSD/pkgsrc 0WSm82Vdoc CHANGES-2026

   doc: Updated www/chromium to 147.0.7727.137
VersionDeltaFile
1.2730+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc SyBKQQJwww/chromium distinfo Makefile

   www/chromium: update to 147.0.7727.137

   * 147.0.7727.116
   This update includes 19 security fixes. Below, we highlight fixes
   that were contributed by external researchers. Please see the
   Chrome Security Page for more information.
   [TBD][493652473] High CVE-2026-6919: Use after free in DevTools.
   Reported by c6eed09fc8b174b0f3eebedcceb1e792 on 2026-03-18
   [TBD][499891888] High CVE-2026-6920: Out of bounds read in GPU.
   Reported by tatiwari of Microsoft on 2026-04-06
   [TBD][493315759] Medium CVE-2026-6921: Race in GPU.
   Reported by soiax on 2026-03-17

   * 147.0.7727.137
   This update includes 30 security fixes. Below, we highlight fixes
   that were contributed by external researchers. Please see the
   Chrome Security Page for more information.
   [$7000][494352590] Critical CVE-2026-7363: Use after free in Canvas.
   Reported by heapracer on 2026-03-19

    [58 lines not shown]
VersionDeltaFile
1.40+9-9www/chromium/distinfo
1.54+1-1www/chromium/Makefile
+10-102 files

LLVM/project 5ef58e1clang/test/AST ast-dump-templates.cpp, llvm/test/Analysis/CostModel/AMDGPU rem.ll div.ll

rebase

Created using spr 1.3.5
DeltaFile
+648-9,339clang/test/AST/ast-dump-templates.cpp
+2,420-2,120llvm/test/CodeGen/RISCV/atomic-rmw.ll
+952-952llvm/test/Analysis/CostModel/AMDGPU/rem.ll
+952-952llvm/test/Analysis/CostModel/AMDGPU/div.ll
+643-643llvm/test/Analysis/CostModel/AMDGPU/insertelement.ll
+532-602llvm/test/CodeGen/X86/vector-reduce-umin.ll
+6,147-14,608743 files not shown
+31,526-30,559749 files

LLVM/project a00706cclang/test/AST ast-dump-templates.cpp, llvm/test/Analysis/CostModel/AMDGPU rem.ll div.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.5

[skip ci]
DeltaFile
+648-9,339clang/test/AST/ast-dump-templates.cpp
+2,420-2,120llvm/test/CodeGen/RISCV/atomic-rmw.ll
+952-952llvm/test/Analysis/CostModel/AMDGPU/rem.ll
+952-952llvm/test/Analysis/CostModel/AMDGPU/div.ll
+643-643llvm/test/Analysis/CostModel/AMDGPU/insertelement.ll
+532-602llvm/test/CodeGen/X86/vector-reduce-umin.ll
+6,147-14,608742 files not shown
+31,524-30,559748 files

LLVM/project d22ea4fclang/test/AST ast-dump-templates.cpp, llvm/test/Analysis/CostModel/AMDGPU rem.ll div.ll

rebase

Created using spr 1.3.5
DeltaFile
+648-9,339clang/test/AST/ast-dump-templates.cpp
+2,420-2,120llvm/test/CodeGen/RISCV/atomic-rmw.ll
+952-952llvm/test/Analysis/CostModel/AMDGPU/rem.ll
+952-952llvm/test/Analysis/CostModel/AMDGPU/div.ll
+643-643llvm/test/Analysis/CostModel/AMDGPU/insertelement.ll
+532-602llvm/test/CodeGen/X86/vector-reduce-umin.ll
+6,147-14,608742 files not shown
+31,524-30,559748 files

LLVM/project 04c8e18clang/test/AST ast-dump-templates.cpp, llvm/test/Analysis/CostModel/AMDGPU rem.ll div.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.5

[skip ci]
DeltaFile
+648-9,339clang/test/AST/ast-dump-templates.cpp
+2,420-2,120llvm/test/CodeGen/RISCV/atomic-rmw.ll
+952-952llvm/test/Analysis/CostModel/AMDGPU/rem.ll
+952-952llvm/test/Analysis/CostModel/AMDGPU/div.ll
+643-643llvm/test/Analysis/CostModel/AMDGPU/insertelement.ll
+532-602llvm/test/CodeGen/X86/vector-reduce-umin.ll
+6,147-14,608742 files not shown
+31,521-30,557748 files

LLVM/project 93b2570clang/test/AST ast-dump-templates.cpp, llvm/test/Analysis/CostModel/AMDGPU rem.ll div.ll

rebase

Created using spr 1.3.5
DeltaFile
+648-9,339clang/test/AST/ast-dump-templates.cpp
+2,420-2,120llvm/test/CodeGen/RISCV/atomic-rmw.ll
+952-952llvm/test/Analysis/CostModel/AMDGPU/rem.ll
+952-952llvm/test/Analysis/CostModel/AMDGPU/div.ll
+643-643llvm/test/Analysis/CostModel/AMDGPU/insertelement.ll
+532-602llvm/test/CodeGen/X86/vector-reduce-umin.ll
+6,147-14,608742 files not shown
+31,521-30,557748 files

LLVM/project 28ac2d5clang/test/AST ast-dump-templates.cpp, llvm/test/Analysis/CostModel/AMDGPU rem.ll div.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.5

[skip ci]
DeltaFile
+648-9,339clang/test/AST/ast-dump-templates.cpp
+2,420-2,120llvm/test/CodeGen/RISCV/atomic-rmw.ll
+952-952llvm/test/Analysis/CostModel/AMDGPU/rem.ll
+952-952llvm/test/Analysis/CostModel/AMDGPU/div.ll
+643-643llvm/test/Analysis/CostModel/AMDGPU/insertelement.ll
+532-602llvm/test/CodeGen/X86/vector-reduce-umin.ll
+6,147-14,608738 files not shown
+31,513-30,556744 files

LLVM/project a0e6647clang/test/AST ast-dump-templates.cpp, llvm/test/Analysis/CostModel/AMDGPU rem.ll div.ll

rebase

Created using spr 1.3.5
DeltaFile
+648-9,339clang/test/AST/ast-dump-templates.cpp
+2,420-2,120llvm/test/CodeGen/RISCV/atomic-rmw.ll
+952-952llvm/test/Analysis/CostModel/AMDGPU/rem.ll
+952-952llvm/test/Analysis/CostModel/AMDGPU/div.ll
+643-643llvm/test/Analysis/CostModel/AMDGPU/insertelement.ll
+532-602llvm/test/CodeGen/X86/vector-reduce-umin.ll
+6,147-14,608738 files not shown
+31,513-30,556744 files

LLVM/project 8a6b84cclang/test/AST ast-dump-templates.cpp, llvm/test/Analysis/CostModel/AMDGPU div.ll rem.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.5

[skip ci]
DeltaFile
+648-9,339clang/test/AST/ast-dump-templates.cpp
+2,420-2,120llvm/test/CodeGen/RISCV/atomic-rmw.ll
+952-952llvm/test/Analysis/CostModel/AMDGPU/div.ll
+952-952llvm/test/Analysis/CostModel/AMDGPU/rem.ll
+643-643llvm/test/Analysis/CostModel/AMDGPU/insertelement.ll
+532-602llvm/test/CodeGen/X86/vector-reduce-umin.ll
+6,147-14,608737 files not shown
+31,492-30,537743 files

LLVM/project 6504c3aclang/test/AST ast-dump-templates.cpp, llvm/test/Analysis/CostModel/AMDGPU div.ll rem.ll

rebase

Created using spr 1.3.5
DeltaFile
+648-9,339clang/test/AST/ast-dump-templates.cpp
+2,420-2,120llvm/test/CodeGen/RISCV/atomic-rmw.ll
+952-952llvm/test/Analysis/CostModel/AMDGPU/div.ll
+952-952llvm/test/Analysis/CostModel/AMDGPU/rem.ll
+643-643llvm/test/Analysis/CostModel/AMDGPU/insertelement.ll
+532-602llvm/test/CodeGen/X86/vector-reduce-umin.ll
+6,147-14,608737 files not shown
+31,492-30,537743 files