HardenedBSD/src f30bf5dlib/libkldelf ef_mips.c Makefile, share/man/man4 iflib.4

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+0-116lib/libkldelf/ef_mips.c
+0-48sys/cddl/contrib/opensolaris/uts/mips/sys/fasttrap_isa.h
+0-30sys/cddl/contrib/opensolaris/uts/mips/dtrace/fasttrap_isa.c
+10-0share/man/man4/iflib.4
+1-1sys/dev/bnxt/bnxt_en/if_bnxt.c
+0-1lib/libkldelf/Makefile
+11-1961 files not shown
+11-1977 files

LLVM/project 2001da6llvm/lib/Target/AArch64 AArch64RegisterInfo.cpp, llvm/test/CodeGen/AArch64 arm64-addrmode.ll subreg_to_reg_coalescing_issue.mir

[AArch64] Disable coalescing of SUBREG_TO_REG with subreg liveness. (#174185)

Handling of SUBREG_TO_REG is currently broken, see #168353 for details.
DeltaFile
+90-40llvm/test/CodeGen/AArch64/arm64-addrmode.ll
+34-0llvm/test/CodeGen/AArch64/subreg_to_reg_coalescing_issue.mir
+10-5llvm/test/CodeGen/AArch64/preserve_nonecc_varargs_darwin.ll
+7-1llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
+1-0llvm/test/CodeGen/AArch64/register-coalesce-update-subranges-remat.mir
+142-465 files

FreeBSD/ports c766a64x11/quickshell Makefile pkg-plist, x11/quickshell/files patch-src_core_logging.cpp extra-patch-src_wayland_buffer_dmabuf.cpp

x11/quickshell: Add port: Building blocks for your desktop

Quickshell is a toolkit for building status bars, widgets,
lockscreens, and other desktop components using QtQuick. It can be
used alongside your wayland compositor or window manager to build a
complete desktop environment.

WWW: https://quickshell.org/
DeltaFile
+77-0x11/quickshell/files/patch-src_core_logging.cpp
+71-0x11/quickshell/Makefile
+62-0x11/quickshell/pkg-plist
+26-0x11/quickshell/files/extra-patch-src_wayland_buffer_dmabuf.cpp
+24-0x11/quickshell/files/patch-src_services_pam_subprocess.cpp
+20-0x11/quickshell/files/patch-src_core_paths.cpp
+280-06 files not shown
+321-012 files

LLVM/project 576127fllvm/include/llvm/ExecutionEngine/JITLink loongarch.h, llvm/lib/ExecutionEngine/JITLink ELF_loongarch.cpp loongarch.cpp

Rename PCAdd{20,12} to PCAdd{Hi20,Lo12}
DeltaFile
+10-10llvm/lib/ExecutionEngine/JITLink/ELF_loongarch.cpp
+8-8llvm/include/llvm/ExecutionEngine/JITLink/loongarch.h
+3-3llvm/lib/ExecutionEngine/JITLink/loongarch.cpp
+21-213 files

LLVM/project af98aadlld/MachO ObjC.cpp InputFiles.cpp

[LLD][MachO][NFC] Rename Reloc to Relocation (#175586)

Due to heavy use of using namespace llvm, Reloc is often ambiguous with
llvm::Reloc, the relocation model. Previously, this was sometimes
disambiguated with macho::Reloc. This ambiguity is even more problematic
when using pre-compiled headers, where it's no longer "obvious" whether
it should be Reloc or macho::Reloc.

Therefore, rename Reloc to Relocation. This is also consistent with
lld/ELF, where the type is also named Relocation.
DeltaFile
+19-18lld/MachO/ObjC.cpp
+10-9lld/MachO/InputFiles.cpp
+7-7lld/MachO/InputSection.cpp
+7-6lld/MachO/Relocations.h
+6-5lld/MachO/ConcatOutputSection.cpp
+6-5lld/MachO/Relocations.cpp
+55-5014 files not shown
+97-9120 files

LLVM/project ef2ec1fllvm/include/llvm/Transforms/Utils SampleProfileLoaderBaseImpl.h

[CSSPGO][NFC] Remove unused code in finalizeWeightPropagation() (#175521)

Remove unused code since the usage of `EntryWeight` was dropped in
[D134756](https://reviews.llvm.org/D134756).
DeltaFile
+0-1llvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h
+0-11 files

LLVM/project dc257a4clang-tools-extra/clang-doc/assets class-template.mustache comment-template.mustache, clang-tools-extra/test/clang-doc/json class.cpp class-template.cpp

[clang-doc] Fix misnamed, mismatched, or incorrect tags (#175112)

This is mostly a chore patch that fixes misnamed, mismatched,
or non-existant tags. That includes renaming the function tags in the
class template to `Has*Methods` instead of `Has*Functions`. The "method"
style was already preferred in the template HTML.

Some extraneous tags were removed from the enum template. All templates
should use
`Description` for rendering comments, but it was still using an old tag
name. Also, the JSON generator currently doesn't serialize individual
enum value comments, so that tag was removed. Same for public members.

`Description` is removed for friends due to the way Mustache handles
missing
tags. If `Description` isn't present, it will use the parent's
description which is undesirable.
DeltaFile
+21-29clang-tools-extra/clang-doc/assets/class-template.mustache
+17-23clang-tools-extra/test/clang-doc/json/class.cpp
+11-11clang-tools-extra/unittests/clang-doc/JSONGeneratorTest.cpp
+1-13clang-tools-extra/clang-doc/assets/comment-template.mustache
+3-9clang-tools-extra/clang-doc/assets/enum-template.mustache
+8-3clang-tools-extra/test/clang-doc/json/class-template.cpp
+61-8811 files not shown
+99-12117 files

LLVM/project 124cb2ellvm/lib/Target/RISCV RISCVInstrInfoP.td

[RISCV] Merge the 'f' and 'r' field argument of the RVPPairBase class. (#175694)

I don't think the spec ever calls this field 'r' for any of the
instructions that use this class. The bit is either a constant 0/1 or
part of 'f'. Make it a 4-bit 'f' and make the derived classes
concatenate the 0/1 when they need to widen from 3 bits to 4.
DeltaFile
+11-12llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+11-121 files

LLVM/project 2b839f6llvm/lib/Target/LoongArch LoongArchISelLowering.cpp LoongArchMachineFunctionInfo.h, llvm/test/CodeGen/LoongArch musttail.ll tail-calls.ll

[LoongArch] Enable tail calls for sret and byval functions (#168506)

Allow tail calls for functions returning via sret when the caller's sret
pointer can be reused. Also support tail calls for byval arguments.
    
The previous restriction requiring exact match of caller and callee
arguments is relaxed: tail calls are allowed as long as the callee does
not use more stack space than the caller.

Fixes #168152
DeltaFile
+566-0llvm/test/CodeGen/LoongArch/musttail.ll
+79-25llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
+14-0llvm/lib/Target/LoongArch/LoongArchMachineFunctionInfo.h
+4-9llvm/test/CodeGen/LoongArch/tail-calls.ll
+663-344 files

LLVM/project 7cbc8a4llvm/unittests/IR MetadataTest.cpp

clang format
DeltaFile
+6-3llvm/unittests/IR/MetadataTest.cpp
+6-31 files

LLVM/project c282cb5llvm/unittests/IR MetadataTest.cpp

Revert "Drop the summation unittest since it's already covered by the gvn lit tests"

This reverts commit fb0d7df21794ab50eaab4cb6e249679089a5a501.
DeltaFile
+26-0llvm/unittests/IR/MetadataTest.cpp
+26-01 files

NetBSD/src TkQMElhlibexec/ld.elf_so xmalloc.c

   Simplify the aligned malloc/free code.
VersionDeltaFile
1.25+11-12libexec/ld.elf_so/xmalloc.c
+11-121 files

LLVM/project d9c523eclang/include/clang/Basic BuiltinsAMDGPU.def, clang/lib/CodeGen/TargetBuiltins AMDGPU.cpp

[AMDGPU] Add builtins for wave reduction intrinsics
DeltaFile
+84-0clang/test/CodeGenOpenCL/builtins-amdgcn.cl
+8-0clang/lib/CodeGen/TargetBuiltins/AMDGPU.cpp
+4-0clang/include/clang/Basic/BuiltinsAMDGPU.def
+96-03 files

LLVM/project 4885673llvm/docs AMDGPUUsage.rst

[AMDGPU] Update documentation for wave reduction intrinsics
DeltaFile
+118-2llvm/docs/AMDGPUUsage.rst
+118-21 files

LLVM/project 8e64fd7llvm/lib/Target/AMDGPU SIISelLowering.cpp

Use enum values for src modifiers.
DeltaFile
+8-8llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+8-81 files

LLVM/project a0e0775llvm/lib/Target/RISCV RISCVInstrInfoP.td

[RISCV] Add isCommutable=1 to some binary P extension instructions. (#175692)

This allows MachineCSE to commute these instructions if it would allow
CSE.
DeltaFile
+104-92llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+104-921 files

LLVM/project 9642bc5.github/workflows prune-unused-branches.py

feedback

Created using spr 1.3.7
DeltaFile
+0-4.github/workflows/prune-unused-branches.py
+0-41 files

FreeNAS/freenas 9596b48src/middlewared/middlewared/plugins sysdataset.py

Remove caching from sysdataset plugin

Retrieving the underlying dataset name for the sysdataset path
is now only two syscalls (statx + statmount) instead of reading
the entire /proc/self/mountinfo contents and so this extra caching
actually hurting us now.
DeltaFile
+4-49src/middlewared/middlewared/plugins/sysdataset.py
+4-491 files

FreeNAS/freenas 84878f7src/middlewared/middlewared/plugins sysdataset.py, src/middlewared/middlewared/plugins/system_dataset mount.py

Rework system dataset migration to be less bad

This commit reworks how we migrate the system datasets so that
it's somewhat less racy and uses kernel APIs for this.

On migration:
1. build new mount tree in middleware run dir
2. sync data from old to new
3. move new under old
4. move old to middleware rundir
5. restart services
6. cleanup
DeltaFile
+281-363src/middlewared/middlewared/plugins/sysdataset.py
+76-1src/middlewared/middlewared/utils/mount.py
+67-0src/middlewared/middlewared/plugins/system_dataset/mount.py
+7-1src/middlewared/middlewared/plugins/zfs/mount_events.py
+431-3654 files

LLVM/project fb0d7dfllvm/unittests/IR MetadataTest.cpp

Drop the summation unittest since it's already covered by the gvn lit tests
DeltaFile
+0-26llvm/unittests/IR/MetadataTest.cpp
+0-261 files

FreeBSD/doc 92ff616documentation/content/en/articles/pam _index.adoc

articles/pam: Increment number of control flags

Reviewed by:    ziaee
Pull Request:   https://github.com/freebsd/freebsd-src/pull/558
DeltaFile
+1-1documentation/content/en/articles/pam/_index.adoc
+1-11 files

LLVM/project fccfd89llvm/lib/IR Metadata.cpp

Move the check after merging for calls to simplify the condition
DeltaFile
+3-6llvm/lib/IR/Metadata.cpp
+3-61 files

LLVM/project 1c88701llvm/lib/IR Metadata.cpp, llvm/unittests/IR MetadataTest.cpp

[Metadata][profcheck] Handle identical MDNodes in getMergedProfMetadata

This fixes a bug where !prof metadata was dropped from SelectInsts when GVN simplified/merged them.
Guarded by -profcheck-disable-metadata-fixes. Exposed by the tests in
Transforms/SampleProfile.
DeltaFile
+50-0llvm/unittests/IR/MetadataTest.cpp
+12-0llvm/lib/IR/Metadata.cpp
+62-02 files

LLVM/project e4b8d8alibcxx/include istream, libcxx/test/libcxx/input.output/iostream.format nodiscard.verify.cpp

[libc++][istream] Removed `[[nodiscard]]` from `peek()` (#175591)

Calling `peek()` after constructing a stream is something one can use to
make the stream ignore empty inputs:

```
#include <sstream>

int main() {
  std::istringstream s;
  s.peek();
  while (s && !s.eof()) {
    char c;
    s >> c;
    printf("not eof; read \'%c\' (%d)\n", c, c);
  }
}
```


    [2 lines not shown]
DeltaFile
+0-3libcxx/test/libcxx/input.output/iostream.format/nodiscard.verify.cpp
+1-1libcxx/include/istream
+1-42 files

LLVM/project 070b3e9llvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll ran-out-of-sgprs-allocation-failure.mir

[InlineSpiller][AMDGPU] Implement subreg reload during RA spill

Currently, when a virtual register is partially used, the
entire tuple is restored from the spilled location, even if
only a subset of its sub-registers is needed. This patch
introduces support for partial reloads by analyzing actual
register usage and restoring only the required sub-registers.
This improvement enhances register allocation efficiency,
particularly for cases involving tuple virtual registers.
For AMDGPU, this change brings considerable improvements
in workloads that involve matrix operations, large vectors,
and complex control flows.
DeltaFile
+3,429-4,107llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+81-102llvm/test/CodeGen/AMDGPU/ran-out-of-sgprs-allocation-failure.mir
+91-0llvm/test/CodeGen/AMDGPU/skip-partial-reload-for-16bit-regaccess.mir
+35-56llvm/test/CodeGen/AMDGPU/identical-subrange-spill-infloop.ll
+40-40llvm/test/CodeGen/AMDGPU/ra-inserted-scalar-instructions.mir
+26-52llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+3,702-4,35720 files not shown
+3,964-4,52426 files

LLVM/project 12d1aa0llvm/test/CodeGen/AMDGPU regpressure-mitigation-with-subreg-reload.mir

compacted the virt-reg numbers
DeltaFile
+14-14llvm/test/CodeGen/AMDGPU/regpressure-mitigation-with-subreg-reload.mir
+14-141 files

LLVM/project c74c50ellvm/lib/Target/AMDGPU SIRegisterInfo.cpp SIRegisterInfo.h

[AMDGPU] Put back ProperlyAlighedRC helper functions

Putting back the functions that are recently deleted
as they were found unused. They are needed for
implementing subreg reload during RA.
DeltaFile
+22-0llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
+5-0llvm/lib/Target/AMDGPU/SIRegisterInfo.h
+27-02 files

LLVM/project 74adfafllvm/test/CodeGen/AMDGPU regpressure-mitigation-with-subreg-reload.mir

[AMDGPU] Test precommit for subreg reload

This test currently fails due to insufficient
registers during allocation. Once the subreg
reload is implemented, it will begin to pass
as the partial reload help mitigate register
pressure.
DeltaFile
+37-0llvm/test/CodeGen/AMDGPU/regpressure-mitigation-with-subreg-reload.mir
+37-01 files

LLVM/project 4343cadllvm/include/llvm/CodeGen LiveRangeEdit.h, llvm/lib/CodeGen LiveRangeEdit.cpp

[CodeGen] Enhance createFrom for sub-reg aware cloning

Instead of just cloning the virtual register, this
function now creates a new virtual register derived
from a subregister class of the original value.
DeltaFile
+9-1llvm/lib/CodeGen/LiveRangeEdit.cpp
+5-2llvm/include/llvm/CodeGen/LiveRangeEdit.h
+14-32 files

LLVM/project a8e5297llvm/lib/Target/AMDGPU AMDGPURewriteAGPRCopyMFMA.cpp

suggestions incorporated.
DeltaFile
+2-2llvm/lib/Target/AMDGPU/AMDGPURewriteAGPRCopyMFMA.cpp
+2-21 files