[mlir][OpenACC] Use active_par_dims attribute when computing active dims (#217099)
In `computeActiveAndInactiveParDims` function, use the
`acc.active_par_dims` attribute set on privatize/private_local, deriving
inactive dims from the launch dims.
[KnownFPClass] Refactor sNaN handling for KnownFPClass (#216086)
Addresses
https://github.com/llvm/llvm-project/pull/215159#pullrequestreview-4898780491
I have added/modified some helpers to help with the handling of `sNaN`
and `qNaN` propagation
Changes:
- Allow `atan2` to rule out `sNaN` instead of only `NaN` in general.
- Renamed `Known.propagateNaN(KnownSrc)` to
`Known.propagateNonNaN(KnownSrc)`
- Added `Known.propagateNonSNaN(KnownSrc)` (same as `propagateNonNaN`
but does not touch sign or `qNaN`)
- Added two argument versions of `propagateNonNaN` and
`propagateNonSNaN`
Future plans:
- Add `sNaN` handling for `sin`, `cos`, `tan`, and `log`.
[scudo] Fix MTE remapping for cached allocations
When MTE is enabled, force page-alignment for all secondary allocations.
Since the allocation position can shift when reusing a cached block, the
new header page must be remapped with MAP_MEMTAG to enable MTE and the
old header page must be remapped without MAP_MEMTAG to disable MTE, as
it may now be a part of the user playload. This is necessary because
PROT_MTE is sticky and not cleared by the PROT_NONE mapping used during
caching.
Co-authored-by: Christopher Ferris <cferris1000 at users.noreply.github.com>
[CI] Pin runners to us-west cluster (#217111)
We are having scaling issues in the us-central cluster, so use a hack to
pin everything to the us-west cluster while we get things sorted out in
the us-central cluster.
This should be reverted after https://github.com/llvm/llvm-zorg/pull/914
gets applied and we have confirmed scaling is working better.
LLM assisted.
Emit DW_AT_identifier_case for compile units (#216197)
DWARF compile unit tags can contain an attribute that indicates the case
sensitivity of symbols in the source language. This attribute will be
useful in supporting Fortran in lldb (issue# 205872)
Co-developed with Claude Opus 4.6
net/freeipa-server: Add New Port
FreeIPA is an integrated identity and authentication solution: an LDAP
directory (389 Directory Server), a Kerberos KDC (MIT krb5), a Dogtag
PKI certificate authority and a web UI/CLI, combined into a single managed
domain, the Free Software counterpart to Active Directory.
This port provides the FreeIPA server on FreeBSD together with the
FreeBSD-specific integration that upstream (Linux/systemd oriented) does
not ship: an ipaplatform "freebsd" backend, rc.d service scripts, and
the glue required to run the whole stack against the ports MIT Kerberos
(security/krb5).
WWW: https://www.freeipa.org/
Sponsored by: Netzkommune GmbH
18316 getmntent() falls back to parsing mnttab as text after any ioctl error
Reviewed by: Bill Sommerfeld <sommerfeld at hamachi.org>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
18315 want integrity checking for the devlink database
Reviewed by: Robert Mustacchi <rm at fingolfin.org>
Reviewed by: C Fraire <cfraire at me.com>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
[CIR] Implement 'init_priority' attribute (#216845)
This attribute sets the order of initialization of a global variable.
The test is pulled from classic codegen, and the rest is pretty rote.
All variables of the same 'priority' are initialized in the same init
function, generated based on the priority number.
bcm2835_audio: Comment out vchi_service_release()
bcm2835_audio_release() calls vchi_service_close() and then
unconditionally calls vchi_service_release() with the same service
handle.
In the VCHI shim implementation, a successful vchi_service_close() calls
service_free(service). The subsequent vchi_service_release() therefore
dereferences a freed SHIM_SERVICE_T object when it reads
service->handle, resulting in a use-after-free panic.
vchi_service_release(), however, releases a reference which might block
vchi_service_close() from completing successfuly, so comment it out
instead of removing it altogether, until further testing is done.
PR: 297187
MFC after: 2 weeks
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D58921
[LLVMABI][AARCH64] Add support for simple direct argument cases (#216849)
This adds LLVM ABI library support for AArch64 argument type
classification for scalar and matrix types that are classified as
Direct. Other types are reported as not yet implemented.
This also adds a Clang test for the ABI handling of types which are
handled by the library.
Assisted-by: Cursor / Grok 4.5 (test generation)
[ObjcARCContract] Do not replace llvm.lifetime argument. (#216991)
Only alloca or poison is allowed as arguments for lifetime intrinsics.
Before replacing, check if the operand can be replaced with a variable
and skip replacement if it is not valid.
Fixes a verifier crash in the added test case.
PR: https://github.com/llvm/llvm-project/pull/216991
bhyve: Add SPDX-License-Identifier tag
Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 499d0f04f55e52327d624d27ead3a0d16e3b465a)
[CIR] Set alignment correctly in getOrCreateConstAggregateGlobal (#216321)
Just a drive-by that I discovered while debugging something else, we end
up not getting the 'alignment' of these aggregates set at all. This
patch just wires through the alloca's alignment onto these constants,
which matches classic codegen.