interfaces: push the PPP code a little further
It's time to clean this up some more since we have
the testers to look into this:
* $as_interface caller was removed in 3020bf2b8b7a8cc0
* re-use existing interface_ppps_hardware()
* pass $all_devices down from interfaces_configure() since
we have it
* let interface_ppps_hardware() bail on wrong device names
(including ^ppp which would emit a device node in /dev)
* since we don't emit a device node in /dev we can dial
back the guard code in interface_configure()
[flang][OpenMP] Check metadirective replacement nesting
A selected metadirective replacement is not represented on the ordinary
OpenMP directive stack. As a result, nesting checks can miss both the
replacement itself and constructs nested in its associated region.
Track clause-bearing effective directive paths and use them for existing
worksharing, master, barrier, SIMD, scan, ordered, and cancellation
restrictions. Apply the checks only to reachable replacements and add
focused semantic coverage.
video: add V4L2 cropping, control menu and overlay symbols
Adds missing structs symbols for V4L2.
video(4) capture devices do not crop, expose menu controls or support
overlay, and return ENOTTY for the new ioctls.
Applications enumerate these unconditionally and degrade gracefully
at run time, but fail to build when the declarations are missing.
Reviewed by: adrian
Differential Revision: https://reviews.freebsd.org/D59203
[clang][ssaf][clang-reforge] Tool for merging per-TU source-edit files (#216183)
Add a new tool that merges per-TU
clang::tooling::TranslationUnitReplacements YAML files for one link unit
into a single merged YAML, deduplicating identical edits and dropping
conflicting overlapping edits rather than silently picking a winner. The
tool does not apply edits to source files; that remains the caller's
responsibility via clang-apply-replacements.
rdar://179151250
[InstrProf] Fix tests broken on some platforms (#219257)
https://github.com/llvm/llvm-project/pull/217083 broke some tests on
some platforms. Require `x86_64-linux` for these tests to fix the bots.
* `memprof.ll`: MemProf's stack id hash algorithm apparently gives
different hashes depending on the platform
* `merge-traces-seed.proftext`: Apparently
`std::uniform_int_distribution` is different on some platforms, causing
our random sampling algorithm to give a different set on some platforms
Update EN-26:20.microcode to split 15.x and 14.x.
The 14.x patch required one additional commit to be included. Regenerate
and split the patches into major version specific patches.
Add Revision History to EN text and the two different patch URLs.
Reported by: David Cross
Approved by: so
[Flang][OpenMP] Privatize descriptors for assumed shape array maps for performance increase (#212336)
This PR aims to decrease the performance overhead of descriptor mapping
by privatizing the descriptors, thus having them part of the initial
kernel payload as opposed to a separate more costly H2D transfer. We do
so by modifying the map types for the descriptor, hooking into the
runtimes existing privatization of attach pointers. Some minor tweaks in
the lowering to LLVM-IR are also required to specialize around this
attach map privatization case. The intent is to expand this
privatization to more comprehensively be the default case for
descriptors, so hopefully we'll be able to assimilate the edge case
better with the member mapping in the future.
This currently only applies to assumed shape array arguments while we
test the cost effectiveness and possible downsides.
Co-author: Akash Banerjee <Akash.Banerjee at amd.com>
[clang-format] Respect definition separators when MaxEmptyLinesToKeep: 0 (#206406)
Fixes #206340.
The formatter should remove empty lines before Allman opening braces,
but should preserve the required empty line between function
definitions.
I have added a test case "AlwaysMaxEmptyLinesZeroAllman", and have
ensured other test cases run fine along with this one.
[GlobalISel] Fix inverted libcall status check in createFCMPLibcall (#219242)
BuildLibcall tested `if (!Status)` on the LegalizeResult returned by
createLibcall. Since LegalizeResult is an enum with AlreadyLegal == 0,
that condition is false for both Legalized and UnableToLegalize, so a
failed libcall was never detected. The helper then built an ICMP against
the undefined result register and reported success, so the legalizer
never fell back.
Check `Status != Legalized` instead, so failures propagate and the
caller can bail out.
On arm64ec, GlobalISel call lowering is unimplemented, so this silently
dropped `fp128` compare libcalls at `-O0`. Add a test that checks the
expected `__eqtf2`, `__lttf2` and `__unordtf2` calls are emitted at both
`-O0` and `-O2`.
[NFC][HLSL] Generalize and consolidate texture tests (#218519)
Many of the texture tests were parameterized specifically for Texture2D
and Texture2DArray, therefore retaining several 2D-specific literals,
including: the `hlsl::dimension` spelling, the width of the offset / ddx
/ ddy / LOD-location vectors, the operator[] index type and the
`spirv.Image` Dim operand.
Furthermore, the macro names used for parameterization was inconsistent
among test files.
This PR re-parameterizes the texture tests to generalize to more than
only 2D textures, and keeps the macro names consistent across test
files. Also consolidates the remaining texture-type-specific tests into
the general texture tests.
Each test file now also has a comment describing each macro used in the
test.
[9 lines not shown]