[LV] Strip dead code around InstsToScalarize (NFC) (#238724)
We never insert into InstsToScalarize or PredicatedBBsAfterVectorization
outside collectInstsToScalarize, and the routine only ever needs to be
called once per VF. We also never depend on the ordering of
InstsToScalarize, and it can be turned into a DenseMap.
sched: Use CPPFLAGS in 'compile-with' for namespacing headers
This gives an example of what stance to use should running the
preprocessor safely be necessary to generate other files.
Because _KERNEL is now defined via a '-D' directive in CPPFLAGS, the
explicit '_KERNEL' define in 'sys/kern/sched_ns.h' is no more necessary.
Remove it.
No functional change (intended).
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D61169
build: sys: Define CPPFLAGS variable, to be used in 'files*'
Define the CPPFLAGS Makefile variable to contain the preprocessor
options that are passed for compilation of normal C files, including
usual '-I' and '-D' directives.
This enables safely using the preprocessor in 'files*' on "template"
source files to generate other source files (see next commit).
Do not define NORMAL_CPP (as discussed with des@), as other NORMAL_*
variables do include ${.IMPSRC} and thus NORMAL_CPP would need to
include it for consistency, making it unusable to generate files through
explicit make rules.
Discussed with: des (do not define NORMAL_CPP)
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D61168
mail/getmail6: Update 6.20.02 => 6.21.01
Changelog:
https://github.com/getmail6/getmail6/blob/v6.21.01/docs/CHANGELOG
While here:
* Switch to PEP 517 build format to prepare for future setuptools.
* Switch to PYPI and non-zero DISTVERSION since our Python framework
seems to expect a *.whl with zeroed version number when using GitHub.
PR: 300552
Approved by: osa, vvd (mentors, implicit)
(cherry picked from commit d573b4ed93c65e7b73e3ea01da23d27d71d320d4)
[AsmPrinter] Emit the data layout null value for null pointers
Currently `emitGlobalConstantImpl` emits a null pointer with `emitIntValue(0,
Size)`. This ignores the null value that the data layout can give an address
space (even though we have not reached the point where the ConstantPointerNull
can represent a real null pointer in certain address spaces), and `emitIntValue`
can only emit up to 8 bytes, so `llc` hits an assertion in `MCAsmStreamer` for a
null pointer of a wider address space in a global initializer, such as `ptr
addrspace(8) null` on AMDGPU. To be a little bit future proof, this PR emits the
null value of the data layout in the same way as an integer of the pointer size.
This PR was assisted by AI but I reviewed all the changes.
github: Only run the checklist checker for PRs against main
Currently this check is run on every push to stable branches which all
fail since they fail to fetch the non-existent .github/path-rules.txt
from the just-updated branches.
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D60709
(cherry picked from commit 19a5023e45bd34d6bf5ee15e580f945caece5d2c)
databases/postgresql19-*: Update to 19.0
First production release of the 19 series.
This release introduces the REPACK (CONCURRENTLY) command so users can
optimize tables for their current workload without disruption to ongoing
operations. PostgreSQL 19 gives users better control over plan stability
and query performance with the new pg_plan_advice extension. Developers
will find many delightful features in this release, from support for
"read-your-writes" consistency on standbys to "get or create" behavior
that saves a network round trip.
Upgrading from 18 or earlier requires a dump/restore or pg_upgrade.
Release notes: https://www.postgresql.org/docs/19/release-19.html
[SPIRV] Declare SPV_KHR_relaxed_extended_instruction only when used
Whether one is needed is only known while building the module-scope NSDI,
which used to be streamed in sections 7 and 10, after OpExtension had been printed.
Split NSDI generation from output: generateModuleDebugInfo() now builds
the module-scope OpStrings and debug instructions into per-section
buffers before the module header is printed, and adds the extension if a
forward reference was built.
emitNonSemanticDebugStrings() and emitNonSemanticGlobalDebugInfo() output
the buffers in sections 7 and 10.
Function-body NSDI is still streamed.
With the extension no longer declared unconditionally.
[LiveIntervals] Remove the retag loop in handleMoveUp
When a dead def moves up into the middle of another value's segment, the
segments it moved across lie within the same block, after the new
position. Each of them therefore starts at its own def, and must keep its
value number. The loop that retagged them with the moved def's value
never had a segment to legitimately retag, so remove it and assert the
invariant instead.
Co-authored-by: Cursor <cursoragent at cursor.com>
netflow: modify Netgraph NAT accounting
Use global ONCE accounting instead of THISONCE across per-interface
Netgraph nodes so routed packets are exported only at the
first eligible observation point. Preserve internal addresses
through egress-only WAN capture and update its help text.
While here, replace deprecated Python SQLite datetime handling.
[AMDGPU] Implement builtin and intrinsic for s_wait_idle
`s_wait_idle` is available since gfx10, but has so far not been exposed in
intrinsics. It waits for all dependency and memory counters to reach 0, similar
to `s_waitcnt 0` on older architectures.
This can be useful for microbenchmarks, to ensure that only intended operations
are included in time measurements. **It should not be used for attempts to
circumvent the memory model.** There are alternatives for "synchronization
without cache invalidate/writeback" patterns that are designed for this purpose.
So far, this PR doesn't contain documentation for the intrinsic because other
similar intrinsics don't have it either.
Disclaimer: The implementation was mostly done by AI; I've reviewed it and
checked that it matches existing examples for similar builtins and intrinsics.
Fixes: LCOMPILER-3256
Assisted-by: AI Coding Agent
depend-cleanup: Fix incremental libcrypto build
Note that our clean_obj() function previously used plain `strings`, but
in this case the offending symbol is not in a loadable section so it was
not being picked up. Switching to `strings -a` fixes this case and
should not break cases that already worked.
Fixes: 46453f0abb85 ("openssl: build legacy provider as upstream does")
[SLP]Fix crash on calls with non-vectorizable struct or arg types
Named struct results and aggregate arguments passed the vector call
checks and then hit asserts during type widening. Require a
vectorizable struct result and valid argument element types.
Pull-request: https://github.com/llvm/llvm-project/pull/244229
[LifetimeSafety] Verify lifetime_capture_by for captures by parameters (#243890)
Report a parameter captured by a reference parameter that none of its
[[clang::lifetime_capture_by]] attributes names. Pointer parameters are
skipped, as they can point to local storage.
The new ParamEscapeFact could later also verify [[clang::noescape]] and
diagnose dangling through out-parameters.
Assisted-by: Claude Opus 5.5
Co-authored-by: Gabor Horvath <gaborh at apple.com>