LLVM/project da9c024llvm/lib/Support FoldingSet.cpp

[Support] Remove duplicate comments in FoldingSet.cpp (NFC) (#216833)

This patch removes duplicate comments in FoldingSet.cpp.
Corresponding declarations are already documented in FoldingSet.h.

Note that LLVM Coding Standards state:

  Don't duplicate the documentation comment in the header file and in
  the implementation file. Put the documentation comments for public
  APIs into the header file.
DeltaFile
+0-27llvm/lib/Support/FoldingSet.cpp
+0-271 files

LLVM/project 703f0aellvm/include/llvm/ADT FoldingSet.h

[ADT] Remove CRTP from FoldingSet and ContextualFoldingSet (NFC) (#216830)

This patch simplifies FoldingSet by removing CRTP from FoldingSet and
ContextualFoldingSet.

Without this patch, FoldingSetImpl uses CRTP to get FoldingSetInfo, a
custom "vtable", from FoldingSet and ContextualFoldingSet.

With this patch, we put ContextStorage as the base class of
FoldingSetImpl.  FoldingSetImpl directly takes FoldingSetTrait as a
template parameter.  This allows us to:

- populate FoldingSetInfo for both FoldingSet and
  ContextualFoldingSet as a static constexpr variable.

- rely on the empty base optimization (EBO) on ContextStorage so that
  FoldingSet incurs no memory overhead.

- turn FoldingSet and ContextualFoldingSet into simple type aliases of

    [2 lines not shown]
DeltaFile
+59-104llvm/include/llvm/ADT/FoldingSet.h
+59-1041 files

LLVM/project 7299aafclang/docs UsersManual.md

Fix text color in dark mode
DeltaFile
+1-1clang/docs/UsersManual.md
+1-11 files

LLVM/project 2aa7480clang/docs conf.py, clang/docs/_static custom.css

[docs] Restore project-specific Furo CSS
DeltaFile
+0-140utils/docs/llvm_sphinx/_static/furo-common.css
+71-0llvm/docs/_static/custom.css
+60-0clang/docs/_static/custom.css
+8-0utils/docs/llvm_sphinx/__init__.py
+2-1llvm/docs/conf.py
+3-0clang/docs/conf.py
+144-1414 files not shown
+147-14210 files

LLVM/project 9089be3flang/include/flang/Optimizer/CodeGen CodeGen.h CGPasses.td, flang/lib/Optimizer/CodeGen CodeGen.cpp

[flang][cuda] Add support for custom descriptor allocator in codegen (#216881)

Simlar to https://github.com/llvm/llvm-project/pull/216841 but for
CodeGen pass usage.
DeltaFile
+49-29flang/lib/Optimizer/CodeGen/CodeGen.cpp
+6-1flang/include/flang/Optimizer/CodeGen/CGPasses.td
+6-0flang/include/flang/Optimizer/CodeGen/CodeGen.h
+5-0flang/test/Fir/CUDA/cuda-code-gen.mlir
+66-304 files

FreeBSD/ports cedafb9graphics/opencv Makefile

graphics/opencv: fix WWW

`www` subdomain results in error

(cherry picked from commit 8247829dff7e3fa3f941eb33bb977954388c5930)
DeltaFile
+2-2graphics/opencv/Makefile
+2-21 files

LLVM/project b84b33dflang/include/flang/Optimizer/Transforms Passes.td, flang/include/flang/Optimizer/Transforms/CUDA CUFAllocationConversion.h

[flang][cuda] Add option to emit different function name for alloc/free of descriptors (#216841)

This allow to call specialized functions instead of the upstream ones.
DeltaFile
+52-10flang/lib/Optimizer/Transforms/CUDA/CUFAllocationConversion.cpp
+12-0flang/include/flang/Optimizer/Transforms/Passes.td
+7-1flang/include/flang/Optimizer/Transforms/CUDA/CUFAllocationConversion.h
+7-0flang/test/Fir/CUDA/cuda-allocate.fir
+78-114 files

FreeBSD/ports 5f4b643graphics/opencv Makefile, graphics/opencv/files patch-modules_videoio_src_cap__v4l.cpp

graphics/opencv: use multimedia/v4l_compat on non-CURRENT

Since video(4) et al landed in -CURRENT, the multimedia/v4l_compat
headers conflict with <sys/videoio.h> when both are present. Support
for <sys/videoio.h> is already included for NetBSD so ensure that
this path is taken during configure on -CURRENT. Also ensure that
the Linux-style unsigned int shorthand is defined for us in addition
to OpenBSD.

PR: 297454
DeltaFile
+13-2graphics/opencv/files/patch-modules_videoio_src_cap__v4l.cpp
+4-1graphics/opencv/Makefile
+17-32 files

NetBSD/pkgsrc-wip 74bfd6cp5-Selenium-Remote-Driver Makefile

(www/p5-Selenium-Remote-Driver) correction to +DEPENDS+= p5-File-Which
DeltaFile
+1-1p5-Selenium-Remote-Driver/Makefile
+1-11 files

LLVM/project 7a12952llvm/include/llvm/Analysis BlockFrequencyInfoImpl.h, llvm/lib/Analysis BlockFrequencyInfoImpl.cpp

[BFI] Solve irreducible SCCs instead of splitting their headers (#215170)

c5a3139ebd0d (2014) approximates irreducible control flow by modelling
an SCC as a loop with multiple headers, and
http://reviews.llvm.org/D10348 re-distributes the loop mass across those
headers in proportion to the backedge mass each one received -- one step
of a power iteration, from an assumed split.

Package the SCC with a single representative and solve it instead.
`solveIrreducibleMass` iterates the SCC's internal chain towards its
dominant eigenvector and reads the member masses, the exits and the
circulating mass off that, so the entries' relative frequencies come out
of the solve.  Power iteration rather than a relaxation of `f = e +
f*P`: the mass `e` entering the SCC is unknown here, so there is no
fixed point to relax towards, only a direction.  NumHeaders, the
per-header BackedgeMass, getHeaderIndex, the isHeader binary search and
adjustLoopHeaderMass go away with the split.

Relative error against an exact rational solve has improved.

    [29 lines not shown]
DeltaFile
+148-164llvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h
+25-89llvm/lib/Analysis/BlockFrequencyInfoImpl.cpp
+19-19llvm/test/CodeGen/AArch64/late-taildup-computed-goto.ll
+22-14llvm/test/CodeGen/X86/pr38795.ll
+26-1llvm/test/Analysis/BlockFrequencyInfo/irreducible_pgo.ll
+13-13llvm/test/Analysis/BlockFrequencyInfo/irreducible.ll
+253-3005 files not shown
+275-32011 files

FreeBSD/ports c13d4ffsysutils/leaf Makefile.crates Makefile

sysutils/leaf: Update to 1.28.0

Changelog: https://github.com/RivoLink/leaf/blob/1.28.0/CHANGELOG.md

Reported by:    GitHub (watch releases)
DeltaFile
+5-3sysutils/leaf/distinfo
+1-1sysutils/leaf/Makefile
+1-0sysutils/leaf/Makefile.crates
+7-43 files

FreeBSD/src 86aea5bcontrib/less search.c command.c

MFV: less v704.

(cherry picked from commit fa0dc4f0f96a1b77d4be7bcdbf965897cda14521)
DeltaFile
+245-91contrib/less/decode.c
+213-114contrib/less/less.nro
+147-59contrib/less/regexp.c
+173-29contrib/less/optfunc.c
+132-54contrib/less/command.c
+83-55contrib/less/search.c
+993-40238 files not shown
+1,844-76344 files

FreeBSD/src 6330c2fcontrib/less option.c cmdbuf.c

MFV less v691

Relnotes:       yes

(cherry picked from commit dafba19e42e78cd3d7c9264ece49ddd3d7d70da5)

MFV: less v692.

(cherry picked from commit e2abec625bf07c054f7ac2df2402d6c454113df8)
DeltaFile
+1,017-476contrib/less/less.nro
+374-153contrib/less/screen.c
+245-144contrib/less/lesskey.nro
+107-51contrib/less/mark.c
+70-68contrib/less/option.c
+81-57contrib/less/cmdbuf.c
+1,894-94958 files not shown
+2,855-1,45464 files

FreeBSD/src c620652contrib/less search.c command.c

MFV: less v704.

(cherry picked from commit fa0dc4f0f96a1b77d4be7bcdbf965897cda14521)
DeltaFile
+245-91contrib/less/decode.c
+213-114contrib/less/less.nro
+147-59contrib/less/regexp.c
+173-29contrib/less/optfunc.c
+132-54contrib/less/command.c
+83-55contrib/less/search.c
+993-40238 files not shown
+1,844-76344 files

LLVM/project 763aec0lldb/source/Host/common NativeProcessProtocol.cpp, lldb/source/Plugins/Process/elf-core ProcessElfCore.cpp

[lldb] Adopt ProcessAddress in the read memory APIs (NFC) (#214088)

Relevant RFC:
https://discourse.llvm.org/t/rfc-address-spaces-support-in-lldb/91222/

Previous PR  #206370  adding the AddressSpace definitions. 


- switches the read memory virtuals from lldb::addr_t to const
ProcessAddress & and updates every override. No behavior change
expected.
 

**Test Plan**
- Depending on the buildbots for all other platforms.
DeltaFile
+10-7lldb/unittests/Target/MemoryTest.cpp
+6-4lldb/source/Target/ProcessTrace.cpp
+6-4lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
+6-4lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp
+6-4lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp
+6-4lldb/source/Host/common/NativeProcessProtocol.cpp
+40-2742 files not shown
+143-10748 files

LLVM/project 23b24afllvm/lib/Target/WebAssembly WebAssemblyInstrSIMD.td, llvm/test/CodeGen/WebAssembly f16-intrinsics.ll

[WebAssembly] Add v8f16 select instruction patterns (#213280)

I see the following 

```
 anutosh491 at Anutoshs-MacBook-Air llvm-project % cat /private/tmp/wasm-f16-select.ll
define <8 x half> @select_v8f16(i1 %cond, <8 x half> %a, <8 x half> %b) {
  %result = select i1 %cond, <8 x half> %a, <8 x half> %b
  ret <8 x half> %result
}
```
```

 anutosh491 at Anutoshs-MacBook-Air llvm-project % build-assert/bin/llc \             
  -mtriple=wasm32-unknown-unknown \
  -mattr=+simd128,+fp16 \
  -o /dev/null \
  /private/tmp/wasm-f16-select.ll
LLVM ERROR: Cannot select: t8: v8f16 = select t12, t4, t6

    [33 lines not shown]
DeltaFile
+33-0llvm/test/CodeGen/WebAssembly/f16-intrinsics.ll
+2-2llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
+35-22 files

FreeBSD/ports edb954fmisc/py-litellm-proxy-extras Makefile distinfo

misc/py-litellm-proxy-extras: Update to 0.4.86

Reported by:    portscout
DeltaFile
+3-3misc/py-litellm-proxy-extras/distinfo
+1-1misc/py-litellm-proxy-extras/Makefile
+4-42 files

FreeBSD/ports 9798955misc/py-litellm distinfo Makefile, misc/py-litellm/files patch-pyproject.toml

misc/py-litellm: Update to 1.97.0

While here, add USE_PYTHON=pytest.

Changelog: https://github.com/BerriAI/litellm/releases/tag/v1.97.0

Reported by:    portscout
DeltaFile
+5-4misc/py-litellm/Makefile
+3-3misc/py-litellm/distinfo
+2-2misc/py-litellm/files/patch-pyproject.toml
+10-93 files

FreeBSD/ports 8247829graphics/opencv Makefile

graphics/opencv: fix WWW

`www` subdomain results in error
DeltaFile
+2-2graphics/opencv/Makefile
+2-21 files

OpenBSD/src DZYuUgwusr.bin/vi/vi v_txt.c

   Ensure numbering is repainted after completion redraw.

   Fixes screen corruption when using completion if line numbering is
   enabled.  Otherwise, the completion area is redrawn without line
   numbers.  From Jeffrey Johnson
VersionDeltaFile
1.38+8-1usr.bin/vi/vi/v_txt.c
+8-11 files

LLVM/project 0207706orc-rt/include/orc-rt NativeDylibManager.h

[orc-rt] Add missing `#include <optional>` (#216894)
DeltaFile
+2-0orc-rt/include/orc-rt/NativeDylibManager.h
+2-01 files

LLVM/project 93030c3llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/test/CodeGen/X86 abdu.ll

[SDAG] Fix invalid sign bit condition for abs(sub) -> abdu fold (#215548)

The fold here for (abs (sub x y)) -> (abdu x y) was proven in Alive,
assuming that both operands had a sign bit of zero. However, the code
was checking if x had a sign bit of zero and y had a sign bit of 1

Fixes https://github.com/llvm/llvm-project/issues/214942

Original Alive proof from
https://github.com/llvm/llvm-project/pull/186659 :
https://alive2.llvm.org/ce/z/HfPF5q
A variant that's explicitly (abs (sub x y)):
https://alive2.llvm.org/ce/z/QEgDaa
And changing the range to 32770 or higher there will break the
transformation
DeltaFile
+30-0llvm/test/CodeGen/X86/abdu.ll
+2-2llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+32-22 files

LLVM/project 7b2a985lldb/source/Expression DWARFExpression.cpp, lldb/unittests/Expression DWARFExpressionTest.cpp

[lldb] Keep DW_OP_fbreg results address-sized (#216641)

DW_OP_fbreg adds its signed displacement as an int64_t, which can widen
a 32-bit frame-base Scalar to 64 bits. Canonicalize the pushed result
using the evaluator's existing generic conversion so subsequent
arithmetic uses the target address width.

Add an i386 regression test that checks 32-bit wrapping and the
resulting APSInt width.

Fixes #211007
DeltaFile
+36-0lldb/unittests/Expression/DWARFExpressionTest.cpp
+2-0lldb/source/Expression/DWARFExpression.cpp
+38-02 files

NetBSD/pkgsrc-wip 1740493p5-Selenium-Remote-Driver Makefile

(www/p5-Selenium-Remote-Driver) +DEPENDS+=  p5-p5-File-Which
DeltaFile
+1-0p5-Selenium-Remote-Driver/Makefile
+1-01 files

LLVM/project fc04134llvm/lib/Target/NVPTX CMakeLists.txt, llvm/utils/gn/secondary/llvm/lib/Target/NVPTX BUILD.gn

[NVPTX] Fix link error when building LLVM with dylib
DeltaFile
+2-0llvm/utils/gn/secondary/llvm/lib/Target/NVPTX/BUILD.gn
+2-0llvm/lib/Target/NVPTX/CMakeLists.txt
+4-02 files

LLVM/project 2e5c3f6llvm/test/Transforms/PGOProfile memprof.ll

don't test on windows
DeltaFile
+2-0llvm/test/Transforms/PGOProfile/memprof.ll
+2-01 files

FreeBSD/src 7ee086bsys/dev/e1000 e1000_defines.h e1000_ich8lan.c

e1000: Disable autonomous PCH power gating after reset

Panther Point changed the reset value of CTRL_EXT.DPG_EN to enable
autonomous power gating. Clear it after hardware reset on Panther Point
and Nova Point controllers to prevent unexpected Tx/Rx hangs, packet
loss, or corruption.

(cherry picked from commit 0979b0430c2d728e595841ecba30b63972794fe9)
DeltaFile
+8-0sys/dev/e1000/e1000_ich8lan.c
+1-0sys/dev/e1000/e1000_defines.h
+9-02 files

FreeBSD/src dd51b85sys/dev/ice ice_drv_info.h

ice(4): Add support for E835 CNSA 2.0 adapters

Added support for E835 adapters with post-quantum cryptographic (PQC)
algorithms in firmware/software signage and in SPDM attestation.

Signed-off-by: Pawel Sobczyk <pawel.sobczyk at intel.com>

Reviewed by:    Miłosz Linkiewicz <milosz.linkiewicz at intel.com>
Differential Revision:  https://reviews.freebsd.org/D57868

(cherry picked from commit 8194c32827e9c3867d4b295edca9842b71608526)
DeltaFile
+30-0sys/dev/ice/ice_drv_info.h
+30-01 files

FreeBSD/src 6000eb7sys/dev/e1000 e1000_defines.h e1000_ich8lan.c

e1000: Disable autonomous PCH power gating after reset

Panther Point changed the reset value of CTRL_EXT.DPG_EN to enable
autonomous power gating. Clear it after hardware reset on Panther Point
and Nova Point controllers to prevent unexpected Tx/Rx hangs, packet
loss, or corruption.

(cherry picked from commit 0979b0430c2d728e595841ecba30b63972794fe9)
DeltaFile
+8-0sys/dev/e1000/e1000_ich8lan.c
+1-0sys/dev/e1000/e1000_defines.h
+9-02 files

FreeBSD/src 508a232sys/dev/ice ice_drv_info.h

ice(4): Add support for E835 CNSA 2.0 adapters

Added support for E835 adapters with post-quantum cryptographic (PQC)
algorithms in firmware/software signage and in SPDM attestation.

Signed-off-by: Pawel Sobczyk <pawel.sobczyk at intel.com>

Reviewed by:    Miłosz Linkiewicz <milosz.linkiewicz at intel.com>
Differential Revision:  https://reviews.freebsd.org/D57868

(cherry picked from commit 8194c32827e9c3867d4b295edca9842b71608526)
DeltaFile
+30-0sys/dev/ice/ice_drv_info.h
+30-01 files