[SLP] Test for code size costing changes (#217400)
Should vectorize differently based on the costing criteria (don't
currently).
To be used by #217398.
[SimplifyCFG] Check every sinking candidate in canSinkInstructions (#217372)
canReplaceOperandWithVariable() can depend on the operand value (e.g. if
the operand of only some instructions is a swifterror value, or a
constant operand for an operand bundle). Check operands of all
instructions to sink.
Fixes verifier errors after sinking the swifterror examples.
PR: https://github.com/llvm/llvm-project/pull/217372
[docs] Finish MyST migration for tutorial docs (#217160)
Tracking issue: #201242
See the [migration guide] for more information.
[migration guide]:
https://llvm.org/docs/SphinxQuickstartTemplate.html#markdown-migration-guidelines
This is a stacked PR based on #217158 , which will be a standalone
commit that
renames *.rst -> *.md before this PR lands for history preservation
purposes.
This was prepared with rst2myst plus LLM-assisted cleanup. I paged
through all the generated HTML looking for migration artifacts, and all
of the differences I could find appear to be formatting error
corrections. Please spot check my work and approve if it looks good. You
can use the HTML links below to confirm it renders properly.
-----
[128 lines not shown]
[docs] Rename tutorial docs to Markdown (#217158)
Tracking issue: #201242
See the [migration guide] for more information.
[migration guide]:
https://llvm.org/docs/SphinxQuickstartTemplate.html#markdown-migration-guidelines
This is the initial straight rename commit. It will probably break the
docs build, but it has to be a separate PR for blame preservation
purposes.
linux: Add STF type and convert some if_type to ARPHRD
Convert IFT_BRIDGE and IFT_L2VLAN to ARPHRD_ETHER, and IFT_LOOP
to ARPHRD_LOOPBACK in linux netlink.
Also, add ARPHRD_SIT and convert IFT_STF to it.
Reviewed by: kfv
Differential Revision: https://reviews.freebsd.org/D58573
NAS-142115 / 26.0.0-RC.1 / Add RAW data type for TDB databases (by anodos325) (#19492)
The TDB data types were added for early clustered SCALE, where the
contents had to be JSON serializable, and so binary values are
base64-encoded on insertion and decoded on read. We now call into the
native tdb tables directly and no longer need that intermediate step
except where a value still leaves middleware as JSON.
Add TDBDataType.RAW, which reads and writes bytes directly. The
conversion moves into a shared encode_value() so the local and clustered
write paths cannot disagree about it, and it now checks the value
against the data type. Together these remove a category of bug where the
encode and decode of a pair do not match.
Extend the tdb, passdb and group_mapping unit tests for the new data
type and the on-disk formats.
Original PR: https://github.com/truenas/middleware/pull/19490
[2 lines not shown]
IR: Validate and document the "target-abi" module flag
The "target-abi" module flag is already emitted by clang for RISC-V and
consumed by the RISC-V and LoongArch backends, but it was neither validated
by the IR Verifier nor documented in LangRef. Add a Verifier check that the
flag's value operand is a non-empty string.
Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
[AMDGPU] PromoteAlloca: split scalar accesses that span several elements
promoteAllocaToVector already splits a *vector* access across several
elements when it is a multiple of the element size, but a *scalar* access
had to be bitcastable to the element type, so an i64 load from an alloca
promoted to <8 x i32> was rejected as "not a supported access type" and
the object stayed in scratch.
Accept a scalar access that is a whole multiple of the element size and
route it through the existing subvector path, which already builds the
value from consecutive elements and bitcasts. Accesses with padding are
still rejected, since splitting those would put the pieces at the wrong
offsets, as are non-integer non-float types.
[AMDGPU] PromoteAlloca: flatten homogeneous structs to vectors
getVectorTypeForAlloca() peeled nested ArrayType and one inner
FixedVectorType, but stopped at any StructType. An alloca of an array of
structs was therefore rejected with "Cannot convert type to vector" and
fell back to scratch, even when the struct was a trivial wrapper around a
scalar.
Peel structs too, but only when every field has the same type and the
struct has no padding, so flattened elements keep the byte offsets the
surrounding index arithmetic assumes. Structs with differing field types
or with padding are left alone.
Simplify logic via suggestions from PR feedback. Add additional test cases, make tests a bit more complex so they don't fold into simple store of constant
[docs] Fix default Sphinx worker count (#217429)
I renamed the variable at the last minute, and the search and replace
didn't catch all instances. Follow-up to #217161 /
0e6f9b26868c37cfb27fdc99af0524ed78e1dfd8.
CodeGen: Consolidate target-abi validation
LoongArch and RISCV both implemented an error if the
"target-abi" module flag was inconsistent with the -target-abi
option flag. Consolidate these into one place, and change
from a fatal error to a nonfatal context error.
One untested incidental behavior change is for garbage names.
Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
p5-Net-OAuth: update to 0.33.
0.33 Mon 17 Aug 23:14:01 BST 2026
[Security]
- Restrict the verification algorithm to those specified in the allowed_signature_methods, which is
now required. THIS IS A BREAKING CHANGE.
See https://github.com/vurtdev/Net-OAuth/security/advisories/GHSA-c8rm-g5cm-4pf5 (CVE-2026-72889)
for more information.
- HMAC_SHA1 and HMAC_SHA256 signature keys cannot be blank.
- HMAC_SHA1, HMAC_SHA256 and PLAINTEXT signature verification now use constant-time comparison (CVE-2026-75589).
[Documentation]
- Updated the GitHub repository location, which moved before the version 0.32 release.
(The former location does redirect to the new location.)
- Removed CONTRIBUTING.md due to changes in the AI policy.
[2 lines not shown]
Add RAW data type for TDB databases
The TDB data types were added for early clustered SCALE, where the
contents had to be JSON serializable, and so binary values are
base64-encoded on insertion and decoded on read. We now call into the
native tdb tables directly and no longer need that intermediate step
except where a value still leaves middleware as JSON.
Add TDBDataType.RAW, which reads and writes bytes directly. The
conversion moves into a shared encode_value() so the local and clustered
write paths cannot disagree about it, and it now checks the value
against the data type. Together these remove a category of bug where the
encode and decode of a pair do not match.
Extend the tdb, passdb and group_mapping unit tests for the new data
type and the on-disk formats.
(cherry picked from commit 0e6177daa43d2309e934a31a05a0de8001aaacda)
[LLD][MachO] Remove eh-frame test binaries (#217107)
Use `update_test_body.py` to generate `.yaml` files that can be
converted to `.o` files to be used in the test. This allows us to delete
the `eh-frame-{arm64,x86_64}-r.o` binaries, and makes it much easier to
update the data (note that it needs to run on a mac). I check the output
of `obj2yaml` and saw the only difference from the inline `.yaml` files
are the version numbers.
nhop.9: Rewrite relics of rtentry.9 into nhop.9
Parts of rtentry.9 information such as information related to
the nexthop is outdated.
Remove those relics and add the new design into separate
manual instead.
Reviewed by: bcr
Discussed with: ziaee
Differential Revision: https://reviews.freebsd.org/D58564
sun68k: avoid PROM DVMA map aliasing in sun3 bootloader
NetBSD/sun3 11.0 GENERIC fails to boot from a SCSI disk on
my Sun 3/60 with at least PROM revisions 2.8.3 and 3.0.1.
It looks sun3 PROM SCSI driver allocates internal resources
in DVMA space starting at 0xfff00000. The sun3 standalone
DVMA setup currently aliases its local address range starting
at 0x200000 to that same address.
Since the alias is created by sharing PMEGs, PTE changes made by
the PROM in its DVMA space also change the corresponding standalone
mappings. These mappings are inherited by the loaded kernel.
On Sun3, pmap_bootstrap() derives the first available PA from
(nextva - KERNBASE3), assuming that the kernel bootstrap VA range
is backed by the corresponding contiguous physical addresses.
A leaked alias can instead map part of that range to an unrelated
[14 lines not shown]
NAS-142059 / 26.0.0-RC.1 / Directory services cache fixes (by anodos325) (#19484)
insert_cache_entry() built the NAME_ key from the numeric id rather than
the name, so entries added by the lazy insertion path were only
reachable by id. A by-name lookup for such an entry missed the cache and
fell through to NSS plus idmap.synthetic_user. The bulk fill path was
unaffected, and query_cache_entries() reads only ID_-prefixed keys, so
enumeration results did not change.
DSCacheFill did not remove its temporary files when `fill_cache()`
raised `before _commit()`, so a failed fill can leave
`directory_service_cache_tmp_*` files behind in the cache `directory.
fill_cache()` documents NssError, WBCErr and job abort as reachable, and
nothing else removes those files. Cleanup now also covers a failure
partway through `__enter__`, which does not invoke `__exit__`.
expire_cache() now writes a timezone-aware UTC timestamp, matching
fill_cache() and check_cache_expired().
[12 lines not shown]