[HLSL] Move `normalize` implementation to header files (#216228)
Closes #128043.
This PR replaces the previous implementation of `normalize` with a new
one inside the header files. It also adds a pattern match for
`normalize` in `SPIRVCombinerHelper.cpp` so SPIR-V can still emit the
`normalize` GL/CL extension instructions.
Assisted-by: Claude Opus 4.8
[SelectionDAG] Unique extended single-element VT lists with VTLists (NFC) (#219516)
This patch uniques single-element lists containing an extended EVT in
DenseSet-based VTLists, added on August 28, 2026 in commit 1829cfa8daf2.
Assisted-by: Antigravity
[libc] Provide fnmatch.h header and fnmatch() function stub. (#219321)
* Provide a POSIX header`<fnmatch.h>` which `fnmatch()` pattern-matching
function (tailored for use on filenames)
and associated macro.
* Define this as an "experimental" entrypoint on Linux targets
* Implementation is missing at this point, but it might rely (at least
in part) on TBD pattern-matching functionality that is
being built for `<regex.h>` functions.
Assisted by automated tooling, human-reviewed.
RuntimeLibcalls: Add LibraryRef for dispatch-with-exclusion
Let a SystemRuntimeLibrary dispatch a shared provider library while dropping the
impls the target replaces, since a library reference cannot nest inside (sub ...).
This is a compromise from the ideal of explicitly listing all calls, but getting
to that point is prooving to be difficult.
The opt-out is emitted inside setAvailableLibFuncs_<lib>, so the single library's
logic is self contained.
Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
RuntimeLibcalls: Dispatch to library functions from SystemRuntimeLibrary
When a SystemRuntimeLibrary names LibcallLibrary defs, setTargetRuntimeLibcallSets
now dispatches each under an isLibraryAvailable guard, so an impl can be homed
into a library without dropping it from the target. Non-library members keep the
inline path. No target names a library yet, so output is unchanged.
Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
RuntimeLibcalls: Introduce LibcallLibrary schema
Currently the set of system libraries calls is flat and
disorganized. Begin organizing this per-provider library.
The goal is to organize groups of functions by named sets,
corresponding to the underlying library which will be linked.
A LibcallLibrary is a named runtime library whose impls are made
available as a unit; its members use the same dag vocabulary as
LibcallImpls. The emitter emits one setAvailableLibFuncs_<name>
per distinct library name, merging same-named libraries under their
per-variant availability predicates. isLibraryAvailable()
is added as a stub for a future dispatch driver. No target
defines a LibcallLibrary, so generated output is mostly unchanged
(there are some incidental enum reorderings).
Reorganizing all of the library functions require a good bit more
infrastructure to be practical, but this is a minimally functional
piece to start the review.
[2 lines not shown]
xen.4: Canonicalize SYNOPSIS
Move the prose about support that was here to the second sentence of
DESCRIPTION. Remove the note about i386 since i386 is dead in 15.0.
The rest of the manual still contains details about i386 and could
use some TLC by a Xen user.
MFC after: 3 days (to 15 only)
TI AM335x: update clock names
Due to upstream has changed to use clock-output-names we need
to update the names in our code aswell.
Approved by: imp(earlier revison), manu(mentor)
Tested by: Rick Richard
Differential revision: https://reviews.freebsd.org/D46713
TI AM335x: update clock names
Due to upstream has changed to use clock-output-names we need
to update the names in our code aswell.
Approved by: imp(earlier revison), manu(mentor)
Tested by: Rick Richard
Differential revision: https://reviews.freebsd.org/D46713