[mlir][linalg] Refine pack/unpack simplification checks (NFC) (#209522)
Update `isPackOn1D`, which is used by both
`SimplifyPackToExpandShape` and `SimplifyUnPackToCollapseShape`:
* Rename it to `isPackOnEffectively1D` to better reflect its
functionality: the underlying pack can be multi-dimensional.
* Add checks to ensure that the unique non-unit inner tile is used to
tile the unique non-unit unpacked dimension (that was previously
left as an unchecked assumption).
* Add comments to the test file for these patterns, grouping the tests
according to the functionality/cases being tested.
virtio: Accept VIRTIO_F_RING_RESET in the modern PCI transport
Accept per-virtqueue reset when the device offers it, alongside
the V1 flag. Negotiating the feature merely permits the use of
per-virtqueue reset and imposes no obligation on a driver that
never uses it, while refusing capability-only transport features
can make strict devices reject the feature set altogether.
No functional change on hosts that do not offer RING_RESET.
Signed-off-by: Faraz Vahedi <kfv at kfv.io>
Reviewed-by: ngie
Pull-Request: https://github.com/freebsd/freebsd-src/pull/2319
[libc][bazel] Add recently added sys/socket functions and syscall wrappers (#209457)
This patch adds the missing functions to BUILD.bazel:
- recvmmsg
- sendmmsg
- setsockopt
- shutdown
I also add the corresponding syscall wrapper libraries that these
functions depend on, along with a couple of additional type libraries.
I'm leaving the remaining sys/socket functions and test suites out for
now since some of them require additional infrastructure or type
definitions.
Assisted by Gemini.
py-regex: updated to 2026.7.10
2026.7.10
Clarified that the POSIX flag makes it look for only the longest overall match.
Git issue 606: `regex`'s compiled-pattern cache eviction is not free-threading-safe
py-narwhals: updated to 2.24.0
2.24.0
Enhancements
feat: Widen IntoSchema to accept IntoDType values and (name, dtype) pair sequences
feat: add nw.list
feat: Support plugin native objects in is_into_*
feat: stabilize dtype conversion across pandas, pyarrow, and modin test constructors
Bug fixes
fix: avoid potential sql injection in sink_parquet
fix(pyarrow): Adapt for pyarrow v25.0.0
fix(ci): sync all dependencies in altair downstream test
fix: Fix fill_null for Dask with expressions
fix: avoid potential sql injection for join_asof
fix assert_equal_data for objects where __eq__ returns non-bool
[4 lines not shown]
py-mypy: updated to 2.3.0
2.3.0
The Upcoming Switch to the New Native Parser
Mypyc Free-threading Memory Safety
librt.threading: Fast Native Lock Type
Mypyc: Read-only Final Instance Attributes
py-asttokens: updated to 3.0.2
3.0.2
Modernize type annotations
Fix pypy CI by skipping redundant mypy runs on it
Fix IndexError on source mixing lone CR with LF line endings
Release modernization, and publish to PyPI from CI via trusted publishing
py-relativetimebuilder: updated to 3.0.3
3.0.3
Use SPDX license identifier in source files
Correct Read the Docs configuration to point to Codeberg
Drop upper bounds on aniso8601 and attotime requirements
Update supported Python versions to match upstream support status
[libc][realpath][test] Create test files/directories
Follow-up PRs will add path validation etc to `realpath`, which will require paths to exist in the filesystem.
[libc][realpath] Validate path components.
This PR updates `realpath` to validate paths and return `ENOTDIR` or `ENOENT` according to https://pubs.opengroup.org/onlinepubs/9699919799/functions/realpath.html.
This PR also bumps the memory limit in `HermeticTestUtils.cpp`. The realpath unit tests allocate quite a few strings. Since memory in hermetic tests is never free'd, the unit test quickly reaches the limit.
py-tifffile: updated to 2026.7.14
2026.7.14
- Fix series.asxarray returns wrong series for sublevels.
- Support Huron TIFF series and metadata.
- Support FLIMage FLIM series and metadata.
- Support DECTRIS IFD and tags.
- Allow subsampling with any image compression scheme.
- Detect DICOM-TIFF dual-personality format.
[clangd] Use unique_function for config handlers (#203008)
`ConfigYAML.cpp`'s `DictParser` owns its callbacks for one parse and
never copies them, so this replaces `std::function` with move-only
`llvm::unique_function` and removes the unused copy machinery for each
lambda.
In a matched Release AArch64 build, `ConfigYAML.cpp.o` shrank by 94,560
bytes, stripped clangd shrank by 16,848 bytes, unstripped clangd shrank
by 82,512 bytes, and dyld fixups fell by 336.
Validated with the 16 `ParseYAML` unit tests and `clangd --check`; 12
paired runs of 100,000 parses improved mean user CPU time by 3.46% (95%
CI: 1.31% to 5.61%).
Work towards #202616
AI tool disclosure: Co-authored with OpenAI Codex.
[clang][Sema] Fix rejected-valid for explicit object parameters in dependent nested classes context (#209107)
In #89078, we banned explicit object parameters from several invalid
contexts. This patch proposes we relax the restriction and allow
entering contexts so that nested classes can be visited correctly.
Close #136472