[libc] Enable baremetal Armv8-M hard FP premerge job (#243424)
This patch enables a new premerge CI job to build and test for baremetal
Armv8-M Mainline with hardware floating-point ABI.
[libc] Add run capabilities to baremetal Armv8-M.Main hard FP CMake cache file (#243422)
Create a new CMake cache file in a dedicated Arm-specific folder for
testing configurations. This specific testing configuration is for
Armv8-M Mainline with hardware floating-point ABI.
All the configurations are based on what Arm Toolchain for Embedded uses
for its downstream testing, and are known to work.
[SPIRV]MLIR] Retain the source integer attribute type when creating an LLVM constant (#245105)
When Upgrading from LLVM 23 to Nightly on ubuntu I noticed test failures
in a SPIR-V tool I support. Specifically the constant’s attribute is
signed, but its result type is signless.
```mlir
%zero = llvm.mlir.constant(0 : si32) : i32
```
This bug existed in LLVM 23 but it seems like the verifier accepted this
mismatch.
So to fix this for signed or unsigned SPIR-V integers we produce the
source integers attribute type.
[flang][acc] Add hasLocalLinkage to GlobalVariableOpInterface (#244694)
Add `GlobalVariableOpInterface::isInternalLinkage()`, defaulting to
false. The fir.global model returns true only when the linkage attribute
is internal. Unit tests cover the `memref.global` default and
`fir.global` with internal, external, and omitted linkage.
This lets OpenACC stand alone, without a Fortran linkage check. Escape
analysis can ask whether a global is internal and treat its address as a
local allocation when every use stays in one function.
sysutils/yazi: Fix build/LICENSE
The port fails to build with the error:
===> License not correctly defined: redefining LICENSE_PERMS_Unicode-DFS-2016 is not allowed for known licenses, to define a custom license try another LICENSE name for Unicode-DFS-2016 like Unicode-DFS-2016-variant
*** Error code 1
because, since commit d57bb32, the definition of Unicode-DFS-2016
license is in Mk/bsd.licenses.db.mk.
PR: 301007
[Hexagon] Use HVX fast float-to-int conversions only on V73 and later (#245214)
With -hexagon-fp-fast-convert, HVX float-to-int lowering selected
V6_vconv_h_hf and V6_vconv_w_sf on any HVX version. Both require V73.
Inside a packet the asm printer did not check their predicates, so the
problem only showed up when such an instruction was emitted on its own,
e.g. at -O0: "Attempting to emit V6_vconv_w_sf instruction but the
Feature_UseHVXV73 predicate(s) are not met". Below V73, use the generic
expansion.
Assisted by AI
Co-authored-by: Sergei Larin <slarin at qti.qualcomm.com>
Co-authored-by: Fateme Hosseini <fhossein at qti.qualcomm.com>
[Hexagon] Fix register flags after GlobalScheduling and pseudo expansion (#245215)
Liveness code that uses MachineOperand::readsReg(), such as LivePhysRegs
and the scheduler DAG, ignores internal reads and undef uses. Fix three
places where Hexagon set or tracked these flags incorrectly:
- When the global scheduler pull-up leaves a single instruction of a
bundle, that instruction kept its internal-read flags, so its reads of
registers defined in the former bundle were ignored. Clear them.
- The R0 use of the call expanded from PS_call_instrprof_custom was
marked as an internal read, but R0 is set by a separate instruction. The
packetizer marks it internal if both end up in one packet.
- HexagonLiveVariables counted undef uses as reads, which made the
register live-in and kept its last real use from being killed. This
blocked a new-value jump in newvaluejump-kill.ll.
Assisted by AI
databases/p5-Mojo-SQLite: Add new port
Mojo::SQLite is a tiny Mojolicious wrapper around DBD::SQLite
that makes SQLite a lot of fun.
Use all SQL features SQLite has to offer, generate CRUD queries
from data structures, and manage your database schema with migrations.
It provides database connection management, queries, transactions,
migrations and other conveniences on top of DBD::SQLite.
WWW: https://metacpan.org/pod/Mojo::SQLite
WWW: https://github.com/Grinnz/Mojo-SQLite
PR: 298611
Require NTS for S3 Object Lock only when require_nts is set
s3d refused every time source without NTS, so on the default NTP
servers every object-locked bucket was read-only. Render require_nts
into its [server] section, and when the setting changes, restart S3
once chronyd has selected a source again (up to 60 s).
Needs truenas_s3 with the [server] require_nts key.
[analyzer] Only create checker time trace scopes when tracing (#245070)
Every checker callback created an llvm::TimeTraceScope and built its
name with checkerScopeName, and every runCheckersFor* call created
another scope. Even with -ftime-trace off, each of these queried the
thread-local profiler instance (a function call on macOS) one or two
times, called the out-of-line timeTraceProfilerBegin and constructed and
destroyed a std::string.
Cache whether the profiler is enabled in the CheckerManager, which is
created right before the analysis on the same thread, and only create
the scopes (and their names) when it is. The -ftime-trace output is
unchanged.
On some LLVM TUs (GVN, LiveVariables, RegionStore, SemaExpr) this
reduces the instructions of the static analyzer by 1.0-1.4%.
Assisted-by: Claude Opus 5.5
[2 lines not shown]
Vulnerability reporting: No paid bug bounty
Explicitly mention that we do not have a paid bug bounty program, as
people have emailed to ask.
Reviewed by: khorben
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D61947
[Hexagon] 3-source HVX shift packet restrictions (#244653)
The four narrowing shift by vector instructions cannot be scheduled in
one packet with a non-unary ALU instruction or a permute (CVI_VP)
instruction.
Co-authored-by: Adarsha Regmi <aregmi at qti.qualcomm.com>
Co-authored-by: Yashas Andaluri <yandalur at qti.qualcomm.com>
18766 nscd ignored error during startup, leaving its clients hung
Reviewed by: Bill Sommerfeld <sommerfeld at hamachi.org>
Reviewed by: Hans Rosenfeld <rosenfeld at grumpf.hope-2000.org>
Approved by: Dan McDonald <danmcd at oxide.computer>