LLVM/project a0e9910utils/bazel .bazelrc MODULE.bazel.lock, utils/bazel/llvm-project-overlay/libc BUILD.bazel

[bazel] Add support for targeting wasm with emsdk (#217145)

This allows producing wasm binaries of tools that can then be run in the
browser.
DeltaFile
+817-11utils/bazel/MODULE.bazel.lock
+27-4utils/bazel/llvm-project-overlay/llvm/config.bzl
+13-0utils/bazel/.bazelrc
+7-1utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+4-2utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+2-2utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/config.h
+870-202 files not shown
+872-218 files

HardenedBSD/src ecb0b85share/examples/jails jng, sys/arm/broadcom/bcm2835 bcm2835_audio.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+230-113share/examples/jails/jng
+1-1sys/arm/broadcom/bcm2835/bcm2835_audio.c
+231-1142 files

HardenedBSD/src 400d4cfshare/examples/jails jng, sys/arm/broadcom/bcm2835 bcm2835_audio.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+230-113share/examples/jails/jng
+1-1sys/arm/broadcom/bcm2835/bcm2835_audio.c
+231-1142 files

HardenedBSD/src 2bc8034sys/dev/sound/pci vibes.c csavar.h, sys/dev/sound/pcm buffer.c dsp.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+22-21sys/dev/sound/pci/csapcm.c
+12-10sys/dev/sound/pci/csa.c
+6-6sys/dev/sound/pci/csavar.h
+3-3sys/dev/sound/pcm/dsp.c
+3-2sys/dev/sound/pcm/buffer.c
+3-2sys/dev/sound/pci/vibes.c
+49-4410 files not shown
+69-5416 files

HardenedBSD/ports 103bf5email/thunderbird/files patch-third__party_angle_angle__program__version__id__gn_moz.build patch-libwebrtc-generated, net/freeipa-server pkg-plist

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+3,322-1,421mail/thunderbird/files/patch-libwebrtc-generated
+3,257-0net/freeipa-server/pkg-plist
+897-0mail/thunderbird/files/patch-third__party_angle_angle__program__version__id__gn_moz.build
+525-0net/freeipa-server/files/patch-ipaplatform_freebsd_services.py
+283-0net/freeipa-server/files/README.md
+131-131www/element-web/pkg-plist
+8,415-1,552144 files not shown
+11,110-1,901150 files

LLVM/project 607991borc-rt/lib/executor NativeDylibManager.cpp ExecutorProcessInfo.cpp, orc-rt/lib/executor/Unix NativeDylibAPIs.inc

[orc-rt] Use StringOutputStream in executor error messages (#217167)

Replace std::ostringstream and std::to_string in the executor's
error-message construction with orc_rt::StringOutputStream, dropping
<sstream> (and its iostreams + locale machinery) from the executor,
which runs on-target including on freestanding platforms.

Converted SimpleNativeMemoryMap.cpp, ExecutorProcessInfo.cpp, and
Unix/NativeDylibAPIs.inc; NativeDylibManager.cpp no longer needs to
include <sstream> for the latter. Messages that only feed an error are
built from a StringOutputStream temporary; one all-literal message drops
the stream entirely.

Hex values now carry a "0x" prefix (StringOutputStream::hex always emits
one), where the old std::hex produced bare digits. No test depends on
the exact message text.
DeltaFile
+26-26orc-rt/lib/executor/SimpleNativeMemoryMap.cpp
+7-6orc-rt/lib/executor/Unix/NativeDylibAPIs.inc
+4-3orc-rt/lib/executor/ExecutorProcessInfo.cpp
+0-2orc-rt/lib/executor/NativeDylibManager.cpp
+37-374 files

LLVM/project c3af148flang/lib/Lower OpenACC.cpp, flang/test/Lower/OpenACC acc-present-cuda-device.f90

[flang][Lower] Rewrite present of device variable to deviceptr (#217164)

A cuda device variable is always "present" on the device. Rewrite such
occurrences to deviceptr in the front end while we still have the
information about which variable is a cuda device variable.
DeltaFile
+50-16flang/lib/Lower/OpenACC.cpp
+55-0flang/test/Lower/OpenACC/acc-present-cuda-device.f90
+105-162 files

NetBSD/pkgsrc r6RUgZLbenchmarks/paranoia Makefile

   benchmarks/paranoia: Pass LDFLAGS to build

   to avoid RELRO complaints, apparently catching up with recent
   flag-passing changes.
VersionDeltaFile
1.24+2-2benchmarks/paranoia/Makefile
+2-21 files

LLVM/project 8f7a36fllvm/lib/Target/AMDGPU AMDGPUISelDAGToDAG.cpp, llvm/test/CodeGen/AMDGPU packed-u64.ll pk-lshl-add-u64.ll

[AMDGPU] Re-implement splat scalar handling for packed 64-bit ops (#216896)

In instruction selection, we identify the splat scalar pattern and set opsel to 0.
The legalizer is responsible for moving SGPRs to VGPRs if opsel is not 0.
A future optimization could save SGPR copies for upper lanes since hardware
only reads the first SGPR.

This new implementation fixes the issue when an uniform value has to be
computed by a VALU-only instruction, and thus the result is in a VGPR. This will
lead to the missing data in the upper lane with the previous approach.
DeltaFile
+123-0llvm/test/CodeGen/AMDGPU/packed-fp64-uniform-vgpr-splat-operand.ll
+25-15llvm/test/CodeGen/AMDGPU/packed-fp64.ll
+5-2llvm/test/CodeGen/AMDGPU/pk-lshl-add-u64.ll
+5-1llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
+1-0llvm/test/CodeGen/AMDGPU/packed-u64.ll
+159-185 files

LLVM/project 806dddallvm/cmake/modules AddSphinxTarget.cmake

[docs] Parallelize Sphinx builds by default

Sphinx supports building documents in parallel with -j. Default LLVM_PARALLEL_SPHINX_JOBS to half the logical cores, rounded up, using CMake's native host system information query, and pass it to sphinx-build. If LLVM_PARALLEL_SPHINX_JOBS is explicitly set empty, omit the -j flag.

3-run hyperfine comparison for clean docs-llvm-html builds, removing the html output and doctree cache before each timing run:

  before (no sphinx -j): 97.897 s +/- 1.231 s
  after (-j 8):          52.334 s +/- 15.348 s
  speedup:               1.87x +/- 0.55x

Validation:
- cmake -S llvm -B build-docs-preview-all
- ninja -C build-docs-preview-all docs-llvm-html
- hyperfine --runs 3 comparing docs-llvm-html before/after
- git diff --check
- scanned touched file for internal-only markers
DeltaFile
+13-0llvm/cmake/modules/AddSphinxTarget.cmake
+13-01 files

LLVM/project b1f7419llvm/include/llvm/CodeGen/GlobalISel Legalizer.h, llvm/lib/CodeGen/GlobalISel Legalizer.cpp

[GISel][NewPM] Port Legalizer

Standard NewPM pass porting.

Reviewers: arsenm, vikramRH

Pull Request: https://github.com/llvm/llvm-project/pull/217046
DeltaFile
+71-28llvm/lib/CodeGen/GlobalISel/Legalizer.cpp
+35-17llvm/include/llvm/CodeGen/GlobalISel/Legalizer.h
+3-3llvm/unittests/CodeGen/GlobalISel/LegalizerTest.cpp
+2-2llvm/test/CodeGen/MIR/AArch64/deactivation-symbols.mir
+1-1llvm/lib/Target/X86/X86TargetMachine.cpp
+1-1llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
+113-5212 files not shown
+125-6318 files

LLVM/project 0b519d6llvm/test/CodeGen/AArch64 saturating-vec-smull.ll, llvm/test/Transforms/PGOProfile memprof.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+208-58llvm/test/CodeGen/AArch64/saturating-vec-smull.ll
+206-48llvm/test/Transforms/PGOProfile/memprof.ll
+128-0orc-rt/test/unit/StringExtrasTest.cpp
+0-96llvm/test/Transforms/PGOProfile/Inputs/update_memprof_inputs.sh
+89-0orc-rt/include/orc-rt/StringExtras.h
+0-60llvm/test/Transforms/PGOProfile/Inputs/memprof_pgo.proftext
+631-2627 files not shown
+643-26813 files

HardenedBSD/ports cd4a994net-im/teams Makefile distinfo, net-im/teams/files/packagejsons package.json package-lock.json

net-im/teams: Update to 2.16.0

Changelog:
- https://github.com/IsmaelMartinez/teams-for-linux/releases/tag/v2.15.0
- https://github.com/IsmaelMartinez/teams-for-linux/releases/tag/v2.16.0

Reported by:    portscout
DeltaFile
+89-135net-im/teams/files/packagejsons/package-lock.json
+8-8net-im/teams/files/packagejsons/package.json
+5-5net-im/teams/distinfo
+1-2net-im/teams/Makefile
+103-1504 files

FreeBSD/ports cd4a994net-im/teams Makefile distinfo, net-im/teams/files/packagejsons package.json package-lock.json

net-im/teams: Update to 2.16.0

Changelog:
- https://github.com/IsmaelMartinez/teams-for-linux/releases/tag/v2.15.0
- https://github.com/IsmaelMartinez/teams-for-linux/releases/tag/v2.16.0

Reported by:    portscout
DeltaFile
+89-135net-im/teams/files/packagejsons/package-lock.json
+8-8net-im/teams/files/packagejsons/package.json
+5-5net-im/teams/distinfo
+1-2net-im/teams/Makefile
+103-1504 files

LLVM/project 9444c2dllvm/lib/CodeGen/GlobalISel IRTranslator.cpp

[GISel][NewPM] Note we always modify MIR in IRTranslator

It turns out IRTranslatorImpl::runOnMachineFunction always returns
false, so we would fail to invalidate some analyses (like
GISelCSEAnalysis) that we should have.

Test coverage will be in a future commit that also ports the Legalizer,
which asserts that we correctly preserve/invalidate GISelCSEAnalysis.

Reviewers: vikramRH, arsenm

Pull Request: https://github.com/llvm/llvm-project/pull/217045
DeltaFile
+2-3llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
+2-31 files

LLVM/project c78aef4llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/X86 opaque-ptr.ll

[SLP] Support vectorizing ptrtoaddr (#216902)

Currently, SLP Vectorizer handles ptrtoint but not ptrtoaddr (as
observed in an ASan test:
https://github.com/llvm/llvm-project/pull/216827#issuecomment-5322231318).

ptrtoaddr “is different from ptrtoint in that it only operates on the
index bits of the pointer and ignores all other bits, and does not
capture the provenance of the pointer"
(https://llvm.org/docs/LangRef.html#i-ptrtoaddr), which is immaterial to
its vectorizability.

This patch handles ptrtoaddr in a similar way to ptrtoint.
DeltaFile
+5-6llvm/test/Transforms/SLPVectorizer/X86/opaque-ptr.ll
+6-0llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+11-62 files

FreeBSD/ports 43580c2x11-fonts/font-xfree86-type1 pkg-plist pkg-descr

x11-fonts/font-xfree86-type1: Update to 1.0.5

Update COMMENT, WWW and pkg-descr.
Add LICENSE.
Switch from pkg-plist to PLIST_FILES.

https://lists.x.org/archives/xorg-announce/2023-February/003370.html

PR:             297471
Approved by:    x11 (arrowd)
Approved by:    fluffy (mentor)
DeltaFile
+10-6x11-fonts/font-xfree86-type1/Makefile
+3-2x11-fonts/font-xfree86-type1/distinfo
+2-1x11-fonts/font-xfree86-type1/pkg-descr
+0-1x11-fonts/font-xfree86-type1/pkg-plist
+15-104 files

HardenedBSD/ports 43580c2x11-fonts/font-xfree86-type1 pkg-plist pkg-descr

x11-fonts/font-xfree86-type1: Update to 1.0.5

Update COMMENT, WWW and pkg-descr.
Add LICENSE.
Switch from pkg-plist to PLIST_FILES.

https://lists.x.org/archives/xorg-announce/2023-February/003370.html

PR:             297471
Approved by:    x11 (arrowd)
Approved by:    fluffy (mentor)
DeltaFile
+10-6x11-fonts/font-xfree86-type1/Makefile
+3-2x11-fonts/font-xfree86-type1/distinfo
+2-1x11-fonts/font-xfree86-type1/pkg-descr
+0-1x11-fonts/font-xfree86-type1/pkg-plist
+15-104 files

FreeBSD/ports 4febf86x11-fonts/font-sun-misc pkg-descr distinfo

x11-fonts/font-sun-misc: Update to 1.0.4

Update WWW and pkg-descr.
Add LICENSE.

https://lists.x.org/archives/xorg-announce/2023-February/003368.html

PR:             297514
Approved by:    x11 (arrowd)
Approved by:    fluffy (mentor)
DeltaFile
+5-5x11-fonts/font-sun-misc/Makefile
+3-2x11-fonts/font-sun-misc/distinfo
+2-1x11-fonts/font-sun-misc/pkg-descr
+10-83 files

HardenedBSD/ports 4febf86x11-fonts/font-sun-misc pkg-descr distinfo

x11-fonts/font-sun-misc: Update to 1.0.4

Update WWW and pkg-descr.
Add LICENSE.

https://lists.x.org/archives/xorg-announce/2023-February/003368.html

PR:             297514
Approved by:    x11 (arrowd)
Approved by:    fluffy (mentor)
DeltaFile
+5-5x11-fonts/font-sun-misc/Makefile
+3-2x11-fonts/font-sun-misc/distinfo
+2-1x11-fonts/font-sun-misc/pkg-descr
+10-83 files

FreeBSD/ports 095f906www/element-web Makefile distinfo

www/element-web: Update to 1.12.26

Approved by:    maintainer (implicit, version bump, as per PR 258262)
DeltaFile
+131-131www/element-web/pkg-plist
+3-3www/element-web/distinfo
+2-2www/element-web/Makefile
+136-1363 files

HardenedBSD/ports 095f906www/element-web Makefile distinfo

www/element-web: Update to 1.12.26

Approved by:    maintainer (implicit, version bump, as per PR 258262)
DeltaFile
+131-131www/element-web/pkg-plist
+3-3www/element-web/distinfo
+2-2www/element-web/Makefile
+136-1363 files

LLVM/project c44a17eutils/bazel/llvm-project-overlay/libc BUILD.bazel

[Bazel] Fixes e297b4f (#217114)
DeltaFile
+1-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+1-01 files

OpenBSD/ports h39saQlnews/sabnzbd Makefile distinfo

   Update to sabnzbd @5.1.1

   Changes: https://github.com/sabnzbd/sabnzbd/releases/tag/5.1.1
VersionDeltaFile
1.57+2-2news/sabnzbd/distinfo
1.82+1-1news/sabnzbd/Makefile
+3-32 files

OpenBSD/ports 3xoj4kFsysutils/rustic Makefile crates.inc, sysutils/rustic/pkg PLIST

   Update to rustic-0.11.4

   Changes: https://github.com/rustic-rs/rustic/releases/tag/v0.11.4
VersionDeltaFile
1.28+600-528sysutils/rustic/distinfo
1.23+299-263sysutils/rustic/crates.inc
1.36+1-2sysutils/rustic/Makefile
1.11+1-0sysutils/rustic/pkg/PLIST
+901-7934 files

LLVM/project b4b8421llvm/test/CodeGen/AArch64 saturating-vec-smull.ll

[AArch64][GlobalISel] Add test coverage for saturating mul. NFC (#217154)
DeltaFile
+208-58llvm/test/CodeGen/AArch64/saturating-vec-smull.ll
+208-581 files

OpenBSD/ports f66yaIQnet/tkabber/plugins Makefile

   net/tkabber/plugins: missing bump after maintainer update
VersionDeltaFile
1.6+2-2net/tkabber/plugins/Makefile
+2-21 files

LLVM/project 3e225eellvm/docs/DirectX DXILArchitecture.md DXContainer.md, llvm/docs/GlobalISel GenericOpcode.md

[docs] Finish MyST migration for PDB, DirectX, and GlobalISel docs
DeltaFile
+73-54llvm/docs/DirectX/DXContainer.md
+50-53llvm/docs/PDB/CodeViewTypes.md
+19-19llvm/docs/DirectX/DXILArchitecture.md
+20-15llvm/docs/PDB/PdbStream.md
+7-18llvm/docs/GlobalISel/GenericOpcode.md
+10-11llvm/docs/PDB/DbiStream.md
+179-1707 files not shown
+207-20413 files

LLVM/project 15c5bb0orc-rt/include/orc-rt StringExtras.h, orc-rt/test/unit StringExtrasTest.cpp

[orc-rt] Add StringOutputStream for <sstream>-free messages (#217022)

Add orc_rt::StringOutputStream to StringExtras.h: a minimal, output-only
stream that appends formatted values to a std::string via operator<<,
for building diagnostic/error strings without <sstream>.

<sstream> pulls in the iostreams + locale machinery, which is not in the
freestanding subset and is undesirable in the executor (which runs
on-target, including bare-metal). It is also locale-sensitive and built
around exceptions. StringOutputStream formats integers and pointers with
std::to_chars, so it has no locale dependence, allocates only to grow
the result string, and needs neither <sstream> nor <iostream>.

Integers and pointers are formatted with std::to_chars, so there is no
locale dependence and allocation only to grow the result string.

- Overloads for char, bool, const char*, std::string_view, const void*
(hex), and any built-in integer (decimal via to_chars).
- A free hex() helper prints an integer as "0x"-prefixed lowercase hex

    [7 lines not shown]
DeltaFile
+128-0orc-rt/test/unit/StringExtrasTest.cpp
+89-0orc-rt/include/orc-rt/StringExtras.h
+217-02 files

LLVM/project 3f4c0d8llvm/docs/tutorial BuildingAJIT1.md, llvm/docs/tutorial/MyFirstLanguageFrontend LangImpl10.md LangImpl04.md

[docs] Finish MyST migration for tutorial docs
DeltaFile
+25-26llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl03.md
+11-12llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl07.md
+10-10llvm/docs/tutorial/MyFirstLanguageFrontend/index.md
+9-9llvm/docs/tutorial/BuildingAJIT1.md
+8-9llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl04.md
+6-7llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl10.md
+69-739 files not shown
+106-11015 files