[mlir][SparseTensor] Fix crash demapping alloc_tensor with a copy operand (#219319)
`TensorAllocDemapper` reconstructs demapped level sizes for a
`bufferization.alloc_tensor`/`tensor.empty` by pairing each dynamic
result
dimension with an entry from the op's `dynamic_sizes` operand list,
popping via
`ValueRange::front()`.
When an `alloc_tensor` has a `copy` operand instead of explicit dynamic
sizes,
`dynamic_sizes` is legitimately empty — the op's own verifier requires
that the
sizes are implied by the copy operand and must not be specified — so
`front()`
was called on an empty range and asserted:
```
llvm/include/llvm/ADT/STLExtras.h:1253: Assertion `!empty() && "expected non-empty range"' failed.
[20 lines not shown]
(textproc/R-stringi) Updated 1.8.7 to 1.8.9
## 1.8.9 (2026-07-30)
* [BUGFIX] Fixed build/runtime warnings.
* [BUILD TIME] The configure script no longer tries to fall back to C++11.
Clear the live media's settings from the installed system
pc-sysinstall copies the live root to the target with cpdup and excludes
only zpool.cache, so everything ghostbsd-build writes into the image
arrives on the installed system. install_station_enable and root's
.xinitrc both came along, which meant the installer relaunched on the
new machine's first boot. The service tried to disable itself after
startx returned, but that is long after cpdup has run, and it edited a
live rc.conf that is discarded at reboot anyway.
The installer owns the target, so the cleanup belongs here. create_cfg
now removes the service's rc.conf.d entry, root's .xinitrc, and the
schema override that keeps the live session from locking, then
recompiles the schemas so gschemas.compiled stops serving the overridden
defaults. Enabling setup-station moves to /etc/rc.conf.d/initial_setup,
replacing the warning comments that were appended to the user's rc.conf.
The mate image now autologins the live user through lightdm rather than
through gettytab and ttys, so the seds that rewrote those files have
[5 lines not shown]
makefs: zfs: Allow the path vdev property to be set
This allows specifying custom vdev paths (such as GPT labels like
/dev/gpt/...) when creating ZFS filesystem images via makefs(8), rather
than defaulting to /dev/null.
Reviewed by: markj
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D59031
(cherry picked from commit 5fece2484324be52737e4cea86658a4b8d3107fc)
[VPlan] Compute SCEV for SDiv with non-negative operands. (#219715)
If both operands of an SDiv are known non-negative, it is equivalent to
an UDiv, mirroring ScalarEvolution's handling in createSCEV.
Adds m_SDiv to VPlanPatternMatch.
Alive2 Proof: https://alive2.llvm.org/ce/z/NYa6Vd
[LLVM][NFC] Make metadata-number checks robust (#219610)
These checks care about the metadata attached to an instruction or
reported in a diagnostic, not the incidental numeric slot assigned while
printing. Match metadata slot numbers with FileCheck patterns so
numbering changes do not require unrelated test updates.
[SLP]Recognize interchangeable cmp predicates with boundary constants
Treat boundary comparisons canonicalized to eq/ne (e.g. x <u 1 became
x == 0) as interchangeable with the rest of the bundle by adjusting
the compared constant, emitting a single vector compare.
Fixes #190505
Reviewers: RKSimon, bababuck
Pull Request: https://github.com/llvm/llvm-project/pull/218237
misc/far2l: update Far2L to version 2.9.0 (sooner not later)
- New experimental SDL GUI backend and various color themes
- AWS support using built-in custom S3 implementation based
on libneon (no need for `devel/aws-sdk-cpp' port anymore)
- New plugins and FISH+ protocol support in NetRocks plugin
- CpuArch.h patches no longer apply (paths had changed), so
convert them to sed(1) calls instead and amend CATEGORIES
Reported by: portscout
[clang-tools-extra] Add separate CLANG_TOOLS_EXTRA_INCLUDE_TESTS option (#215761)
clang-tools-extra tests depend on the llvm-bcanalyzer CMake target,
which exists in LLVM's CMake project but is not visible when Clang is
built separately from LLVM. This causes CMake errors when
CLANG_INCLUDE_TESTS is ON but the LLVM tools are not available.
This patch introduces CLANG_TOOLS_EXTRA_INCLUDE_TESTS as a separate
CMake option to control clang-tools-extra tests independently, allowing
users to build Clang with tests enabled (CLANG_INCLUDE_TESTS=ON) while
disabling clang-tools-extra tests (CLANG_TOOLS_EXTRA_INCLUDE_TESTS=OFF)
when building Clang separately from LLVM.
For backwards compatibility, CLANG_INCLUDE_TESTS=OFF continues
to turn off clang-tools-extra tests as well.