[CIR][flang][CMake] Migrate generated-header dependencies
Replace CIR's mlir-headers dependencies and Flang's global MLIR library
lists with actual library dependencies. Declare public header ownership
and keep source shards, bytecode and lowering tables private.
CIRLowering.inc is no longer generated by install-clang-headers; only
transform/lowering sources include it and each consumer lists
CIRLowering. clang_tablegen accepts PRIVATE_TARGET to create it without
registering a global Clang dependency, isolating its output from the
caller's TABLEGEN_OUTPUT. Use add_private_tablegen_target for bytecode
tables, source shards and FIR canonicalization patterns, keeping their
outputs out of later generation targets. Keep
CanonicalizationPatternsIncGen in flang-headers so the header install
still generates every installed .inc file. clangFrontendTool links CIR
libraries privately after creation to preserve LLVM component
visibility, reducing obj.clangInterpreter's prerequisite edges from 579
at the base to 535 and obj.clangFrontendTool's from 1710 to 888.
[21 lines not shown]
[MLIR][CMake] Stop depending on mlir-generic-headers by default
Remove the default mlir-generic-headers dependency from ordinary and
example libraries. Migrate generated-interface requirements to library
owners, including the 17 requirements that become necessary when the
generic default is removed. Keep the compatibility aggregate and
registrations.
MLIRIR also lists MLIRInferIntRangeInterfaceIncGen for Matchers.h. Add
the Transform/Interfaces generator ordering. MLIRDialectUtils uses the
ArithDialect owner for ReshapeOpsUtils.h. Forward MaskableOpInterface's
compile-only MaskingOpInterface dependency through the local helper so
directly compiled libraries receive a bridge too.
MLIRCAPIIR links MLIRInferTypeOpInterface privately. MLIRPass,
MLIRRewrite and MLIRRewritePDL drop their explicit DEPENDS
mlir-generic-headers.
Extend the release note, guide and aggregate-independence regression to
[3 lines not shown]
[MLIR][docs] Document the CMake infrastructure
Describe MLIR's TableGen, library, visibility, aggregation, installation
and generated-header conventions in one infrastructure guide. Explain
library owners, explicit generators, compile-only requirements and
add_private_tablegen_target for source-only generators.
Document raw-link bridge usage, generated-header ordering and
unsupported compile-only spellings. Describe the aggregate defaults as
they are today. Link the guide from CreatingADialect.md.
Assisted-by: Codex
[MLIR][CMake] Stop depending on mlir-headers by default
Remove the default mlir-headers dependency from the dialect, conversion,
extension and translation library helpers. Keep the aggregate, its
registrations and explicit compatibility dependencies available;
mlir-generic-headers remains a default.
Replace redundant foreign generator edges with library links or
compile-only header owners. Add generator-to-generator ordering where
one generated header includes another. Keep requirements already covered
by generic headers or existing links. MLIRROCDLDialect, MLIRXeVMDialect
and MLIRSPIRVDialect retain private compile-only requirements on
MLIRGPUBase for GPU compilation attribute declarations.
MLIRRewrite drops its PDL generator dependencies; the PDL libraries it
links publish them. Remove redundant C API pass-generator dependencies.
Test aggregate independence for the dialect, conversion, extension and
translation helpers.
[6 lines not shown]
[CMake] Propagate generated headers through link dependencies
llvm_add_library made object libraries wait for whole PUBLIC link
providers to obtain generated headers. Publish marked DEPENDS generators
through the LLVM_GENERATED_HEADERS transitive compile property instead,
and order obj.<name> after the evaluated closure through a
<name>.headers bridge target. PRIVATE and transitive compile
requirements participate without compiling provider objects.
Use COMPILE_ONLY for another library's headers without its
implementation. Keep these items build-local, and create a bridge for
directly compiled libraries only when such an item is present.
llvm_add_generated_header_bridge covers items added later. Existing
Windows PCH variants also wait for the owner's bridge. Executables
compiled through obj.<tool> receive a bridge too, without linking their
object libraries to providers.
Shared libraries republish the interfaces of unkeyed links and
components hidden by shared mode. Explicit PRIVATE component
[35 lines not shown]
virtio_gpu: check the vt(4) attach and detach results
The driver recorded a framebuffer attachment vt_allocate() had refused,
and freed the framebuffer when vt_deallocate() failed, leaving vt(4)
drawing into freed memory.
MFC after: 3 days
Reviewed by: ngie
Differential Revision: https://reviews.freebsd.org/D62169
[MachineScheduler] Don't constrain copies that cannot be coalesced (#244227)
CopyConstrain adds weak edges that order the other uses of a copy's
source before the copy. This shortens the source's live range, so that
register allocation can give both sides of the copy the same physical
register and turn it into a no-op.
That is only possible for copies that CoalescerPair accepts. A copy
between register banks (for example in AArch64 FPR to GPR fmov) can
not be eliminated in this way, but it was constrained all the same.
This introduces weak edges which the scheduler will try to satisfy.
This is not a NFC: the schedule of functions that contain such a copy
changes. Most of the test churn is just reordered instructions.
By removing these scheduling constraints we allow more flexibility for
other
heuristics, such as macro fusion.
acarsdec: Import acarsdec-4.7 as wip/acarsdec
acarsdec is a multi-channels ACARS decoder with built-in SDR, audio and
IQ input support.
* arbitrary number of channels decoded simultaneously (limited by bandwidth
and CPU power)
* error detection AND correction
* input via either multichannel audio file/stream (including raw audio),
ALSA soundcard, SDR devices (rtl_sdr, SoapySDR, airspy sdrplay) or
raw IQ file/stream
* multiple simultaneous outputs via file, UDP or MQTT
* multiple output formats: one line, full text, planeplotter, acarsserv,
JSON and live monitoring
* decoding of ARINC-622 ATS applications (ADS-C, CPDLC) via libacars library
* statistics reporting via StatsD-compliant interface
[ExpandMemCmp] Enable IRBuilder GEP canonicalization (#249397)
While here, also switch to the CreatePtrAdd API, as that's what is
happening under the hood anyway.
Assisted-by: LLM
py-gcovr: updated to 8.9
8.9
New features and notable changes:
Add support for coverage data created with -ffile-prefix-map and gcc-15 or newer:
Report a clear error if the gcov data is relative and does not exist in current working
directory instead of failing with a recursion error.
Search relative files in current working directory of GCOVR and fall back to the working
directory in JSON file.
Fix link to parent page in detailed HTML report.
Improve HTML reports
Show only filename in source details of GitHub theme, the path is
added to the directory at the top of the summary.
Change dict entries of row entries for Jinja2 template.
Add additional information if the item is a directory. This info was
generated in boost theme, everything with a dot was treated as file.
Update breadcrumbs of index.html in boost theme.
[14 lines not shown]
[CI] Check Linux premerge build dependencies with Ninja (#248842)
Run missingdeps after the Linux build and tests to detect missing
dependency paths to generated files.
Assisted-by: Codex
man4: install nda.4 on powerpc64
nda(4) is built into the powerpc64 kernels and is the default NVMe disk
driver, but its page was only installed on amd64 and i386.
Approved by: jhibbits (blanket)