LLVM/project 74c6381utils/bazel/llvm-project-overlay/lld BUILD.bazel

[Bazel] Fixes a037d2a (#218670)

This fixes a037d2ad7312adc58664358893c20927efae22cf (#205390).

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds?commit=a037d2ad7312adc58664358893c20927efae22cf

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+1-0utils/bazel/llvm-project-overlay/lld/BUILD.bazel
+1-01 files

LLVM/project 8710728clang/docs ReleaseNotes.md, clang/include/clang/Basic DiagnosticGroups.td

Revert "Reland "[Clang] Enable -Wunused-template under -Wall" (#208001)" (#218638)

This reverts commit 1529d35adbd6f13aa234a5f4cfd9ac0e28bdd338.

There are two issues:
- The change appear fairly disruptive so close to release (see comments
on #208001)
 - there are false positives (see #218429)
DeltaFile
+0-5clang/docs/ReleaseNotes.md
+0-2clang/test/Misc/warning-wall.c
+1-1clang/test/SemaCXX/warn-variable-not-needed.cpp
+1-1clang/test/SemaCXX/warn-func-not-needed.cpp
+1-1clang/include/clang/Basic/DiagnosticGroups.td
+3-105 files

LLVM/project fc1fdb8llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/AArch64 spillcost-loop-backedge.ll

[SLP]Scale spill cost by the trip count of the loop with the call

Hoisted loop-invariant vector values live over a call were charged the
keep-live cost only once, though the spill/reload executes every
iteration. Scale by the trip count of the loop containing the call.

Fixes https://github.com/llvm/llvm-project/issues/214555#issuecomment-5376445123

Reviewers: bababuck, RKSimon

Pull Request: https://github.com/llvm/llvm-project/pull/218123
DeltaFile
+33-31llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+15-18llvm/test/Transforms/SLPVectorizer/AArch64/spillcost-loop-backedge.ll
+12-10llvm/test/Transforms/SLPVectorizer/RISCV/spillcost-loop-invariant-entry.ll
+60-593 files

LLVM/project a037d2alld/COFF LTO.cpp Config.h, lld/test/COFF lto-opt-remarks.ll

[lld][COFF] Add optimization remarks options to lld-link (#205390)

Add support for emitting optimization remarks during LTO in the COFF
 linker, matching the existing ELF linker functionality. The following
 options are added:

   -opt-remarks-filename
   -opt-remarks-passes
   -opt-remarks-format
   -opt-remarks-with-hotness
   -opt-remarks-hotness-threshold

 These options are forwarded to the LTO backend via lto::Config and
 allow users to capture optimization decisions (e.g., inlining) as
 structured YAML output, optionally filtered by pass name or profile
 hotness threshold.

Assisted by Claude.
DeltaFile
+87-0lld/test/COFF/lto-opt-remarks.ll
+14-0lld/COFF/Driver.cpp
+12-0lld/COFF/Options.td
+6-0lld/COFF/Config.h
+5-0lld/COFF/LTO.cpp
+124-05 files

LLVM/project 69949e8clang/test/CodeGen/LoongArch/lasx builtin.c builtin-alias.c, llvm/docs/DirectX DXContainer.md DXContainer.rst

Rebase

Created using spr 1.3.7
DeltaFile
+733-733clang/test/CodeGen/LoongArch/lasx/builtin.c
+733-733clang/test/CodeGen/LoongArch/lasx/builtin-alias.c
+0-1,275llvm/docs/GlobalISel/GenericOpcode.rst
+1,116-0llvm/docs/GlobalISel/GenericOpcode.md
+0-1,061llvm/docs/DirectX/DXContainer.rst
+1,060-0llvm/docs/DirectX/DXContainer.md
+3,642-3,802488 files not shown
+19,507-13,587494 files

FreeBSD/ports 9b0de17misc/mmv distinfo Makefile, misc/mmv/files LICENSE patch-Makefile.am

misc/mmv: update to version 2.10

This update replaces the unmaintained legacy version by a fork that
is seeing active development.

A number of options have been added, but the commands and options
should be backwards compatible with the original version.
DeltaFile
+0-61misc/mmv/files/patch-mmv.c
+17-30misc/mmv/Makefile
+20-0misc/mmv/files/patch-bootstrap
+11-0misc/mmv/files/patch-Makefile.am
+0-10misc/mmv/files/LICENSE
+3-5misc/mmv/distinfo
+51-1061 files not shown
+52-1067 files

LLVM/project e7444b0llvm/lib/Target/AMDGPU AMDGPUPassRegistry.def AMDGPUTargetMachine.cpp, llvm/test/CodeGen/AMDGPU/GlobalISel regbankcombiner-smed3.mir regbankcombiner-clamp-fmed3-const.mir

[AMDGPU][GIsel][NPM] Port "AMDGPURegBankCombiner" to NPM
DeltaFile
+81-32llvm/lib/Target/AMDGPU/AMDGPURegBankCombiner.cpp
+13-2llvm/lib/Target/AMDGPU/AMDGPU.h
+2-2llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
+1-2llvm/lib/Target/AMDGPU/AMDGPUPassRegistry.def
+2-0llvm/test/CodeGen/AMDGPU/GlobalISel/regbankcombiner-smed3.mir
+2-0llvm/test/CodeGen/AMDGPU/GlobalISel/regbankcombiner-clamp-fmed3-const.mir
+101-381 files not shown
+102-387 files

OPNSense/core 6dd4cdesrc/opnsense/www/js opnsense_ui.js

ui: apply second half of previous for advanced

The local storage doesn't follow this UI flow now, but
the UI flow is rather consistent.  Might be worth disabling
local storage on key strokes, but that's for later.
DeltaFile
+3-2src/opnsense/www/js/opnsense_ui.js
+3-21 files

LLVM/project a106c1cllvm/test/Transforms/SLPVectorizer/X86 partail.ll

[SLP][NFC]Test cleanup, undef removal, NFC



Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/218664
DeltaFile
+37-38llvm/test/Transforms/SLPVectorizer/X86/partail.ll
+37-381 files

HardenedBSD/src 2b386basys/contrib/openzfs/cmd zhack.c, sys/contrib/openzfs/module/os/linux/zfs abd_os.c

Merge remote-tracking branch 'rad/hardened/15-stable/main' into hardened/15-stable/pledge
DeltaFile
+305-0sys/contrib/openzfs/tests/zfs-tests/tests/functional/mmp/mmp_zhack_reclaim.ksh
+178-0sys/contrib/openzfs/cmd/zhack.c
+159-0sys/contrib/openzfs/tests/zfs-tests/tests/functional/mmp/mmp_degraded_import.ksh
+0-150sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/zfs_send_delegation_user/zfs_send_usertest.ksh
+0-148sys/contrib/openzfs/module/os/linux/zfs/abd_os.c
+144-0sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/send_split_large_block.ksh
+786-298171 files not shown
+4,345-1,416177 files

HardenedBSD/src dd73fbasys/contrib/openzfs/cmd zhack.c, sys/contrib/openzfs/module/os/linux/zfs abd_os.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+305-0sys/contrib/openzfs/tests/zfs-tests/tests/functional/mmp/mmp_zhack_reclaim.ksh
+178-0sys/contrib/openzfs/cmd/zhack.c
+159-0sys/contrib/openzfs/tests/zfs-tests/tests/functional/mmp/mmp_degraded_import.ksh
+0-150sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/zfs_send_delegation_user/zfs_send_usertest.ksh
+0-148sys/contrib/openzfs/module/os/linux/zfs/abd_os.c
+144-0sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/send_split_large_block.ksh
+786-298171 files not shown
+4,345-1,416177 files

HardenedBSD/ports c1f0c8bmail/sympa/files patch-issue1984, science/paraview pkg-plist

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+1-1,369shells/fish/pkg-plist
+223-83science/paraview/pkg-plist
+189-79shells/fish/distinfo
+177-0mail/sympa/files/patch-issue1984
+137-0science/paraview/files/patch-VTK_IO_OCCT_vtkOCCTReader.cxx
+94-39shells/fish/Makefile.crates
+821-1,570113 files not shown
+1,571-2,046119 files

NetBSD/src cA6moXeexternal/cddl/osnet/lib/libdtrace Makefile

   Stop installing psinfo.d dtrace script.

   It uses `u_int` and `struct proc`, but no definitions are available.

   This causes problems when dtrace is used for pkgsrc, see e.g.
   wip/modular-xorg-server.
VersionDeltaFile
1.36+2-2external/cddl/osnet/lib/libdtrace/Makefile
+2-21 files

FreeBSD/ports f4ba3d6shells/fish Makefile Makefile.crates

shells/fish: 4.8.1

Note that the vastly reduced number of installed scripts does not reflect
a regression in functionality, but rather that those scripts are now
compiled into the binary.

https://github.com/fish-shell/fish-shell/releases
DeltaFile
+1-1,369shells/fish/pkg-plist
+189-79shells/fish/distinfo
+94-39shells/fish/Makefile.crates
+1-2shells/fish/Makefile
+285-1,4894 files

HardenedBSD/ports f4ba3d6shells/fish Makefile Makefile.crates

shells/fish: 4.8.1

Note that the vastly reduced number of installed scripts does not reflect
a regression in functionality, but rather that those scripts are now
compiled into the binary.

https://github.com/fish-shell/fish-shell/releases
DeltaFile
+1-1,369shells/fish/pkg-plist
+189-79shells/fish/distinfo
+94-39shells/fish/Makefile.crates
+1-2shells/fish/Makefile
+285-1,4894 files

HardenedBSD/src dde735fsys/dev/sound/usb uaudio.c, sys/dev/usb usbdevs

snd_uaudio: Define USB IDs in usbdevs

No functional change intended.

Sponsored by:   The FreeBSD Foundation
MFC after:      2 weeks

(cherry picked from commit 3e67b90c55b44579c2f73c2fbdeac54087c7495f)
DeltaFile
+67-67sys/dev/sound/usb/uaudio.c
+53-0sys/dev/usb/usbdevs
+120-672 files

FreeBSD/src dde735fsys/dev/sound/usb uaudio.c, sys/dev/usb usbdevs

snd_uaudio: Define USB IDs in usbdevs

No functional change intended.

Sponsored by:   The FreeBSD Foundation
MFC after:      2 weeks

(cherry picked from commit 3e67b90c55b44579c2f73c2fbdeac54087c7495f)
DeltaFile
+67-67sys/dev/sound/usb/uaudio.c
+53-0sys/dev/usb/usbdevs
+120-672 files

FreeBSD/src ba00f71sys/dev/sound/pci csapcm.c emu10kx.h, sys/dev/sound/pcm sound.h

sound: Retire sndcard_func

sndcard_func is used as an ivar which passes around device info to the
PCM and MIDI children in snd_csa(4) and snd_emu10kx(4). Simplify this
and retire the need for sndcard_func, by 1) making an ivar only what
used to be stored in sndcard_func->varinfo, 2) replacing
sndcard_func->func with a child comparison, where needed, for instance
in csa_detach().

sndcard_func is harmless in reality, but there is no reason to have the
additional complexity. This way we also avoid the structure allocations.

Sponsored by:   The FreeBSD Foundation
MFC after:      2 weeks

(cherry picked from commit a753ca9c3f0644611e7dfb453af61896fed6c897)
DeltaFile
+18-48sys/dev/sound/pci/csa.c
+15-47sys/dev/sound/pci/emu10kx.c
+0-15sys/dev/sound/pcm/sound.h
+2-8sys/dev/sound/pci/emu10kx-midi.c
+4-5sys/dev/sound/pci/emu10kx.h
+2-6sys/dev/sound/pci/csapcm.c
+41-1292 files not shown
+43-1398 files

HardenedBSD/src ba00f71sys/dev/sound/pci csapcm.c emu10kx.h, sys/dev/sound/pcm sound.h

sound: Retire sndcard_func

sndcard_func is used as an ivar which passes around device info to the
PCM and MIDI children in snd_csa(4) and snd_emu10kx(4). Simplify this
and retire the need for sndcard_func, by 1) making an ivar only what
used to be stored in sndcard_func->varinfo, 2) replacing
sndcard_func->func with a child comparison, where needed, for instance
in csa_detach().

sndcard_func is harmless in reality, but there is no reason to have the
additional complexity. This way we also avoid the structure allocations.

Sponsored by:   The FreeBSD Foundation
MFC after:      2 weeks

(cherry picked from commit a753ca9c3f0644611e7dfb453af61896fed6c897)
DeltaFile
+18-48sys/dev/sound/pci/csa.c
+15-47sys/dev/sound/pci/emu10kx.c
+0-15sys/dev/sound/pcm/sound.h
+2-8sys/dev/sound/pci/emu10kx-midi.c
+4-5sys/dev/sound/pci/emu10kx.h
+2-6sys/dev/sound/pci/csapcm.c
+41-1292 files not shown
+43-1398 files

FreeBSD/ports b8e8861x11/waveterm Makefile

x11/waveterm: Bump port revision after electron41 update (3fd15afb82b1)
DeltaFile
+1-1x11/waveterm/Makefile
+1-11 files

HardenedBSD/ports b8e8861x11/waveterm Makefile

x11/waveterm: Bump port revision after electron41 update (3fd15afb82b1)
DeltaFile
+1-1x11/waveterm/Makefile
+1-11 files

HardenedBSD/ports 3fd15afdevel/electron41 distinfo, devel/electron41/files patch-content_browser_BUILD.gn patch-electron_shell_browser_native__window__views.h

devel/electron41: Update to 41.10.7

Changelog: https://github.com/electron/electron/releases/tag/v41.10.7

Reported by:    GitHub (watch releases)
DeltaFile
+21-21devel/electron41/files/patch-electron_shell_browser_native__window__views.cc
+20-20devel/electron41/files/patch-electron_spec_api-browser-window-spec.ts
+7-7devel/electron41/distinfo
+11-0devel/electron41/files/patch-electron_spec_lib_spec-helpers.ts
+5-5devel/electron41/files/patch-electron_shell_browser_native__window__views.h
+3-3devel/electron41/files/patch-content_browser_BUILD.gn
+67-565 files not shown
+76-6511 files

FreeBSD/ports 3fd15afdevel/electron41 distinfo, devel/electron41/files patch-content_browser_BUILD.gn patch-electron_shell_browser_native__window__views.h

devel/electron41: Update to 41.10.7

Changelog: https://github.com/electron/electron/releases/tag/v41.10.7

Reported by:    GitHub (watch releases)
DeltaFile
+21-21devel/electron41/files/patch-electron_shell_browser_native__window__views.cc
+20-20devel/electron41/files/patch-electron_spec_api-browser-window-spec.ts
+7-7devel/electron41/distinfo
+11-0devel/electron41/files/patch-electron_spec_lib_spec-helpers.ts
+5-5devel/electron41/files/patch-electron_shell_browser_native__window__views.h
+3-3devel/electron41/files/patch-content_browser_BUILD.gn
+67-565 files not shown
+76-6511 files

OPNSense/core 4b4f0e2src/opnsense/www/js opnsense_ui.js

ui: scope 'all help' toggle to closest relevant form
DeltaFile
+3-2src/opnsense/www/js/opnsense_ui.js
+3-21 files

LLVM/project a976856clang/lib/CodeGen CGObjCGNU.cpp, clang/test/CodeGenObjC gnustep2-wasm32-nil.m

[Objective-C][WebAssembly] Always emit nil-check for indirect calls (#215920)

We cannot use the nil-IMP stubs in libobjc2 because WebAssembly requires
exact function signature matches for indirect calls. On native platforms
such as x86 and arm this is fine, since the native calling conventions
typically allow for additional arguments to be passed without issue. For
WebAssembly, we may run into RuntimeErrors without this change.
DeltaFile
+43-0clang/test/CodeGenObjC/gnustep2-wasm32-nil.m
+9-0clang/lib/CodeGen/CGObjCGNU.cpp
+52-02 files

LLVM/project 5624422llvm/lib/Target/AMDGPU AMDGPUPassRegistry.def AMDGPUTargetMachine.cpp, llvm/test/CodeGen/AMDGPU/GlobalISel regbankselect-add.mir regbankselect-load.mir

[AMDGPU][GIsel][NPM] Port "AMDGPURegBankLegalize" to NPM
DeltaFile
+50-17llvm/lib/Target/AMDGPU/AMDGPURegBankLegalize.cpp
+21-3llvm/lib/Target/AMDGPU/AMDGPU.h
+2-2llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
+3-0llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-load.mir
+1-1llvm/lib/Target/AMDGPU/AMDGPUPassRegistry.def
+1-0llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-add.mir
+78-231 files not shown
+79-237 files

LLVM/project 7eaec2allvm/lib/Target/AMDGPU AMDGPUPassRegistry.def AMDGPURegBankSelect.cpp

comments
DeltaFile
+23-21llvm/lib/Target/AMDGPU/AMDGPURegBankSelect.cpp
+1-1llvm/lib/Target/AMDGPU/AMDGPUPassRegistry.def
+24-222 files

LLVM/project 6b9e089llvm/include/llvm/Analysis ScalarEvolution.h, llvm/lib/Analysis ScalarEvolution.cpp

[SCEV] Reuse getWithOperands in computeAndSetCanonical (NFC) (#218497)

Replace duplicated logic to create canonical SCEVs using
getWithOperands.

PR: https://github.com/llvm/llvm-project/pull/218497
DeltaFile
+2-46llvm/lib/Analysis/ScalarEvolution.cpp
+2-0llvm/include/llvm/Analysis/ScalarEvolution.h
+4-462 files

LLVM/project 229e463llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

[SLP][NFC]Fix a long standing compilation warning for different comparison signs, NFC



Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/218660
DeltaFile
+4-2llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+4-21 files

OPNSense/core 1c6acf1src/opnsense/mvc/app/controllers/OPNsense/Base ApiMutableModelControllerBase.php

mvc: audit username with IP if possible

This matches the code in config.inc and the datapoint
can be useful.
DeltaFile
+5-4src/opnsense/mvc/app/controllers/OPNsense/Base/ApiMutableModelControllerBase.php
+5-41 files