LLVM/project dc222c2clang/lib/Serialization ASTReader.cpp, clang/test/Modules merge-target-features.cpp

[NFC][clang][Serialization] Fix std::set_difference sorting mismatch in ASTReader (#219053)

Fixes a `std::set_difference` sorting violation in
`ASTReader::checkTargetOptions` that causes a crash when building clang
with `LLVM_ENABLE_EXPENSIVE_CHECKS` on libstdc++.

`accumulateFeaturesAsWritten` sorts target features using a custom
comparator that strips the `+`/`-` prefix (i.e. comparing `A.substr(1) <
B.substr(1)`). However, `std::set_difference` was being called with the
default `std::string::operator<` comparator, which does not match the
sorting order because `+` (ASCII 0x2B) is less than `-` (ASCII 0x2D).
For example, `["-cx16", "+sse2"]` is correctly sorted according to the
custom comparator, but incorrectly sorted according to the default
lexicographical comparator.

This patch fixes the issue by passing the same custom comparator used
for sorting to both `std::set_difference` calls.

Fixes #219046.
DeltaFile
+22-0clang/test/Modules/merge-target-features.cpp
+9-4clang/lib/Serialization/ASTReader.cpp
+31-42 files

LLVM/project 814a6fcllvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/X86 reassoc-flattened-copyable-operand.ll phi-operand-gather-insert-point.ll

[SLP]Trim combined nodes only at their roots

Combined subnodes were added to the trimming worklist as independent
candidates, carrying their descendants' aggregated costs. Trimming such
a subnode on its own deleted operands still referenced by the combined
root, producing instructions that no longer dominated their uses.

Skip CombinedVectorize subnodes in subtree-cost aggregation and worklist
construction so only combined roots are evaluated as trim candidates.

Fixes #218974

Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/219095
DeltaFile
+125-0llvm/test/Transforms/SLPVectorizer/X86/phi-operand-gather-insert-point.ll
+10-12llvm/test/Transforms/SLPVectorizer/X86/reassoc-flattened-copyable-operand.ll
+10-1llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+145-133 files

LLVM/project 2ff334allvm/tools/llvm-profdata llvm-profdata.cpp

[lsan][llvm-profdata] Suppress leak check on abnormal exit (#219088)

This is common issue with lsan after exit().
`exit()` is no return, we can't expect that compiler
will preserve pointers to allocations done by callers.

Fixes new build bot report after upgrading base compiler to clang 23.1.0
https://lab.llvm.org/buildbot/#/builders/169/builds/26007
It probably has improved stack or registers re-use.
DeltaFile
+13-0llvm/tools/llvm-profdata/llvm-profdata.cpp
+13-01 files

LLVM/project b6016efflang/docs FlangDriver.md

[flang][docs] Mention --driver-mode=flang in FlangDriver.md (#207659)

This patch adds a description about the `--driver-mode=flang` flag.
The behavior will be ensured by #207658.

---------

Co-authored-by: Tarun Prabhu <tarunprabhu at gmail.com>
DeltaFile
+2-0flang/docs/FlangDriver.md
+2-01 files

LLVM/project 86440cccompiler-rt/lib/orc/tests CMakeLists.txt, compiler-rt/test/orc CMakeLists.txt

[compiler-rt][cmake] Change orc-rt target names (#216901)

When configured with `LLVM_ENABLE_RUNTIMES=compiler-rt;orc-rt`,
following two CMake errors occur.

```
CMake Error at llvm-project/llvm/cmake/modules/AddLLVM.cmake:2245 (add_custom_target):
  add_custom_target cannot create target "check-orc-rt" because another
  target with the same name already exists.  The existing target is a custom
  target created in source directory
  "llvm-project/compiler-rt/test/orc".  See documentation
  for policy CMP0002 for more details.
Call Stack (most recent call first):
  llvm-project/llvm/cmake/modules/AddLLVM.cmake:2326 (add_lit_target)
  llvm-project/orc-rt/test/CMakeLists.txt:24 (add_lit_testsuite)

CMake Error at llvm-project/orc-rt/test/unit/CMakeLists.txt:1 (add_custom_target):
  add_custom_target cannot create target "OrcRTUnitTests" because another
  target with the same name already exists.  The existing target is a custom

    [10 lines not shown]
DeltaFile
+3-3compiler-rt/lib/orc/tests/CMakeLists.txt
+1-1compiler-rt/test/orc/CMakeLists.txt
+4-42 files

LLVM/project 96f1eacllvm/tools/llvm-profdata llvm-profdata.cpp

format

Created using spr 1.3.7
DeltaFile
+1-3llvm/tools/llvm-profdata/llvm-profdata.cpp
+1-31 files

LLVM/project cb98cebllvm/tools/llvm-profdata llvm-profdata.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+15-0llvm/tools/llvm-profdata/llvm-profdata.cpp
+15-01 files

NetBSD/pkgsrc y265fF7meta-pkgs/xfce4 Makefile

   xfce4: (belatedly) bump for xfce4-thunar 4.20.9
VersionDeltaFile
1.170+3-3meta-pkgs/xfce4/Makefile
+3-31 files

LLVM/project 9e9c593clang/lib/ScalableStaticAnalysis/SourceTransformation/Transformations CppBoundedBuffers.cpp, clang/test/Analysis/Scalable/source-edit-generation end-to-end-cpp-bounded-buffers.cpp

[SSAF][clang-reforge] Add end-to-end clang-reforge tests

- Make CppBoundedBuffers adapt to flattened WPA results;
- Let CppBoundedBuffers use qualified EntityNames so that it can
  associate ASTNodes with WPA results;
- Add end-to-end tests

Final step of:
rdar://185840466
DeltaFile
+623-0clang/test/Analysis/Scalable/source-edit-generation/end-to-end-cpp-bounded-buffers.cpp
+23-9clang/lib/ScalableStaticAnalysis/SourceTransformation/Transformations/CppBoundedBuffers.cpp
+22-4clang/unittests/ScalableStaticAnalysis/SourceTransformation/CppBoundedBuffersTest.cpp
+668-133 files

NetBSD/pkgsrc oFkgrcCwww Makefile

   www/Makefile: add firefox153 & firefox153-l10n
VersionDeltaFile
1.1935+3-1www/Makefile
+3-11 files

FreeBSD/ports 1989e1bwww/py-webdriver_manager Makefile

www/py-webdriver_manager: Add missing dependency
DeltaFile
+2-1www/py-webdriver_manager/Makefile
+2-11 files

NetBSD/pkgsrc sE9zWYPdoc CHANGES-2026

   doc: Added www/firefox153-l10n version 153.1.0
VersionDeltaFile
1.5552+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc ODQEqH9www/firefox153-l10n DESCR list-licenses.mk

   firefox153-l10n: import Firefox-l10n 153.1 as www/firefox153-l10n

   This package contains language packs for www/firefox153.
VersionDeltaFile
1.1+311-0www/firefox153-l10n/distinfo
1.1+104-0www/firefox153-l10n/PLIST
1.1+46-0www/firefox153-l10n/Makefile
1.1+37-0www/firefox153-l10n/list-licenses.mk
1.1+1-0www/firefox153-l10n/DESCR
+499-05 files

FreeBSD/ports ce379eawww/py-webdriver_manager Makefile, www/py-webdriver_manager/files setup-py

www/py-webdriver_manager: Fix build

Reported by:    pkg-fallout
DeltaFile
+11-0www/py-webdriver_manager/files/setup-py
+1-0www/py-webdriver_manager/Makefile
+12-02 files

OpenBSD/ports sBQv1iKaudio/ncspot Makefile crates.inc

   audio/ncspot: update to 1.4.0
VersionDeltaFile
1.42+542-526audio/ncspot/distinfo
1.28+270-262audio/ncspot/crates.inc
1.59+1-1audio/ncspot/Makefile
+813-7893 files

NetBSD/pkgsrc HplwUYEdoc CHANGES-2026

   doc: Added www/firefox153 version 153.1.0
VersionDeltaFile
1.5551+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc jHXIs10www/firefox153 options.mk Makefile, www/firefox153/files replace-moz.build.awk desktop.in

   firefox153: import Firefox 153.1 as www/firefox153

   Mozilla Firefox is a free, open-source and cross-platform web browser
   for Windows, Linux, MacOS X and many other operating systems.

   It is fast and easy to use, and offers many advantages over other web
   browsers, such as tabbed browsing and the ability to block pop-up
   windows.

   Firefox also offers excellent bookmark and history management, and it
   can be extended by developers using industry standards such as XML,
   CSS, JavaScript, C++, etc. Many extensions are available.

   Note: Due to upstream's trademark policies, this package identifies as
   "Nightly" rather than "Firefox" by default.

   This package provides Firefox 153 Extended Support Release.
VersionDeltaFile
1.1+297-0www/firefox153/mozilla-common.mk
1.1+200-0www/firefox153/Makefile
1.1+191-0www/firefox153/files/desktop.in
1.1+112-0www/firefox153/patches/patch-nsprpub_pr_src_pthreads_ptsynch.c
1.1+106-0www/firefox153/files/replace-moz.build.awk
1.1+105-0www/firefox153/options.mk
+1,011-066 files not shown
+2,636-072 files

FreeBSD/ports e92bdc9biology/py-crossmap Makefile distinfo

biology/py-crossmap: Update to 0.7.4

A few fixes and modernizations
Changes: https://github.com/liguowang/CrossMap/releases

Reported by:    portscout
DeltaFile
+3-3biology/py-crossmap/distinfo
+2-2biology/py-crossmap/Makefile
+5-52 files

FreeBSD/ports 3cc2ef3security/py-dirhash Makefile

security/py-dirhash: Fix build

Reported by:    pkg-fallout
DeltaFile
+1-0security/py-dirhash/Makefile
+1-01 files

FreeBSD/ports 4244a64www/py-cachelib Makefile

www/py-cachelib: Fix build

PR:             pkg-fallout
DeltaFile
+1-0www/py-cachelib/Makefile
+1-01 files

LLVM/project 5d88e02llvm/lib/Target/AMDGPU SIInsertHardClauses.cpp, llvm/test/CodeGen/AMDGPU spillv16.ll hard-clauses-gfx1250.mir

[AMDGPU] Do not clause mem ops in different scopes

That is for performance reasons as it it unlikely give any
performance benefit.
DeltaFile
+143-168llvm/test/CodeGen/AMDGPU/hard-clauses-gfx1250.mir
+2-10llvm/test/CodeGen/AMDGPU/GlobalISel/load-uniform-in-vgpr.ll
+2-5llvm/lib/Target/AMDGPU/SIInsertHardClauses.cpp
+1-2llvm/test/CodeGen/AMDGPU/spillv16.ll
+0-2llvm/test/CodeGen/AMDGPU/GlobalISel/load-zero-and-sign-extending-uniform-in-vgpr.ll
+148-1875 files

FreeBSD/ports b105300astro/py-indiweb distinfo Makefile

astro/py-indiweb: Update to 1.1.0

ChangeLog at:   https://github.com/knro/indiwebmanager/releases/tag/v1.1.0
DeltaFile
+7-3astro/py-indiweb/Makefile
+3-3astro/py-indiweb/distinfo
+10-62 files

NetBSD/src Cn6DS1wsys/dev/ic sc16is7xxvar.h sc16is7xx.c


   Stop reusing sc_frequency as the workqueue arg.  In 11.99.3 or so,
   doing that wasn't a problem, but now it appears to be trouble doing
   that.  Just provide a dedicated variable.  The argument doesn't really
   matter to this use case, but it can't be something used for something
   else either.
VersionDeltaFile
1.6+4-3sys/dev/ic/sc16is7xx.c
1.3+2-1sys/dev/ic/sc16is7xxvar.h
+6-42 files

LLVM/project ad5c4a2clang/test/Analysis/Scalable/source-edit-generation write-failure.cpp coexistence.cpp, clang/test/Analysis/Scalable/source-edit-generation/Plugins/TestTransformationPlugin TestTransformation.cpp

[SSAF] Fix stage-2 clang build error on TestTransformationPlugin

The plugin code defines the extern variable
SSAFTestTransformationAnchorSource, which is supposed to be used to
force static linking, so not needed here.

The variable definition should undoubtedly be removed, as doing so
solves the build issue locally. The explanation below regarding why
this variable causes the issue was provided by Claude. I repeatedly
asked Claude questions, and he revised his reasoning several times
until it became consistent. However, we should still take the
following explanation with a grain of salt:

ASan created a private alias symbol for the extern variable
SSAFTestTransformationAnchorSource. The linker, when in
'-flat_namespace' mode, treated the symbol as a name-based bind, which
later failed to be resolved through name searching by the loader.

rdar://185749574

    [2 lines not shown]
DeltaFile
+0-8clang/test/Analysis/Scalable/source-edit-generation/Plugins/TestTransformationPlugin/TestTransformation.cpp
+0-3clang/test/Analysis/Scalable/source-edit-generation/happy-path.cpp
+0-2clang/test/Analysis/Scalable/source-edit-generation/write-failure.cpp
+0-2clang/test/Analysis/Scalable/source-edit-generation/coexistence.cpp
+0-154 files

FreeBSD/ports e66ef70mail/protonmail-bridge Makefile distinfo, mail/protonmail-bridge/files patch-vendor_modules.txt

mail/protonmail-bridge: Update to 3.26.0

Changelog: https://github.com/ProtonMail/proton-bridge/blob/v3.26.0/Changelog.md

Reported by:    portscout
DeltaFile
+5-5mail/protonmail-bridge/distinfo
+3-3mail/protonmail-bridge/Makefile
+2-2mail/protonmail-bridge/files/patch-vendor_modules.txt
+10-103 files

LLVM/project 979b722mlir/include/mlir/Dialect/OpenACC OpenACCOps.td, mlir/include/mlir/Dialect/WasmSSA/IR WasmSSAOps.td

[mlir][IR] Require inherent symbol attributes for Symbol operations (#218920)

Require SymbolTable operations to implement SymbolOpInterface and store
symbol names and visibility as inherent attributes.

Add missing symbol properties/interfaces to GPU, OpenACC, OpenMP, EmitC,
and Toy operations, and update affected tests and the GPU Python
builder.

Assisted-by: Codex
DeltaFile
+32-66mlir/lib/IR/SymbolTable.cpp
+71-15mlir/include/mlir/Dialect/WasmSSA/IR/WasmSSAOps.td
+26-45mlir/include/mlir/IR/SymbolInterfaces.td
+54-13mlir/include/mlir/IR/SymbolTable.h
+40-15mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
+32-18mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
+255-17295 files not shown
+719-481101 files

FreeBSD/ports af852d5net/waypipe Makefile distinfo

net/waypipe: update to 0.11.2

Changes:        https://gitlab.freedesktop.org/mstoeckl/waypipe/-/releases/v0.11.2
Reported by:    GitLab (notify releases)

(cherry picked from commit d4c0f319bf29ad0167c41f31872ec3d3ae9fdf88)
DeltaFile
+3-3net/waypipe/distinfo
+1-1net/waypipe/Makefile
+4-42 files

FreeBSD/ports fdebcb9x11-wm/labwc Makefile distinfo

x11-wm/labwc: update to 0.20.2

Changes:        https://github.com/labwc/labwc/releases/tag/0.20.2
Reported by:    GitHub (watch releases)

(cherry picked from commit ea4fe8aa88ca9514411835007cb50f54a066a934)
DeltaFile
+3-3x11-wm/labwc/distinfo
+2-1x11-wm/labwc/Makefile
+5-42 files

FreeBSD/ports 0f34e7emultimedia/ab-av1 Makefile Makefile.crates

multimedia/ab-av1: update to 0.11.7

Changes:        https://github.com/alexheretic/ab-av1/releases/tag/v0.11.7
Reported by:    GitHub (watch releases)

(cherry picked from commit 578dcc0522b5281feb83b28805c5d7747b1b14f7)
DeltaFile
+9-9multimedia/ab-av1/distinfo
+3-3multimedia/ab-av1/Makefile.crates
+1-1multimedia/ab-av1/Makefile
+13-133 files

LLVM/project 4357422llvm/lib/Transforms/Vectorize VPlanRecipes.cpp, llvm/test/Transforms/LoopVectorize/RISCV partial-reduce-dot-product.ll partial-reduce.ll

[LV] Support EVL for partial reduction and VPExpressionRecipe. (#205741)

This patch adds the support for partial reduction with EVL tail-folding
by not creating a new VPExpressionEVLRecipes but just changing the last
expressionRecipes from VPReductionRecipe to VPReductionEVLRecipe.

Currently, all partial reductions will be converted to
VPExpressionRecipe
when construction. So this patch also supports the VPExpressionRecipe
for EVL.
DeltaFile
+950-0llvm/test/Transforms/LoopVectorize/VPlan/RISCV/reductions-evl.ll
+858-0llvm/test/Transforms/LoopVectorize/RISCV/partial-reduce-with-predicate.ll
+197-0llvm/test/Transforms/LoopVectorize/RISCV/partial-reduce.ll
+52-19llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+68-0llvm/test/Transforms/LoopVectorize/VPlan/RISCV/partial-reduce-dot-product.ll
+20-20llvm/test/Transforms/LoopVectorize/RISCV/partial-reduce-dot-product.ll
+2,145-393 files not shown
+2,197-539 files