in6_mcast: Acquire ref to ifp and exit epoch earlier in sysctl
This patch reduces the number of witness warnings during ifmcstat(8) calls.
Reviewed by: glebius, zlei
Differential Revision: https://reviews.freebsd.org/D56052
[clang] Don't crash when module directive `export module foo` not following a semicolon and there are no rest pp-tokens in current module file (#187845)
This PR add the missing check of nullable `std::optional<Token>` object
when the module directive `export module foo` not following a semicolon
and there are no rest pp-tokens in current module file.
---------
Signed-off-by: yronglin <yronglin777 at gmail.com>
Co-authored-by: Aaron Ballman <aaron at aaronballman.com>
libclc: Force assuming fast float fma for AMDGPU
Currently the build uses the default dummy target, which assumes
FMA is slow. Force this to assume fast fma, which is the case on
any remotely new hardware. In the future if we want better support
for older targets, there should be a separate build of the math
functions for the slow fma case.
libclc: Unify fast FMA controls
This was defined in multiple places with different names. Consolidate
on on, with a gentype wrapper for it. Also set the value based on the
standard FP_FAST_FMA* macros.
clang: Define FP_FAST_FMA_HALF macro for AMDGPU
OpenCL specifies this should be defined if cl_khr_fp16 is
implemented and half fma is fast compared to a separate mul
and add. This is trivially true for all targets with native
half support. It's not true for targets without half support
which need to legalize by promotion to double. We already lie
about this though, for the convenience of the dummy default
target.
[LifetimeSafety] Introduce AccessPath-based expiry (#187708)
Refactored the loan system to use access paths instead of loan IDs for
expiry tracking, consolidating PathLoan and PlaceholderLoan into a
unified Loan class.
This is a non-functional refactoring to move towards more granular
paths. This also removes a quadratic complexity of `handleLifetimeEnds`
where we iterated over all loans to find which loans expired.
sysutils/loki: Remove GH_TUPLE
GH_TUPLE is not required when using go:modules.
As a side-effect, this solves a hash issue in distfiles.
Approved by: portmgr (blanket)
Differential Revision: https://reviews.freebsd.org/D55695
vms-empire: update to 1.19.
Code hardening with ChatGPT 5.2
Close off a whole bunch of potential buffer overruns.
Bail out gracefully on failed memory allocations.
New versioned, field-wise save format with map dimensions recorded.
Default save file name is now empire.sav.
Documentation is fully spellchecked.
[GlobalISel][LLT] Introduce FPInfo for LLT (Enable bfloat, ppc128float and others in GlobalISel) (#155107)
Added extra information in LLT to support ambiguous fp types during
GlobalISel. Original idea by @tgymnich
Main differences from https://github.com/llvm/llvm-project/pull/122503
are:
* Do not deprecate LLT::scalar
* Allow targets to enable/disable IR translation with extenden LLT via
`TargetOption::EnableGlobalISelExtendedLLT` (disabled by default)
* `IRTranslator` use `TargetLoweringInfo` for appropriate `LLT`
generation.
* For this reason added flag in GlobalISelMatchTable` to allow switch
between legacy and new extended LLT names
* Revert using stubs like `LLT::float32` for float types as they are
real now. Added `TODO` for such cases.
Also MIRParser now may parse new type indentifiers.
[3 lines not shown]