[mlir][tensor] Keep the vector.mask pass-thru when folding extract_slice into transfer_read (#244844)
`TransferReadOfExtractSliceOpFolder` re-masks the folded
`vector.transfer_read` with the mask of the enclosing `vector.mask` but
drops its pass-thru, so the masked-off lanes get the padding instead of
the pass-thru.
Pass the pass-thru to the new `vector.mask` as well.
Found while reviewing #243710, which fixed the same issue in
`TransferReadDropUnitDimsPattern`.
#228140 also touches this function.
Part of #239511.
Assisted-by: Claude
[flang][OpenMP] Require an enclosing SIMD for construct={simd}
A construct={simd} selector without properties was ignored, because SIMD
is a predefined trait selector name (it can take clause properties)
rather than a directive name. A DECLARE VARIANT or METADIRECTIVE
alternative that requires SIMD was therefore selected everywhere,
including outside any SIMD construct.
Record the SIMD construct trait for such a selector. Lowering builds the
construct trait set from the enclosing MLIR operations, so also recognize
omp.simd there; otherwise calls inside SIMD would no longer match.
Fixes #244759
Assisted-by: GitHub Copilot
www/code-server: Install ripgrep for FreeBSD platform
VS Code resolves the bundled ripgrep with the native platform name, so
the search failed with ENOENT. The FreeBSD executable was installed
under linux-x64. Install it as freebsd-x64 and add the PCRE2 library
it needs to LIB_DEPENDS.
PR: 300985
Sponsored by: Netzkommune GmbH
powerpc: don't save the FPU state again in freebsd32_sigreturn()
set_mcontext32() restores the floating point registers from the context,
then freebsd32_sigreturn() called save_fpu(), which writes the hardware
registers, the ones the signal handler left behind, back into the PCB.
The process resumed with the handler's registers instead of its own.
sys_sigreturn() has no such call; drop it here too.
A 32-bit program that loads f14, takes a signal whose handler loads
another value and reads f14 back got the handler's value on a
COMPAT_FREEBSD32 kernel; it gets its own now, like the 64-bit build.
Reviewed by: jhibbits
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D61792
net/remmina: 1.4.44
ChangeLog:
* Implement AAD authentication for RDP
* [REM-3499] Fix bug with pre and post connect commands
* [REM-3130] avoid unwanted connections (sending statistics even when the
'Disable anonymous statistics' option is chosen)
* [REM-3485] Remove extra tooltip message from security preferences
* [REM-3497] improve floating toolbar delay
* Add Kerberos config Snap Layout
* Add support for webauthn/FIDO2 passthrough
* Support Azure Viartual Desktop (RDPW)
* move FreeRDP call into ifdef
* [REM-3430] Allow connecting to all connections within a subgroup
* [REM-3472] Allow editing a connection's setting while within the connection
window
* [REM-3462] Strip edit texts when pasted from clipboard
* [REM-3474] Remove any spaces from server field when saving a connection
[62 lines not shown]
[flang][OpenMP] Require an enclosing SIMD for construct={simd}
A construct={simd} selector without properties was ignored, because SIMD
is a predefined trait selector name (it can take clause properties)
rather than a directive name. A DECLARE VARIANT or METADIRECTIVE
alternative that requires SIMD was therefore selected everywhere,
including outside any SIMD construct.
Record the SIMD construct trait for such a selector. Lowering builds the
construct trait set from the enclosing MLIR operations, so also recognize
omp.simd there; otherwise calls inside SIMD would no longer match.
Fixes #244759
Assisted-by: GitHub Copilot
[cmake][runtimes] Pass variable type for passthrough CMake options (#227662)
Passing the types affects the handling of `PATH` cache variables.
The motivating case is setting `COMPILER_RT_INSTALL_LIBRARY_DIR` without `CMAKE_BINARY_DIR` getting prepended to it.
Previously reverted because of https://github.com/llvm/llvm-project/pull/198505#issuecomment-4496493320.
However there's insufficient information to replicate or fix the non-upstream build issue so I'll go ahead with reapplying in the hopes that maybe it's magically resolved itself.
Revert-Of: 313ab4dc3b3a5f4c14079c82806c1f28975f724f
Re-Apply-Of: 2e06e008a7b44fab5c0d7fbc4331c696b5e19b06
sysutils/legion: Add New Port
Legion runs containers on FreeBSD hosts as a cluster. Containers are
jails, images and volumes live on ZFS, services are balanced by pf, and
nodes are joined by a WireGuard mesh. One binary is the daemon on every
node and the command line.
www: https://github.com/grepjava/legion
PR: 300441
Sponsored by: Netzkommune GmbH
[mlir][linalg] Do not fold tensor.pad into a read inside vector.mask (#243927)
`PadOpVectorizationWithTransferReadPattern` folds a `tensor.pad` into a
`vector.transfer_read` of its result and replaces the read's padding
with the pad value. It bails out on a mask operand, but not on
`vector.mask`, where the masked-off lanes take the read's padding.
For example, vectorizing a `linalg.pack` (tile 8, padding `-1`) of a
`tensor.pad` (3 to 5 elements, value `7`) gives a masked read of the
pad. After `pad_vectorization`, the packed row is `1 2 3 7 7 7 7 7`
instead of `1 2 3 7 7 -1 -1 -1`.
The pattern now bails out on reads inside `vector.mask` too. Tested by
`@negative_pad_and_transfer_read_in_vector_mask`.
Part of #227821 and #239511.
Assisted-by: Claude
[SystemZ] Use NORK/NOGRK for bitwise NOT on z15+ (#244815)
With the miscellaneous-extensions-3 facility, `xor x, -1` can be
selected as a single NORK (i32) or NOGRK (i64) with both source operands
equal. This replaces LR+XILF for i32 and LCGR+AGHI for i64: one
instruction instead of two, with a shorter encoding and no register
copy.
Update affected tests and add not-01.ll coverage for z15 and z14.
Assisted by: IBM Bob
sysutils/dfs: New port
A configuration (dotfiles) manager with a template engine and true 2-way
synchronization. It uses a git repository as a configuration source and
mirrors its content into a destination directory (usually $HOME). Any
changes in the rendered file are translated back into the template.
PR: 296985
Co-authored-by: Kenneth Raplee <kenrap at FreeBSD.org>
Reviewed by: arrowd (co-mentor)
Approved by: makc (mentor)