AMDGPU: Warn if trying to codegen without a subarch (#220245)
Warn if using the legacy amdgcn name, or amdgpu without a
specified subarch. This is to push all the non-clang frontends
to update to the new system, but this should turn into an error
in the next release.
Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
[CIR][NFC] Use declarative llvmOp lowering for coroutine intrinsics (#221343)
This PR switches the coroutine intrinsic ops (`cir.coro.intrinsic.id`,
`.alloc`, `.begin`, `.end`, `.free`, `.size`) to use the declarative
`llvmOp` field instead of hand-written lowering patterns.
devel/rhg: update: 7.2.3 -> 7.2.4
<ChangeLog>
- Fix the detection of peers with limited query size during discovery
- rhg: include the path in purge’s directory removal errors
- verify: remove incorrect fncache branch in file index case
- update: fix status after a flag-only update of symlink into a file,
in rust
- update: fix status after a flag-only update of a file into a
symlink, in rust
- rust: respect umask for executable files during update
</ChangeLog>
Sponsored by: tipi.work
hastd: Add a stop control message
Add a stop control message which causes hastd to clean up and terminate.
Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D59344
syscalls: Avoid C++ reserved words
Both kern_renameat() and kern_dup() had arguments named `new`. Rename
their arguments to match their respecitve manual pages.
Sponsored by: Klara, Inc.
Sponsored by: NetApp, Inc.
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D59386
hastd: Add rudimentary tests
Test that we can start and stop hastd with an empty configuration.
Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D59345
hastd: Ensure nvpair padding is initialized
The proto-libnv implementation embedded in hastd pads names and values
out to the nearest multiple of eight bytes, but leaves the padding
uninitialized, leaking up to 14 bytes of recycled heap per pair in a
message.
While here, switch from bcopy() to memcpy().
MFC after: 3 days
Reviewed by: kevans, emaste
Differential Revision: https://reviews.freebsd.org/D59343
[Analysis] Remove dead WriteDOTGraphToFile (NFC) (#221413)
The last callers were migrated to DOTGraphTraitsPrinter on May 16, 2022
in commit 7dce9eb6e507d48d0b79bfb408592936d378cc28.
Assisted-by: Antigravity
[CodeGen] Use RegisterClassInfo for remaining allocation-order users (#216510)
Greedy already uses RegisterClassInfo for the function-specific
allocation order (reserved registers filtered, CSRs deferred). Remaining
users still walked TRI's raw order or rebuilt RCI themselves.
Uses RCI.getOrder() everywhere that list is needed (PBQP, Hexagon
spill-slot search*, ARM load/store opt, AMDGPU AGPR-copy MFMA rewrite).
Takes the shared analysis when the pass can preserve it; otherwise keep
a
local RCI after freezeReservedRegs().
Hexagon findPhysReg no longer considers reserved registers.
**Note:** Initially had register scavenger use RCI.getOrder() for
function specific scratch reg allocation, but due to test failures and
the extra loops needed as fallbacks to fix this, this change ends up
likely being outside the scope of this PR so I removed it.
**Another note:** \*Hexagon changes removed from this PR, split into
#216752
website: Revive mailto as contact
Mailto is an important page, one of the many that was lost in the reorg.
Revive it as freebsd.org/contact, and move it to the legal column in the
footer. The bottom heading of mailto used to be commercial vendors, zap
that and replace it with a legal section for the freebsd foundation.
Also simplify some of the language a bit.
Adding core as a *non-blocking* reviewer so they can weigh in if they
desire, but I think this is extremely positive and reasonable and we can
keep iterating, so I do not intend to wait for them unless they ask.
Event: Berlin Hackathon 202609
Reviewed by: wosch
Suggested by: wosch
Differential Revision: https://reviews.freebsd.org/D59442
website: Overhaul ports visibility
header: move ports to Get FreeBSD
footer: add ports, remove 44bsd docs archive. It is still in docs/
where/: remove ports, and remove it from the sidemenu
Event: Berlin Hackathon 202609
Reviewed by: wosch
Suggested by: wosch, michaelo
Differential Revision: https://reviews.freebsd.org/D59442
ARM: Form fused VFMA/VFMS from the contract flag (#221340)
Select the fused VFMA/VFMS/VFNMA/VFNMS from the per-node contract
fast-math flag instead of the global AllowFPOpFusion == Fast. This is one of the
few remaining consumers of the TargetOption field.
Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>