[mlir][affine] Mask transfers in SuperVectorize instead of using in_bounds (#243425)
SuperVectorize sets `in_bounds` when the memref dim is a multiple of the
vector size, without looking at the index. With vectors of 8 on a
`memref<64xf32>`, a read of `%src[%i + 1]` reads one element past the
end, and a write to `%dst[%i + 4]` writes four past the end.
SuperVectorize now masks each transfer by `dim - index`. For that,
`createReadOrMaskedRead` now builds its mask like
`createWriteOrMaskedWrite`, from the indices and the permutation map.
SuperVectorize is the only caller that passes them.
For downstream pipelines: the masks are `vector.mask` regions, so
lowering to LLVM needs `-lower-vector-mask`. `-eliminate-vector-masks
-canonicalize` removes the masks that are provably all-true and leaves
those transfers with `in_bounds = [true]`. Main left some of them at the
default `false`, e.g. a read of `memref<100xf32>` in a loop `0 to 64`.
Transfer unrolling handles `vector.mask` since #239554.
[9 lines not shown]
[libc++][pstl] Add a serial implementation of std::rotate (#244574)
This PR adds a serial implementation of `std::rotate` to PSTL.
Currently there's no intent to provide a parallel version of this
algorithm, but later it can be added as well.
Part of #99938.
devel/gitea-cli: Add New Port
gitea-cli manages repositories, issues, pull requests, releases, and
other Gitea resources with explicit commands suitable for local
development and CI. The binary is called gt.
www: https://gitea.com/gitea/cli
PR: 300635
Sponsored by: Netzkommune GmbH
[ARM] Promote bf16 libcalls via f32 (#244879)
This add promotion rules for bf16 operations, the list of which is taken
from the current fp16 operations.
[CodeGen] Fix physical-register input latency for inline asm (#229764)
As described in #229538, the scheduling DAG classifies inline asm’s
variable inputs as pseudo uses, assigning zero latency and hiding
modeled producer latency from scheduling decisions. The dependency
preserves instruction order, but the scheduler does not account for the
time needed to produce the result.
This patch is a more generic approach which fix the issue in general
infrastructure.
Fix approach:
* In `ScheduleDAGInstrs`, recognize explicit inline-asm inputs as real
uses and allow explicit definitions feeding them to bypass the
pseudo-definition check.
* The existing `computeOperandLatency()` then supplies modeled producer
latency, including for asm-to-asm dependencies.
* Implicit bookkeeping operands and other consumers retain their
existing behavior.
[3 lines not shown]
textproc/lv-hyphen: Add new port
This port provides Latvian hyphenation rules, effectively
allowing users of Libre/Open Office to hyphenate Latvian words.
PR: 299129
Pull Request: https://github.com/freebsd/freebsd-ports/pull/674
textproc/lv-hunspell: Add new port
This port provides Latvian hunspell dictionaries, effectively
allowing users of Libre/Open Office to check Latvian spelling.
PR: 299128
Pull Request: https://github.com/freebsd/freebsd-ports/pull/673
Remove unused legacy setuid kdelibs4support
No consumers anymore, port last touched in 2025.
setuid fileshareset is broken without setuid marker, but noone complained.
OK rsadowski (maintainer)
[AMDGPU] Keep soft waitcnts unchanged until SIInsertWaitcnts converges
On the first visit to a loop header only the preheader state is known.
A soft waitcnt there (e.g. from a release fence) can have some of its
counters simplified away while another counter keeps the instruction
alive: the fence's own vmcnt(0), a preceding wait.asyncmark, or an
explicit s_waitcnt. The soft waitcnt was then rewritten with the
simplified value and promoted to a hard waitcnt, or merged into a
preceding hard one. When the back edge later brought a pending LDS
store, the original lgkmcnt(0) request was gone, and the s_barrier after
the release fence no longer waited for it.
Treat soft waitcnts as requests that depend on the incoming state: never
merge, promote or rewrite them while the analysis iterates. They are
kept unchanged in DeferredErasures, a hard waitcnt (existing or new)
carries what is needed on each visit, and the soft waitcnts are erased
once the analysis converges. This extends #220357, which did the same
only for soft waitcnts that were simplified away entirely.
[11 lines not shown]
emulators/libretro-flycast: Update to 2.7
The bundled submodules are pinned to the gitlinks of the v2.7 tag. The
Vulkan-Headers patch is no longer needed. SDL, breakpad, oboe, Syphon and
Spout2 are not used by the libretro build and are removed from GH_TUPLE;
tinygettext, rcheevos, libjuice, xbyak, asio and websocketpp are new.
This fixes the build with CMake 4.
Hand the port over to emulation@ with the consent of the previous
maintainer.
PR: 298570
Sponsored by: Netzkommune GmbH
(cherry picked from commit ab70539012a92e76a5196c96062edc2631665253)
[clang] Correct the argument declaration of 'ptrauth_vtable_pointer' in Attrs.td (#243446)
The three enum parameters of 'ptrauth_vtable_pointer' were declared with
IsString set, but its custom handler requires *identifier* arguments in
those positions and rejects anything else.
There is no observable behavioral difference since the attribute does
not take the generic path where IsString would matter.
Found by observation.
[AMDGPU] Pre-commit tests for soft waitcnt requests lost at a loop header (NFC)
Two cases where a soft waitcnt at a loop header loses its lgkmcnt(0)
request: on the first visit no LDS operation is pending, so lgkmcnt is
simplified away while vmcnt keeps the instruction alive (either the soft
waitcnt's own vmcnt, or a preceding hard vmcnt(0) it is merged into).
The DS write in the loop is then not waited for before the S_BARRIER on
the next iteration. The checks show the current, incorrect output.
Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
emulators/libretro-flycast: Update to 2.7
The bundled submodules are pinned to the gitlinks of the v2.7 tag. The
Vulkan-Headers patch is no longer needed. SDL, breakpad, oboe, Syphon and
Spout2 are not used by the libretro build and are removed from GH_TUPLE;
tinygettext, rcheevos, libjuice, xbyak, asio and websocketpp are new.
This fixes the build with CMake 4.
Hand the port over to emulation@ with the consent of the previous
maintainer.
PR: 298570
Sponsored by: Netzkommune GmbH
multimedia/vdr: Bring back VDR (Digital Video Recorder for DVB devices)
This port is based on the vdr port removed in 2023. It's not planned
to bring back all vdr plugins into the portstree - just the vdr port
and probably a few output plugins.
Patches have been send upstream already but it might take some time to
get them all merged.
Thanks a lot to Stefan Rumetshofer for his interest in VDR and also for
the main work on this port. I have just cleaned up and fixed various
details and updated it to latest 2.8.4.
Thanks a lot to nox@ who sadly passed away in 2015. He initially ported
and maintained vdr on FreeBSD from 2011-2015 and the port would probably
not exist without him! Thanks Jürgen!
PR: 273788