[X86] Update (p)haddsub undef element tests to match the output IR from the middle-end (#207244)
Use the vectorised output from the PhaseOrdering/X86 hadd.ll tests -
I've added test coverage for multiple SSE/AVX levels for cases where the
middle-end output is different for any level.
This exposes a number of regressions that have been there for some time
but we'd missed as we'd assumed the backend would still be receiving
non-vectorised IR, but there's been plenty of changes to SLP,
InstCombine and VectorCombine since then - end2end tests would have been
very useful here :(
Looking at fixes next before finally removing the (dead) scalar hadd
matching code for #143000
archivers/xarchiver: archivers/rar[i386] is available only for i386/amd64 arches (+)
Define correct dependencies on rar only on supported arches
Approved by: portmgr blanket
archivers/xarchive: archivers/rar[i386] is available only for i386/amd64 arches (+)
Define correct dependencies on rar only on supported arches
Approved by: portmgr blanket
archivers/py-comicapi: archivers/rar[i386] is available only for i386/amd64 arches (+)
Define correct dependencies on rar only on supported arches
Approved by: portmgr blanket
archivers/file-roller: archivers/rar[i386] is available only for i386/amd64 arches (+)
Define correct dependencies on rar only on supported arches
Approved by: portmgr blanket
archivers/ark: archivers/rar[i386] is available only for i386/amd64 arches (+)
Define correct dependencies on rar only on supported arches
Approved by: portmgr blanket
archivers/lzma: update to 26.02
- add 7-zip.org to MASTER_SITES as distfile not yet on Sourceforge
(but will probably be uploaded soon)
Upstream changes:
- Some bugs and vulnerabilities were fixed.
MFH: 2026Q2
(cherry picked from commit 2821c2b2c26f4fa71ad6a1913aca848c4caafd66)
security/amavisd-new: archivers/rar[i386] is available only for i386/amd64 arches (+)
Define correct dependencies on rar only on supported arches
Approved by: portmgr blanket
syslogd: Add missing SLIST_INIT()
Add missing SLIST_INIT() in main(). This is not a real bug
because the tls_opt is in BSS and SLIST_INIT() assign NULL.
Written by Masakazu OOHASHI at IIJ.
archivers/lzma: update to 26.02
- add 7-zip.org to MASTER_SITES as distfile not yet on Sourceforge
(but will probably be uploaded soon)
Upstream changes:
- Some bugs and vulnerabilities were fixed.
MFH: 2026Q2
suse_gcc12: support static linking
Allow creation of Linux binaries that do not need any of the suse_* packages installed.
Add glibc-devel-static.
Bump PKGREVISION.
Test:
# /emul/linux/usr/bin/gcc-12 -static -o hellolinux hello.c
# file hellolinux
hellolinux: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, BuildID[sha1]=89293d07b15722eb4b069afda0d48e6c62115e22, for GNU/Linux 3.2.0, with debug_info, not stripped
# pkg_delete suse_gcc12 suse_binutils suse_base
# rm -r /emul/linux
# ./hellolinux
hello, world
Enable IPv6 forwarding for the container bridge
## Problem
On a clean install, LXC containers on the default `truenasbr0` bridge get an IPv6 address and default route via the host's RAs but cannot route IPv6 out. The bridge sets up full IPv6 masquerade and forward nft rules, yet only the IPv4 forwarding sysctl was enabled, so the kernel never forwards IPv6. Docker enables IPv6 forwarding as a side effect, so only LXC-only (Docker-disabled) setups hit this.
## Solution
Enable `net.ipv6.conf.all.forwarding` when the bridge has an IPv6 network. Before doing so, bump `accept_ra` from 1 to 2 on interfaces that still have it, mirroring incus, so the host keeps honouring router advertisements while forwarding is on and doesn't lose a SLAAC-derived address on its own uplink. The IPv4 write is likewise gated on having an IPv4 network.
[lldb][test] Modernize and expand data-formatter-stl/generic/vbool (#206955)
This fixes several issues with this test:
* We use modern test utils for setting up the process.
* We get rid of the state-reset code which is no longer necessary these
days.
* Expand the test to also cover an empty and sub-word-size vector of
bool.
assisted-by: claude
[lldb][test] Truncate unexpectedly long test outputs (#206967)
A bug in LLDB could make our tests to produce giant ValueObjects with
millions of children. The same goes for most commands that print out
test data. While our test system can handle this amount of output, the
resulting log output will most likely break the storage capacity of our
build bots.
This patch adds truncation to the various expect* methods that avoids
spamming the output in the (unlikely) case this happens.
See also #206444
[DebugInfo] Avoid std::function in DWARF verifier internals (#202866)
This changes `OutputCategoryAggregator`'s synchronous callback
parameters from `std::function` to `function_ref`, avoiding type-erased
callback construction at 75 `DWARFVerifier` diagnostic sites.
On an arm64 Release build, standalone llvm-dwarfdump decreases by
133,680 bytes raw and 17,040 bytes stripped, `DWARFVerifier.cpp.o`
decreases by 174,464 bytes, and linked fixups decrease by 546.
Work towards #202616
AI tool disclosure: Co-authored with OpenAI Codex.
[llvm-exegesis] Add raw PMU encoding in TargetPfmCounters tablegen (#201228)
Adds optional EventSelect and UMask fields to PfmCounter in
TargetPfmCounters.td. EventSelect defaults to -1 (no raw encoding).
When set, ExegesisEmitter outputs raw hex values instead of a libpfm
symbolic name, allowing per-CPU .td entries to bypass
pfm_get_os_event_encoding for counters that are undocumented or
unsupported in libpfm.
Extends PfmCountersInfo with CycleCounterEventSelect, CycleCounterUMask,
UopsCounterEventSelect, and UopsCounterUMask fields. PerfHelper wiring
in a subsequent patch.
Towards #187930
[mlir][linalg/scf/transform] scalable tiling and fusion for pack/unpack ops (#204007)
# Inner tile alignment hints for scalable `linalg.pack`/`linalg.unpack`
tiling and fusion
## Overview
Tiling and fusing `linalg.pack`/`linalg.unpack` produces a clean result
only when the tiling implementation can tell how a loop tile size
relates to the op's inner tile size. When both are statically known this
is decided by comparing the constants. But with **scalable** (and, more
generally, dynamic) sizes, e.g. a loop tile of `8 * vscale` against an
inner tile of `8 * vscale`, that relationship is symbolic and cannot
cleanly be recovered from the IR, so the implementation conservatively
falls back to a dynamic, over-allocated tile. See #150185 for more
details.
This PR adds an optional **inner tile alignment hint**: a per-dimension
caller assertion about that relationship, threaded from the transform-op
[169 lines not shown]
18181 mdb modules must stop hard-coding NCPU
Reviewed by: Dan McDonald <danmcd at edgecast.io>
Reviewed by: Gordon Ross <Gordon.W.Ross at gmail.com>
Approved by: Robert Mustacchi <rm+illumos at fingolfin.org>
[CI][flang][OpenMP] Build OpenMP runtime mod files for flang tests (#206517)
Some flang openmp lit tests require mod files (a bit like C header
files, except they are compiler generated) from the openmp runtime. As
the openmp runtime is not currently built in this configuration, these
71 flang tests get skipped and a warning is emitted.
Here I enable openmp as a dependency for flang but add
-DLIBOMP_FORTRAN_MODULES_ONLY=ON so that only the required mod files are
built and not the whole of the openmp runtime.
This only effects linux bots: Windows and MacOS explicitly exclude
openmp so it will still not be enabled there.
Assited-by: Codex