py-cloud-init: make test now works
Fixed a while pile of broken tests that had the path
/etc/cloud/cloud.cfg hardcoded in them.
Fixed a couple of tests that were broken, incompatible with BSD or
both.
AlwaysInliner: Preserve the function analysis manager proxy (#243711)
AlwaysInliner already updates the analyses of the functions it inlines
or deletes, but did not preserve FunctionAnalysisManagerModuleProxy,
which ends up clearing every cached function analysis in the module.
This doesn't make much difference in CTMark since few of the programs
use alwaysinline, with the exception of kimwitu++ k.bc (-0.50%).
always_inline is well overused in GPU code, so a sample of 441 ROCm
bitcode files show a -0.08% geomean improvement.
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
[MIR2Vec] Fix the common operand index for MO_LaneMask (#243374)
CommonOperandNames has no MO_DbgInstrRef entry, so lookups for later
types used the wrong slot
Map each operand type to its vocabulary entry explicitly, so the index
no longer depends on enum order
Operand types without an entry get a zero embedding
vn_fallocate/vn_deallocate: drop vnode addr from exterrors
This was converted from a KASSERT where it made sense, but not enough
thought was applied. vp is useless, just print both offset/len instead.
Reported by: llm-postcr
Fixes: 95c7b9eaa9ec ("vfs: fail VOP_DEALLOCATE passes [...]")
Fixes: 8bee7ea63a6a ("vfs: fail VOP_ALLOCATE passes [...]")
libc: regen exterr_cat_filenames.h
GEOMZONED had previously missed updating this; I had noted that I would
fix it before 95c7b9eaa9ecc874, but alas. Fixing it now is the second
best time to do it.
Fixes: 48efb6c4eb9fe ("gzoned: Introduce Zoned Storage emulator")
GlobalDCE: Only clear the analyses of deleted functions
GlobalDCE reported no preserved analyses whenever it deleted anything,
which clears every cached function analysis in the module. Refine this
to only discard analyses of erased functions.
callgrind instructions, opt -O3: kimwitu++ k.bc -0.07%, where the cleared
TargetLibraryInfo had to be computed again for each function.
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
[libc][math][NFC] Rename PolyEval.h to polyeval.h. (#243339)
Rename src/__support/FPUtil/PolyEval.h to polyeval.h to match lowercase
snake_case header naming, and update includes, CMake, and Bazel rules.
[libc][math] Expand polyeval.h with array, loop, and Estrin evaluation. (#243523)
Add array-based, non-unrolled loop, and right-heavy Estrin polynomial
evaluation helpers to `fputil`:
- Add array overloads with optional `OFFSET` template parameter for
`polyeval` and `altpolyeval`, using `sub_multiply` for `altpolyeval` and
supporting both value (`<= sizeof(double)`) and const-ref (`>
sizeof(double)`) coefficient types.
- Add `loop_polyeval` and `loop_altpolyeval` with `LIBC_LOOP_NOUNROLL`
for code-size-sensitive evaluations.
- Add `estrin_polyeval` (array and variadic overloads) using a
precomputed dyadic power table and a minimum-depth right-heavy binary
tree.
- Add unit tests in `polyeval_test.cpp` covering `float`, `double`,
`DoubleDouble`, `DyadicFloat<128>`, and `Frac128` across rounding modes
and evaluation-order sensitivity.
[libc][math] Use multiply_sub and sub_multiply across math functions. (#243290)
Replace `multiply_add(a, b, -c)`, `multiply_add(-b, c, a)`, and
`multiply_add(b, -c, a)` with `multiply_sub` and `sub_multiply`.
[libc][math] Add multiply_sub and sub_multiply to multiply_add.h. (#243269)
- Add `fputil::multiply_sub` `(x * y - z)` and `fputil::sub_multiply`
`(x - y * z)` alongside `fputil::multiply_add` `(x * y + z)`.
- Add `NumberPair<T>` `add/sub` overloads in `double_double.h`, and
matching `multiply_sub` and `sub_multiply` overloads for `DoubleDouble`
and `DyadicFloat`.
- Specialization to use `fmadd`/`fmsub` instructions when available.
drm/amd/pm:restate all customized OD features on every table upload for smu 13.0.0/smu 14.0.2
From Kenneth Feng
64e8107a8c8b9dbe9d5dea9a249fc69d1503dd32 in linux-6.18.y/6.18.64
44d0d3031e47973ed65fd327669d5e2eaaf6c565 in mainline linux