LLVM/project 333eddeclang/lib/CodeGen/Targets BPF.cpp, clang/test/CodeGen bpf-struct-return-regs.c bpf-struct-return.c

[BPF] Return small aggregates directly in registers (#206876)

Previously the BPF ABI always returned aggregate (struct/union) types
indirectly through an sret pointer, regardless of size. This is
inconsistent with how classifyArgumentType() already passes small
aggregates: arguments up to 128 bits are coerced into one or two 64-bit
registers, while only larger aggregates use an indirect reference.

Make classifyReturnType() mirror that convention by factoring the shared
aggregate handling into a classifyAggregateType() helper used by both:

  - empty aggregates (0 bits) are ignored;
- aggregates up to 64 bits are returned directly, coerced to an integer
of the padded size;
  - aggregates of 65..128 bits are returned directly as [2 x i64];
  - aggregates larger than 128 bits are returned indirectly via sret.

This keeps each returned value within the backend's two-register return
convention and avoids an unnecessary memory round-trip for small

    [7 lines not shown]
DeltaFile
+189-0llvm/test/CodeGen/BPF/aggr_ret_regs.ll
+73-0clang/test/CodeGen/bpf-struct-return-regs.c
+70-0clang/test/CodeGen/bpf-struct-return.c
+27-23clang/lib/CodeGen/Targets/BPF.cpp
+359-234 files

OpenBSD/ports Vszw4wKx11/kde-plasma Makefile

   Add a comment for x11/oxygen-icons
VersionDeltaFile
1.23+4-0x11/kde-plasma/Makefile
+4-01 files

OpenBSD/ports tCPxXtXx11/oxygen-icons Makefile distinfo, x11/oxygen-icons/pkg PLIST

   Update oxygen-icons to 6.27.0
VersionDeltaFile
1.2+85-114x11/oxygen-icons/pkg/PLIST
1.3+3-5x11/oxygen-icons/Makefile
1.2+2-2x11/oxygen-icons/distinfo
+90-1213 files

FreeBSD/src 3eb80d8sys/ufs/ffs ffs_vfsops.c ffs_subr.c

ufs: Allow read-only mounting of NetBSD FFSv2 WAPBL filesystems

Skip UFS2 fs_metaspace upper-bound validation that rejects NetBSD FFSv2
WAPBL filesystems due to differing superblock layouts.

Detect the condition during mount instead and permit read-only mounts
while rejecting read-write mounts with EROFS.  This follows NetBSD's
recommendation for systems without WAPBL support and avoids modifying
unsupported journal metadata.

PR: 296022
Signed-off-by: Ricardo Branco <rbranco at suse.de>
Reviewed by: imp, kirk
Pull Request: https://github.com/freebsd/freebsd-src/pull/2279
DeltaFile
+27-0sys/ufs/ffs/ffs_vfsops.c
+13-1sys/ufs/ffs/ffs_subr.c
+40-12 files

FreeBSD/src f723b28sbin/reboot reboot.c

reboot: fix openlog(3) calls

LOG_CONS was OR'd into the facility argument instead of logopt, leaving
logopt as 0.  The correct call is openlog(ident, LOG_CONS, LOG_AUTH),
as shutdown(8) and init(8) already do.

PR:     296315
Signed-off-by: Ricardo Branco <rbranco at suse.de>
Reviewed by: imp, des
Pull Request: https://github.com/freebsd/freebsd-src/pull/2300
DeltaFile
+5-5sbin/reboot/reboot.c
+5-51 files

LLVM/project 1cefbaclibcxx/src/include overridable_function.h

[libc++] Replace the of use custom sections for detecting overriden functions (#175896)

This is a follow up to #133876 and an alternative to #120805 which
doesn't rely on aliases and works across both ELF and Mach-O. This
mechanism is preferable in baremetal environments since it doesn't
require special handling of the custom sections.
DeltaFile
+32-67libcxx/src/include/overridable_function.h
+32-671 files

FreeBSD/ports 9e64894audio/libxmp distinfo Makefile

audio/libxmp: Update to 4.7.1
DeltaFile
+3-3audio/libxmp/distinfo
+1-1audio/libxmp/Makefile
+4-42 files

FreeBSD/ports 7b3e67daudio/ft2-clone distinfo Makefile

audio/ft2-clone: Update to 2.21
DeltaFile
+3-3audio/ft2-clone/distinfo
+1-1audio/ft2-clone/Makefile
+4-42 files

FreeBSD/ports 51b5602lang/cython distinfo Makefile

lang/cython: Update to 3.2.8

Changes:        https://github.com/cython/cython/releases
                https://github.com/cython/cython/blob/master/CHANGES.rst
DeltaFile
+3-3lang/cython/distinfo
+1-1lang/cython/Makefile
+4-42 files

FreeBSD/ports d0a76fflang/cython distinfo Makefile

lang/cython: Update to 3.2.6

Changes:        https://github.com/cython/cython/releases
                https://github.com/cython/cython/blob/master/CHANGES.rst
PR:             296301
Exp-run:        antoine
DeltaFile
+3-3lang/cython/distinfo
+1-1lang/cython/Makefile
+4-42 files

FreeBSD/ports 758b6aedevel Makefile

*/Makefile: Sort SUBDIRs
DeltaFile
+1-1devel/Makefile
+1-11 files

FreeBSD/ports 130cf9dx11/cde-devel pkg-plist distinfo

x11/cde-devel: Update to the latest cdesktopenv-code commit

Update to the latest cdedesktop-code commit proxied through my GH account
DeltaFile
+70-72x11/cde-devel/pkg-plist
+3-3x11/cde-devel/distinfo
+2-3x11/cde-devel/Makefile
+75-783 files

OpenBSD/ports IyMSDEksysutils/grafana distinfo Makefile, sysutils/grafana/patches patch-conf_sample_ini

   sysutils/grafana: update to 13.1.0
VersionDeltaFile
1.49+1,938-1,494sysutils/grafana/pkg/PLIST
1.49+4-4sysutils/grafana/distinfo
1.30+1-1sysutils/grafana/patches/patch-conf_sample_ini
1.66+1-1sysutils/grafana/Makefile
+1,944-1,5004 files

NetBSD/src YuvxuDGsys/arch/m68k Makefile.cmachflags

   Add a 68010 case.
VersionDeltaFile
1.5+10-1sys/arch/m68k/Makefile.cmachflags
+10-11 files

OpenBSD/ports w0IDeGcarchivers/libzip Makefile

   error: wrong number of arguments specified for 'deprecated' attribute

   Move to ports-gcc on base-gcc arches to fix the build on sparc64
VersionDeltaFile
1.34+4-0archivers/libzip/Makefile
+4-01 files

NetBSD/src L4uNNsq. Makefile

   PR lib/60324 - isolate descent into lib

   Since no-one seems interested in implementing a better fix
   than this for the issue in the PR which (sometimes) breaks
   the builds, simply do the easiest possible thing which will
   avoid the observed symptoms.

   Don't allow builds in lib and external to happen in parallel
   by simply isolating the descent into lib (there is a LOT to
   do in there).   Don't start anything else until that is done.

   If anyone would like to find a different workable solution than
   this one, please go ahead.
VersionDeltaFile
1.343+2-2Makefile
+2-21 files

OpenBSD/ports USCT38kgames/godot/pack3 Makefile distinfo, games/godot/pack3/patches patch-SConstruct patch-drivers_unix_os_unix_cpp

   update godot/pack3 to godot 4.7; godotsteam gdextension needs to be disabled as it doesn't build; a known upstream issue
VersionDeltaFile
1.5+8-5games/godot/pack3/Makefile
1.3+2-2games/godot/pack3/patches/patch-SConstruct
1.2+2-2games/godot/pack3/patches/patch-drivers_unix_os_unix_cpp
1.2+2-2games/godot/pack3/patches/patch-platform_linuxbsd_detect_py
1.3+2-2games/godot/pack3/patches/patch-platform_linuxbsd_x11_display_server_x11_cpp
1.4+2-2games/godot/pack3/distinfo
+18-156 files not shown
+26-2312 files

LLVM/project 5a924bfclang/lib/CIR/CodeGen TargetInfo.cpp CIRGenCUDANV.cpp, clang/lib/CIR/CodeGen/Targets NVPTX.cpp

[CIR][CUDA] Support built-in CUDA surface type (#196079)

Related: #179278

This patch adds initial support for CUDA built-in surface types in CIR
for device-side compilation.

CUDA surface references are lowered to the NVPTX device-handle
representation (`i64`), matching existing Clang CodeGen behavior.

Changes
* Add `getCUDADeviceBuiltinSurfaceDeviceType()` target hook to
`TargetCIRGenInfo`
* Implement NVPTX surface lowering in `NVPTXTargetCIRGenInfo`
* Handle CUDA built-in surface types in `CIRGenTypes::convertType`
* Add CIR CUDA test coverage for device-side surface lowering

Notes


    [8 lines not shown]
DeltaFile
+87-0clang/lib/CIR/CodeGen/Targets/NVPTX.cpp
+0-59clang/lib/CIR/CodeGen/TargetInfo.cpp
+27-5clang/lib/CIR/CodeGen/CIRGenCUDANV.cpp
+25-0clang/test/CIR/CodeGenCUDA/surface.cu
+11-0clang/lib/CIR/CodeGen/CIRGenTypes.cpp
+4-0clang/lib/CIR/CodeGen/TargetInfo.h
+154-642 files not shown
+156-648 files

FreeBSD/ports e3014d9net/eternalterminal distinfo Makefile, net/eternalterminal/files patch-fix-crash-PR295956

net/eternalterminal: Update to 7.0.0

ChangeLog: https://github.com/MisterTea/EternalTerminal/releases/tag/et-v7.0.0
DeltaFile
+0-113net/eternalterminal/files/patch-fix-crash-PR295956
+3-3net/eternalterminal/distinfo
+1-2net/eternalterminal/Makefile
+1-0net/eternalterminal/pkg-plist
+5-1184 files

LLVM/project 63122f5lld/ELF SyntheticSections.cpp SyntheticSections.h

[NFC][ELF] Don't reimplement addReloc in MipsGotSection::addConstant (#208130)

This is a repeat of d48eb719d240 ("[NFC][ELF] Don't reimplement addReloc
in GotSection::addConstant") but for MipsGotSection. Unfortunately,
9fb61d972213 ("[NFCI][ELF][Mips] Refactor MipsGotSection to avoid
explicit writes (#178561)") was put up for review before, and was landed
after, that commit, and I did not think to update it, so it ended up
copying the old GotSection code. Although there's no motivation to
support CHERI in this code (even though CHERI-MIPS existed it never used
the highly-specialised MipsGotSection to hold capabilities), it's still
better to use our own abstractions, and to be consistent.

Fixes: 9fb61d972213 ("[NFCI][ELF][Mips] Refactor MipsGotSection to avoid
explicit writes (#178561)")
DeltaFile
+0-4lld/ELF/SyntheticSections.cpp
+1-1lld/ELF/SyntheticSections.h
+1-52 files

NetBSD/pkgsrc-wip 116f86fchocolate-quake TODO Makefile

chocolate-quake: depends on audio/flac
DeltaFile
+0-1chocolate-quake/TODO
+1-0chocolate-quake/Makefile
+1-12 files

FreeBSD/src f5329a0sys/kern imgact_elf.c kern_exec.c, sys/sys imgact.h

kern: imgact: fix imgp->interpreted

This is a mask, so the new value should have taken the next bit to avoid
breaking a shell script that's interpreted by a binmisc-activated
interpreter.

Add a brief note that the new value is only used within the ELF
activator.

Fixes:  389c124fecb0 ("imgact_elf.c indicate that interpreter [...]")
Reported by:    "polyduekes" on discord, madpilot
Reviewed by:    kib, sjg (both previous version)
Differential Revision:  https://reviews.freebsd.org/D58063
DeltaFile
+2-2sys/kern/imgact_elf.c
+1-2sys/kern/kern_exec.c
+1-1sys/sys/imgact.h
+4-53 files

LLVM/project 4708581llvm/lib/Target/LoongArch LoongArchISelLowering.cpp LoongArchLSXInstrInfo.td, llvm/test/CodeGen/LoongArch/lasx xvexth.ll

[LoongArch] Add DAG combines for vector widening extends (#207316)

Lower:

```
  SEXT/ZEXT(High-Half-128-Bit-Lanes(vec))
```

to:

```
  LSX:  VEXTH.H.B, VEXTH.W.H, VEXTH.D.W
        VEXTH.HU.BU, VEXTH.WU.HU, VEXTH.DU.WU

  LASX: XVEXTH.H.B, XVEXTH.W.H, XVEXTH.D.W
        XVEXTH.HU.BU, XVEXTH.WU.HU, XVEXTH.DU.WU
```
DeltaFile
+12-228llvm/test/CodeGen/LoongArch/lasx/xvexth.ll
+12-30llvm/test/CodeGen/LoongArch/lsx/vexth.ll
+25-12llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
+29-0llvm/lib/Target/LoongArch/LoongArchLSXInstrInfo.td
+24-0llvm/lib/Target/LoongArch/LoongArchLASXInstrInfo.td
+102-2705 files

NetBSD/src lI71fHHsbin/efi utils.c

   sbin/efi - avoid generating invalid UTF-8

   Strings in UEFI are all made up of 16 bit chars, which are defined in the
   UEFI standard to be UCS-2 (despite that format having been deprecated for
   decades - replaced by UTF-16).

   UCS-2 allowed for just 65536 code points (hence 16 bit storage).  UTF-16
   defines a block of 8192 of the available code-points to be surrogates, 4096
   of them high surrogates, the other 4096 low surrogates, always to be used
   as a pair, high then low.

   Each surrogate of a pair provides 10 data bits, combining them together gives
   a 20 bit value, which is used by UTF-16 to represent the code point values
   from 0x10000 -> 0x10FFFF.  By doing that they (for all time) reserved the
   8192 surrogate code points (those with values from 0xD800 to 0xDFFF (incl)),
   regardless of the format in which they're encoded, as being invalid, except
   when used as part of a surrogate pair in UTF-16.

   So, since UCS-2 had no surrogates (not really) and is (was) defined to

    [16 lines not shown]
VersionDeltaFile
1.5+7-3sbin/efi/utils.c
+7-31 files

NetBSD/src PwaF8p8doc 3RDPARTY

   Postfix 3.11.5
VersionDeltaFile
1.2229+3-3doc/3RDPARTY
+3-31 files

LLVM/project e60dc90llvm/lib/Target/Hexagon HexagonFrameLowering.cpp, llvm/test/CodeGen/Hexagon shadow-call-stack.ll

[Hexagon] Disable restore stubs when ShadowCallStack is active (#206302)

The returning restore stubs (e.g.
__restore_r16_through_r17_and_deallocframe) perform deallocframe+jumpr
r31 internally, returning via the on-stack return address. This is
incompatible with ShadowCallStack, which must restore r31 from the
shadow stack before returning.

Fix by having useRestoreFunction() return false when the ShadowCallStack
attribute is present, forcing inline callee-saved restores so the SCS
epilogue is properly emitted.
DeltaFile
+69-0llvm/test/CodeGen/Hexagon/shadow-call-stack.ll
+3-0llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
+72-02 files

LLVM/project ddca532llvm/lib/Target/LoongArch LoongArchISelLowering.cpp, llvm/test/CodeGen/LoongArch/lasx xvexth.ll

Address wanglei's comments
DeltaFile
+6-106llvm/test/CodeGen/LoongArch/lasx/xvexth.ll
+5-3llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
+11-1092 files

LLVM/project 73fe022llvm/lib/Target/LoongArch LoongArchISelLowering.cpp LoongArchLSXInstrInfo.td, llvm/test/CodeGen/LoongArch/lasx xvexth.ll

[LoongArch] Add DAG combines for vector widening extends

Lower:

```
  SEXT/ZEXT(High-Half-128-Bit-Lanes(vec))
```

to:

```
  LSX:  VEXTH.H.B, VEXTH.W.H, VEXTH.D.W
        VEXTH.HU.BU, VEXTH.WU.HU, VEXTH.DU.WU

  LASX: XVEXTH.H.B, XVEXTH.W.H, XVEXTH.D.W
        XVEXTH.HU.BU, XVEXTH.WU.HU, XVEXTH.DU.WU
```
DeltaFile
+6-122llvm/test/CodeGen/LoongArch/lasx/xvexth.ll
+12-30llvm/test/CodeGen/LoongArch/lsx/vexth.ll
+23-12llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
+29-0llvm/lib/Target/LoongArch/LoongArchLSXInstrInfo.td
+24-0llvm/lib/Target/LoongArch/LoongArchLASXInstrInfo.td
+94-1645 files

LLVM/project 478bbbellvm/test/CodeGen/LoongArch/lasx xvexth.ll, llvm/test/CodeGen/LoongArch/lsx vexth.ll

[LoongArch][NFC] Add vector widening extends tests (#207315)
DeltaFile
+415-0llvm/test/CodeGen/LoongArch/lasx/xvexth.ll
+205-0llvm/test/CodeGen/LoongArch/lsx/vexth.ll
+620-02 files

LLVM/project d6c0a0alibc/config/gpu/amdgpu entrypoints.txt, libc/config/gpu/nvptx entrypoints.txt

[libc][complex] Add basic complex ops including carg/cabs for GPU (#207887)

This PR adds carg and cabs for AMD GPU and also add all other basic
complex ops for NV GPU.

Signed-off-by: jinge90 <ge.jin at intel.com>
DeltaFile
+18-0libc/config/gpu/nvptx/entrypoints.txt
+4-0libc/config/gpu/amdgpu/entrypoints.txt
+22-02 files