LLVM/project 051bb69 — llvm/lib/Target/Sparc SparcInstrInfo.td, llvm/test/CodeGen/SPARC fence-singlethread.ll

[Sparc] Make single-thread fences a compiler barrier (#248761)

A fence for a single thread, such as atomic_signal_fence, only orders
against a signal handler on the same thread, so it needs no barrier
instruction. SPARC emitted the full barrier for it anyway: stbar and
ldstub on V8 and membar on V9. As in GCC, make it only a compiler
barrier.

Assisted-by: Claude Opus 5.5
DeltaFile
+48-0llvm/test/CodeGen/SPARC/fence-singlethread.ll
+8-0llvm/lib/Target/Sparc/SparcInstrInfo.td
+56-02 files

LLVM/project 7deed21 — llvm/lib/Target/Sparc SparcISelLowering.cpp SparcAsmPrinter.cpp, llvm/test/CodeGen/SPARC globals.ll func-addr.ll

[Sparc] Use %lm for the low 32 bits of an address in the abs64 code model (#248785)

With -fno-pic -mcmodel=medany or large, the low 32 bits of an address
were built with sethi %hi(sym), which gives R_SPARC_HI22. In the 64-bit
ABI R_SPARC_HI22 checks that the value fits in 32 bits, so the link
failed for any data above 4 GiB. R_SPARC_LM22 is the same, except that
it truncates. Use %lm, as GCC does. The address of the GOT, built the
same way in SparcAsmPrinter, had the same problem.

Assisted-by: Claude Opus 5.5
DeltaFile
+31-0llvm/test/CodeGen/SPARC/abs64-lm22.ll
+3-2llvm/lib/Target/Sparc/SparcAsmPrinter.cpp
+3-1llvm/lib/Target/Sparc/SparcISelLowering.cpp
+1-1llvm/test/CodeGen/SPARC/globals.ll
+1-1llvm/test/CodeGen/SPARC/func-addr.ll
+1-1llvm/test/CodeGen/SPARC/constpool.ll
+40-61 files not shown
+41-77 files

LLVM/project 1f4c21f — clang/lib/Basic/Targets Sparc.h Sparc.cpp, clang/test/Preprocessor predefined-arch-macros.c

[clang][Sparc] Define the CPU macros GCC defines (#248768)

GCC defines a macro for some SPARC CPUs: `__sparclite__` for `sparclite`
and `f934`, `__sparclite86x__`, `__sparclet__` for `sparclet` and
`tsc701`,
`__supersparc__` and `__hypersparc__`. Define them too.

Assisted-by: Claude Opus 5.5
DeltaFile
+46-0clang/test/Preprocessor/predefined-arch-macros.c
+10-0clang/lib/Basic/Targets/Sparc.cpp
+7-1clang/lib/Basic/Targets/Sparc.h
+63-13 files

OPNSense/core a13dd79 — src/opnsense/mvc/app/controllers/OPNsense/Unbound/Api SettingsController.php

Services: Unbound DNS: Blocklist - remove specific search clauses with typos, closes https://github.com/opnsense/core/pull/11403
DeltaFile
+1-1src/opnsense/mvc/app/controllers/OPNsense/Unbound/Api/SettingsController.php
+1-11 files

OPNSense/core 5656b25 — src/opnsense/mvc/app/models/OPNsense/Unbound Unbound.xml, src/opnsense/service/templates/OPNsense/Unbound/core blocklists.conf

Services: Unbound DNS: Blocklists - add NetAPI compromised domains in place of the removed ThreatFox IOC (#11405)
DeltaFile
+1-0src/opnsense/service/templates/OPNsense/Unbound/core/blocklists.conf
+1-0src/opnsense/mvc/app/models/OPNsense/Unbound/Unbound.xml
+2-02 files

OPNSense/core 78b9a9b — src/opnsense/mvc/app/models/OPNsense/Monit Monit.php

Services: Monit - two settings monit refuses: GID test conditions, custom service path (#11407)

* Services: Monit - recognise GID test conditions

The GID test type's operand was a copy of UID's ('failed uid'), so a
'failed gid' condition was typed Custom. Custom passes the service type
check, so such a test could be linked to a host service, where monit
refuses the control file (syntax error 'gid').


* Services: Monit - require a program path for custom services

A custom service without a path was saved and rendered as
'check program <name> with path ""', which monit refuses (syntax
error), so monit no longer loads its control file.
DeltaFile
+2-2src/opnsense/mvc/app/models/OPNsense/Monit/Monit.php
+2-21 files

LLVM/project 8f47cef — llvm/lib/MC MCDwarf.cpp, llvm/test/MC/ELF cfi-signal-frame.s

[MC] Emit 'S' augmentation for .debug_frame signal frames (#246795)

.cfi_signal_frame is only encoded in .eh_frame CIEs ("zRS"); 
.debug_frame CIEs currently get no augmentation while GCC emits "S" for
these frames (comparison: https://godbolt.org/z/3bvxh7Pse).

Emit "S" for non-EH signal frames and include IsSignalFrame in the
non-EH CIEKey, otherwise a signal and normal frame with the same return
register can share a CIE.

Adds a small MC/ELF test checking the two CIE augmentations.

Co-authored-by: Evalyn Goemer <git at evalyngoemer.com>
Co-authored-by: Fangrui Song <i at maskray.me>
DeltaFile
+45-23llvm/test/MC/ELF/cfi-signal-frame.s
+6-3llvm/lib/MC/MCDwarf.cpp
+51-262 files

OPNSense/core 444dddf — src/opnsense/mvc/app/controllers/OPNsense/IDS/Api SettingsController.php

Services: Intrusion Detection: Administration - rule enabled state as posted, descending rule sort (#11409)

* Services: Intrusion Detection: Administration - set a rule's enabled state as posted

setRuleAction() passes getPost('enabled', 'int') to toggleRuleAction(),
whose $enabled == null is also true for 0, so posting enabled 0 toggled
the rule: a disabled rule got enabled.


* Services: Intrusion Detection: Administration - sort installed rules descending

The sort string ended in a space ("sid desc "), and rulecache.py's
search() takes the last space-separated word as the direction, so desc
fell back to asc.
DeltaFile
+2-2src/opnsense/mvc/app/controllers/OPNsense/IDS/Api/SettingsController.php
+2-21 files

FreeBSD/ports 4d1faa4 — devel/pijul Makefile distinfo

devel/pijul: Update to 1.0.0.b26
DeltaFile
+15-15devel/pijul/distinfo
+9-10devel/pijul/Makefile
+24-252 files

FreeBSD/ports 34456ed — devel/cargo-readme Makefile Makefile.crates

devel/cargo-readme: Update to 3.4.2
DeltaFile
+41-41devel/cargo-readme/distinfo
+19-19devel/cargo-readme/Makefile.crates
+1-1devel/cargo-readme/Makefile
+61-613 files

OPNSense/core 5ff1511 — src/opnsense/mvc/app/controllers/OPNsense/CaptivePortal/Api TemplateController.php, src/opnsense/scripts/captiveportal strip_template.py

Services: Captive Portal: Administration - template upload that isn't a zip, template in use (#11410)

* Services: Captive Portal: Administration - report a template that isn't a zip

strip_template.py answers its other problems as an error, but data that
isn't a zip makes zipfile raise BadZipFile, so saveTemplateAction()
returned error null and the page reported the upload as saved while
nothing was stored.


* Services: Captive Portal: Administration - refuse deleting a template a zone uses

The zone kept the deleted template's uuid, and its next save failed
with "Related template not found."
DeltaFile
+2-0src/opnsense/scripts/captiveportal/strip_template.py
+1-0src/opnsense/mvc/app/controllers/OPNsense/CaptivePortal/Api/TemplateController.php
+3-02 files

FreeBSD/ports 3459d4f — www/nextcloud-groupfolders Makefile distinfo

www/nextcloud-groupfolders: Update to 23.0.3
DeltaFile
+3-3www/nextcloud-groupfolders/distinfo
+1-2www/nextcloud-groupfolders/Makefile
+4-52 files

LLVM/project 368d155 — clang/test/Driver riscv-arch.c, clang/test/Preprocessor riscv-target-features.c

[RISCV] Remove experimental from Zibi and bump it to 1.0 (#248793)

Update Zibi to the 1.0 release specification and mark it as
non-experimental.

The experimental extension parse tests now use Zilx.

Links:

1. https://github.com/riscv/zibi/releases/tag/v1.0
2. https://github.com/riscv/riscv-isa-manual/pull/3343
DeltaFile
+14-14llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
+15-9clang/test/Driver/riscv-arch.c
+6-6llvm/test/CodeGen/RISCV/short-forward-branch-opt-zibi.ll
+7-4llvm/docs/RISCVUsage.md
+5-5clang/test/Preprocessor/riscv-target-features.c
+4-4llvm/test/MC/RISCV/zibi-valid.s
+51-4213 files not shown
+77-6719 files

LLVM/project 51793e5 — llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/test/CodeGen/AArch64 sve-streaming-mode-fixed-length-sdiv-pow2.ll

[DAG] Generalize sign-bit extraction in visitAND to low-bit masks (#248920)

Generalize (and (srl X, C), 1) to masks with B low bits set. Fold the
shift and mask to (srl X, BW - B) when C < BW - B and all bits from C
through the MSB are copies of the sign bit.

For masks wider than one bit, require a scalar SRL with a single use.
Preserve the existing one-bit fold for vectors and multi-use shifts.

Update code generation checks across several targets. The main benefit
is that some sdiv and srem cases need fewer instructions to compute
the bias.
DeltaFile
+570-615llvm/test/CodeGen/X86/scmp.ll
+91-181llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-sdiv-pow2.ll
+12-22llvm/test/CodeGen/ARM/srem-seteq-illegal-types.ll
+16-16llvm/test/CodeGen/RISCV/div.ll
+12-12llvm/test/CodeGen/RISCV/div-pow2.ll
+15-8llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+716-85415 files not shown
+776-92921 files

LLVM/project ef5ce59 — compiler-rt/lib/sanitizer_common sanitizer_symbolizer_libbacktrace.cpp

[sanitizer] report libbacktrace errors on verbose mode (#243083)

Those errors could give clues why a backtrace is missing. Hence, log
them but only when verbose > 1.

Issue: https://github.com/llvm/llvm-project/issues/243075
DeltaFile
+3-1compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_libbacktrace.cpp
+3-11 files

FreeBSD/ports 6328eff — sysutils/py-queuelib Makefile distinfo

sysutils/py-queuelib: Update to 1.10.0
DeltaFile
+3-3sysutils/py-queuelib/distinfo
+1-1sysutils/py-queuelib/Makefile
+4-42 files

LLVM/project bac75d7 — llvm/lib/Target/AMDGPU AMDGPUInstCombineIntrinsic.cpp, llvm/test/Transforms/InstCombine/AMDGPU llvm.amdgcn.wmma.gfx1250.ll llvm.amdgcn.wmma.gfx1200.ll

[AMDGPU] Fold add into integer wmma accumulator (#248304)

Integer wmma and swmmac wrap on overflow when clamp is off, so adding X
to the result is the same as adding X to the accumulator. Fold the add
when the accumulator is zero or both are constants. Because wmma is
convergent, the call is only moved to the add when both are in the same
block.

```llvm
%d = call <8 x i32> @llvm.amdgcn.wmma.i32.16x16x16.iu8.v8i32.v2i32(i1 0, <2 x i32> %a, i1 0, <2 x i32> %b, <8 x i32> zeroinitializer, i1 0)
%r = add <8 x i32> %d, %x
  -->
%r = call <8 x i32> @llvm.amdgcn.wmma.i32.16x16x16.iu8.v8i32.v2i32(i1 0, <2 x i32> %a, i1 0, <2 x i32> %b, <8 x i32> %x, i1 0)
```
DeltaFile
+73-0llvm/test/Transforms/InstCombine/AMDGPU/llvm.amdgcn.wmma.gfx1200.ll
+37-0llvm/test/Transforms/InstCombine/AMDGPU/llvm.amdgcn.wmma.gfx1250.ll
+14-6llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
+124-63 files

LLVM/project 5eb67a3 — compiler-rt/lib/sanitizer_common sanitizer_symbolizer_libbacktrace.cpp

[sanitizer] don't pass initial filename to libbacktrace (#243082)

Libbacktrace knows how to find the executable name for its supported
platforms. Passing an initial filename prevents this lookup phase.

Issue: https://github.com/llvm/llvm-project/issues/243075
DeltaFile
+3-2compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_libbacktrace.cpp
+3-21 files

LLVM/project b9465d4 — llvm/test/CodeGen/LoongArch/lasx xvexth.ll vhsubw.ll

update after rebase
DeltaFile
+16-140llvm/test/CodeGen/LoongArch/lasx/vhsubw.ll
+16-140llvm/test/CodeGen/LoongArch/lasx/vhaddw.ll
+29-23llvm/test/CodeGen/LoongArch/lasx/xvexth.ll
+61-3033 files

LLVM/project 1c40043 — llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/test/CodeGen/AArch64 bitcast-extract-subvector-and-zext.ll

[DAGCombiner] Don't treat bitcast+extract_subvector as a truncate on big-endian (#245146)

Fixes #244527

`(zext/aext (and (bitcast (extract_subvector vNi1, 0) to iK), cst))` was
folded into an AND on the wider bitcast, which assumes
`bitcast(extract_subvector(X, 0))` is `trunc(bitcast(X))`. That only
holds on little-endian: per LangRef a `<N x i1>` bitcast follows the
element order of the target, so on big-endian lane 0 is the most
significant bit and the masked low bits select the last K lanes. On
aarch64_be the reproducer read lanes 24..31 instead of 8..15, and mips
and s390x do the same.

Guards that branch in both folds with
`DAG.getDataLayout().isLittleEndian()` and leaves big-endian to the
generic lowering, which is already correct. The truncate branch is
untouched.

Test: `bitcast-extract-subvector-and-zext.ll` covers both folds for

    [8 lines not shown]
DeltaFile
+97-0llvm/test/CodeGen/AArch64/bitcast-extract-subvector-and-zext.ll
+11-3llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+108-32 files

LLVM/project fb6e20c — llvm/lib/Target/AArch64 AArch64ISelLowering.cpp, llvm/test/CodeGen/AArch64 vec-combine-compare-to-bitmask.ll sve-fixed-length-trunc.ll

[AArch64] Fix big-endian SVE truncation of fixed-length vectors (#246756)

On big-endian AArch64, lowering a fixed-length integer vector `trunc`
through SVE can keep the high half of each element. The generic
`BITCAST` reverses bytes when the element width changes, so `UZP1` can
select the wrong half.

Use `AArch64ISD::NVCAST` before each `UZP1` to preserve the register
layout and select the low half. The regression test reproduces the bug
on `main` with a plain `trunc` from `<8 x i64>` to `<8 x i8>`,
exercising all three narrowing steps.

I found this while testing the 32- and 64-lane mask optimization in
#246755 on big-endian SVE.
DeltaFile
+13-0llvm/test/CodeGen/AArch64/sve-fixed-length-trunc.ll
+3-3llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+1-3llvm/test/CodeGen/AArch64/vec-combine-compare-to-bitmask.ll
+17-63 files

FreeBSD/ports 5de5856 — www/mediawiki146 Makefile distinfo

www/mediawiki146: Update to 1.46.4

(cherry picked from commit b823558ea718e37cdb8b6ec20a02768b76369fe3)
DeltaFile
+3-3www/mediawiki146/distinfo
+2-3www/mediawiki146/Makefile
+5-62 files

FreeBSD/ports f7d65a0 — www/mediawiki145 Makefile distinfo

www/mediawiki145: Update to 1.45.8

(cherry picked from commit 9861aaaf65b9e78e48aa13c6beeefca92627438e)
DeltaFile
+3-3www/mediawiki145/distinfo
+2-3www/mediawiki145/Makefile
+5-62 files

FreeBSD/ports 003ecf1 — www/mediawiki143 Makefile distinfo

www/mediawiki143: Update to 1.43.13

(cherry picked from commit 0d58516f1bcad89eb243615dc1845ecacc447182)
DeltaFile
+3-3www/mediawiki143/distinfo
+2-3www/mediawiki143/Makefile
+5-62 files

LLVM/project 483510c — llvm/lib/CodeGen/SelectionDAG LegalizeDAG.cpp, llvm/lib/Target/NVPTX NVPTXISelLowering.cpp

[NVPTX] Add support for lround and llround intrinsics for f16 and bf16 (#240078)

add support for lround and llround intrinsics for f16 and bf16 by
promoting them to f32.

fixes #239041

used claude for writing code comments
DeltaFile
+370-0llvm/test/CodeGen/NVPTX/math-intrins.ll
+5-0llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
+1-0llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+376-03 files

FreeBSD/ports 9861aaa — www/mediawiki145 Makefile distinfo

www/mediawiki145: Update to 1.45.8
DeltaFile
+3-3www/mediawiki145/distinfo
+2-3www/mediawiki145/Makefile
+5-62 files

FreeBSD/ports b823558 — www/mediawiki146 Makefile distinfo

www/mediawiki146: Update to 1.46.4
DeltaFile
+3-3www/mediawiki146/distinfo
+2-3www/mediawiki146/Makefile
+5-62 files

FreeBSD/ports fe4e754 — www/tcexam Makefile distinfo

www/tcexam: Update to 17.6.2
DeltaFile
+3-3www/tcexam/distinfo
+1-2www/tcexam/Makefile
+4-52 files

FreeBSD/ports 0d58516 — www/mediawiki143 Makefile distinfo

www/mediawiki143: Update to 1.43.13
DeltaFile
+3-3www/mediawiki143/distinfo
+2-3www/mediawiki143/Makefile
+5-62 files

FreeBSD/ports e914b5e — www/ilias Makefile distinfo

www/ilias: Update to 11.6
DeltaFile
+3-3www/ilias/distinfo
+1-2www/ilias/Makefile
+4-52 files