[GVN] Decouple GVNValueTable and GVNPass (NFC) (#226232)
This is a first patch in series with the ultimate goal to move `GVNPass`
out of `GVN.h` and into `GVN.cpp`.
This is not straightforward because because of the rather tangled
dependencies between `GVNPass`, `GVNHoistPass`, `ValueTable`, and
`LeaderMap`.
The `GVNHoistPass` pass references `GVNPass::ValueTable`, by peeking
into `GVNPass`, resp. including `GVN.h`. Since `GVNHoistPass` does not
actually depend on `GVNPass` itself, but only on the `ValueTable` it
contains, it would make more sense to move `ValueTable` out of `GVN.h`
to its own header file, to be included by both `GVN.h` and
`GVNHoist.cpp.`
That's not entirely straightforward either since `ValueTable` has
several member functions taking a `GVNPass` reference as an argument.
This prevents moving `GVNPass` out of `GVN.h` and into an anonymous
[8 lines not shown]
[mlir][tosa] Add assembly format for CONST (#226147)
This commit adds an assembly format for the TOSA CONST operation.
Previously, the generic assembly format was used while all other
operations had a custom format. It takes advantage of the incoming
textual format changes in #217291, to minimise impact to downstream
consumers.
security/p5-Crypt-PasswdMD5: Fix build caused by wrong LICENSE_FILE
While here, also define same license file
for ART10, since it contains both.
PR: 298881
Approved by: portmgr (blanket, fix build)
Approved by: osa, vvd (Mentors, implicit)
Co-authored-by: Kousuke Kannagi <mce at FreeBSD.org>
[mlir][memref] Enforce consistent reinterpret_cast metadata (#217338)
This PR implements [[RFC] Clarify `memref.reinterpret_cast` Verification
of Dynamic
Metadata](https://discourse.llvm.org/t/rfc-clarify-memref-reinterpret-cast-verification-of-dynamic-metadata).
## Context
`memref.reinterpret_cast` describes its result through both its mixed
offset/size/stride metadata and its result `MemRefType`. Currently,
verification allowed a dynamic result-type correspond to static
operation metadata, introducing inconsistent descriptors.
For example, the verifier permits:
```mlir
%r = memref.reinterpret_cast %base
to offset: [0], sizes: [%n, 2], strides: [%s, 1] : memref<f32>
to memref<?x?xf32, strided<[?, ?], offset: ?>>
```
where the operation constructs a descriptor with a statically known
[32 lines not shown]
[lldb] Fix offload bundle unit tests on 32-bit systems (#226922)
DataExtractor::GetByteSize returns uint64_t for reasons I don't yet
understand. I might change it to size_t but let's unblock the build for
now.
Fixes #222362 / 08ee0ef5da10d27d5776df1e1ff81c46a38d9b5c.
[X86] Select standalone ~(-1 << n) masks as BZHI (#226158)
InstCombine canonicalizes (1 << n) - 1 to xor (shl -1, n), -1. When that
mask feeds an AND, X86DAGToDAGISel::matchBitExtract folds the whole
expression into BZHI, and the add form is selected as BZHI even on its
own because Select enters matchBitExtract from ISD::ADD. The xor form on
its own is not: a mask that is returned, stored, or consumed by anything
but AND is selected as mov -1; shlx; not.
Enter matchBitExtract from ISD::XOR too under BMI2, so the standalone
mask becomes mov -1; bzhi. That is one instruction shorter and avoids
the shlx+not dependency chain. BMI1-only targets keep the shift form,
since BEXTR would need the count moved into bits 15:8 first.
Assisted-by: Claude Code
ports-mgmt/pkg-be-plugin: new port
pkg-be-plugin is a pkg(8) plugin that automatically creates a ZFS
boot environment before each install, upgrade, or deinstall
transaction. If a transaction leaves the system in a broken state,
the pre-transaction BE provides a clean rollback point.
The plugin uses libbe(3) directly with no subprocess invocations of
bectl(8) or zfs(8). Boot environments are pruned automatically based
on a configurable keep count and minimum age.
Co-authored-by: Michael Osipov <michaelo at FreeBSD.org>
PR: 295305
misc/yelp: import yelp-49.2
This is the gtk4 version, replacing the gtk3 version. Reimporting
under an unversioned prefix, since 'yelp3' is a bad match for yelp 49,
and we don't expect multiple versions in pkgsrc again.
Ok MAINTAINER prlw1.
Changes compared to misc/yelp3:
49.2
====
* Fixed build issue caused by direct inclusion of a GDK header [!79]
* Fixed typo in the metainfo data [!81]
* Fixed compiler warning caused by unused return value [!75]
* Removed a duplicate key in the Flatpak manifest
* Updated translations:
49.1
[18 lines not shown]
[VPlan] Remove (X && Y) | (X && !Y) -> X combine. NFC (#219368)
We have smaller combines that can take care of this now that we process
recipes in a worklist after #213900
gnucash-docs: update to 5.17.
5.17 - 27 Sept 2026
Between 5.16 and 5.17, the following bugfixes were accomplished:
o Bug 799744 - Import transaction from CSV skips fields if CSV file has
backslash just before final quote in a quoted field:
Document added checkbox.
The following fixes and improvements were not associated with bug reports:
o Guide Basics: Deleted the note about .xac files
o Guide Accounts: Changed 'account ' to 'account type':These lists
are actually account types.
o Guide Accounts: Changed 'courses' to 'quotes'
o Manual Account Actions: Remove Account types section as it's
documented in the Guide.
o Update adjust-dpi.sh to eliminate file changes due to rounding
differences and other very small changes.
o Resize Investment Lots figures to fit in the page.
o Document CAGR columns in Investment Lots report: Add Realized and
Unrealized CAGR documentation to the Investment Lots report in the
[3 lines not shown]