[mlir][linalg] Don't use `in_bounds` in `vectorizeAsInsertSliceOp` (#245042)
Updates `vectorizeAsInsertSliceOp` (Linalg vectorization) so that masks are
used instead of the `in_bounds` attribute when generating
`vector.transfer_read` and `vector.transfer_write` Ops.
One test in `mlir/test/Dialect/Vector/transform-vector.mlir` is removed. While
the change in the generated IR is insignificant (due to the appearance of
masks), it's an example of mixing many transformations in one test, i.e. going
against our testing guidelines (https://mlir.llvm.org/getting_started/TestingGuide/):
> Tests should be minimal, and only check what is absolutely necessary.
In addition, it's a relatively old test that predates many other more focused
tests (in e.g. mlir/Dialect/Vector or mlir/Dialect/Linalg) - I doubt this
erasure affects test coverage. Finally, it tests the lowering (tiling,
vectorization, bufferization, etc.) of a `linalg.matmul` operation. Such tests
do not belong under `mlir/test/Dialect/Vector`.
Part of https://github.com/llvm/llvm-project/issues/227821
tests/sys/kern/procdesc: test the reaper's own PD_NOWAITPID child
Check that the reaper can waitpid(2) for its PD_NOWAITPID child after
closing the last process descriptor, untraced, detached, or with the
tracing reaper exiting.
Based on reproducers provided by Laam Alif <laamalif at proton.me>.
PR: 301072
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D61975
procdesc_close(): grant waitpid(2) when the reaper is already the parent
When the process is already a child of its reaper, proc_reparent()
returns early and does not re-enable waitpid(2), so after the last
process descriptor was closed nobody could reap the zombie. If the
reaper was also tracing the process, it was additionally linked onto
the reaper's own orphan list, and after PT_DETACH it stayed there
untraced, again without a waitpid(2) reference.
PR: 301072
Reviewed by: kib, markj
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D61975
[Evaluator] Create TargetLibraryInfo in the context of the evaluated function (#245269)
The Evaluator uses a single TargetLibraryInfo instance for each
evaluated function. That TLI is created in the context of
the top-level function being evaluated and is not necessarily
valid for other functions.
In particular, this caused the Evaluator to fold calls to standard
library functions despite the presence of "no-builtins" attribute.
This patch makes the Evaluator create a new
TargetLibraryInfo instance for each evaluated function.
Fixes https://github.com/llvm/llvm-project/issues/244323
textproc/ripgrep: Update 15.2.0 => 16.0.0
Ripgrep 16 is a new major version release of Ripgrep that mostly has
bug fixes, some minor performance improvements and a small number of
new features.
Changelog:
https://github.com/BurntSushi/ripgrep/releases/tag/16.0.0
PR: 301087
MFH: 2026Q4
libc/powerpc64: save v20-v31 in setjmp
setjmp and its variants save the non-volatile GPRs and FPRs, but not the
non-volatile vector registers v20-v31, so after a longjmp they hold
whatever the code that jumped left in them. Julia runs into this when it
switches tasks with sigsetjmp/siglongjmp: the compiler keeps vector values
in v20-v31 and they come back from another task.
jmp_buf has had room for them all along. Add setjmp entry points that save
them and pick those with ifuncs when the CPU has Altivec, so the same libc
still works on CPUs without it, like the e5500. They note in the buffer
where the registers went, and longjmp loads them back only if the note is
there.
rtld can't use ifuncs, so it builds its own sigsetjmp that checks hwcap
when it's called. It needs the registers saved too: when it restarts a
symbol lookup to upgrade its lock, it longjmps out of functions that use
v31, and a lazily bound call came back with v31 zeroed.
[3 lines not shown]
IDS: search alerts by tokens instead of patterns (#11308)
The alert search text is split into words and every word must appear in
the signature, action or addresses of an alert, like the other log
views. This simplifies the controller and the script. The "filepos"
detail lookup now selects exactly the requested position, and the
filter is passed as --filter=%s so a search starting with "-" works.
[mlir] Declare reshapeLikeShapesAreCompatible before verifyReshapeLikeTypes (#245432)
`verifyReshapeLikeTypes` is a function template that calls
`reshapeLikeShapesAreCompatible`, which is only declared further down
the header. The call is dependent, so it resolves at instantiation
through ADL on the lambda's enclosing namespace, which newer compilers
accept. Clang 7 does not (it predates the DR1690 lookup rules for local
classes) and fails with "call to function
'reshapeLikeShapesAreCompatible' that is neither visible in the template
definition nor found by argument-dependent lookup" while building
TensorOps.cpp. Move the declaration above the template so ordinary
lookup finds it.
Change the trampoline in bootloaders to avoid overwriting msgbuf.
- Previously, both primary and secondary bootloaders used the same
common/exec_image.S to trampoline to the next stage. And the trampoline
routine and the stack was written to the end of phisical page.
There is the msgbuf there!
- To avoid this, I split exec_image into one for the primary and one for the
secondary.
- The primary loaders continue to use common/exec_image.S. However, the
new exec_image.S doesn't include a trampoline. Because all primary
loaders already load the secondary loader into its final position.
This change prevents the primary loaders break msgbuf.
- The secondary loader has a new exec_image2 routine derived from
common/exec_image. This one has a trampoline as before, but the trampoline
and the stack are placed at the next page of the loaded kernel.
This change prevents the secondary loader breaks msgbuf.
configd/templates - extend +TARGETS with chmod support, needs documentation (https://github.com/opnsense/docs/issues/943)
each target line is a colon separated entry containing the following entries (optional after the second column:
sourcefile:target filename (pattern):specific cleanup pattern:chmod
[mlir] Use the default op registration in upstream dialects
Opts all upstream dialects that define operations in ODS into `useDefaultOperationRegistration`, which removes a decent bit of code. DLTI, which has no operations, and Transform, whose operations are also generated by its extensions, are left as is. Doing so required minor changes:
* ArmSME and Linalg did an ad-hoc partitioning before and now utilize the partitioning feature instead
* Flang's codegen dialect is now ODS generated
Dialects whose `initialize` became empty set `hasInitializer` to 0.
Co-authored-by: Claude <noreply at anthropic.com>
[mlir][ODS] Register the operations of a dialect by default (#245266)
Dialects registered their ODS operations by expanding `GET_OP_LIST` into
`addOperations` in `initialize`, while sharded and partitioned dialects
had to call the generated `register<Dialect>Operations` themselves. This
was not only an inconsistent interface but also boilerplate for every
dialect definition.
Like attributes and types do since
https://github.com/llvm/llvm-project/pull/243481, operations are now
only registered by a generated `register<Dialect>Operations` hook that
the generated dialect constructor calls, for all generated files whether
sharded, partitioned or neither (i.e., we are consistent again!).
To avoid breaking downstreams `useDefaultOperationRegistration` is
currently set to 0 for compatibility but will be switched in a future
PR.
Dialects without operations, or that register them manually, should set
`useDefaultOperationRegistration` to 0. `-op-registration-name` names
[11 lines not shown]
py-python-discovery: updated to 1.9.7
1.9.7 (2026-11-23)
Fixed
- :class:`~python_discovery.PythonSpec` now raises :exc:`ValueError` for wildcards on operators other than ``==`` or
``!=``, such as ``>=3.12.*``, and after pre-release suffixes, such as ``==3.13rc1.*`` (:pr:`274`) by
:user:`mansur-akhmadi` and :user:`gaborbernat`.
Performance
- Defer imports on Python 3.15 until interpreter discovery uses them, reducing package import time (:pr:`272`) by
:user:`gaborbernat`.
[Mips] Use a 0/1 result for constrained FP compares on R6 (#245918)
#245469 made R6 FP compares produce 0/1 booleans, so lowerSETCC takes
the low bit of the cmp.cond.fmt mask. lowerFSETCC, from #245178, still
returned the whole mask for STRICT_FSETCC and STRICT_FSETCCS, which was
correct while FP compares used 0/-1 booleans. With both changes on main,
a constrained compare used as a value gives -1 for true.
Take the low bit of the mask, as lowerSETCC does. This fixes the
CodeGen/Mips/fp-strict-fcmp.ll failure on main, seen on the buildbots
since both changes landed.
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
py-virtualenv: updated to 21.15.13
21.15.13
Fixed
On Windows, include bytecode cache directories and temporary bytecode files
when checking whether --symlink-app-data needs the seed image’s 8.3 short path.
This lets virtualenv build seed images when the wheel files fit within the
legacy path limit and bytecode compilation needs more room
[MIR2Vec] Build the vocabulary once per module (#245773)
The legacy printer rebuilt it for every machine function
On a 112-function AMDGPU MIR file, `llc -run-pass=none -print-mir2vec`
drops from 14.4s to 6.8s