[AArch64] Improve pow(x,y) cost model for some constant values of y (#185607)
Some optimisations of pow(x, y) calls only occur during codegen,
e.g. pow(x, 0.25) -> sqrt(sqrt(x)) and at the IR level we don't
currently reflect this in the cost of calls to the llvm.pow
intrinsic. This patch attempts to fix that in cases where we know
the intrinsic can in general be legally lowered to libcalls. For
scalable vector variants of llvm.pow we need to be cautious, since
without a math library this cannot be scalarised and there is
always a small risk that the optimisation will not happen during
codegen.
graphics/ogre3d: add textproc/pugixml as default dep (+)
If textproc/pugixml is insalled on a baremetal system, several files do not get installed.
Add the small texproc/pugixml as a hard dep.
PR: 293780
[IVDescriptors] Remove single-use constraint from FindLast comparisons (#186096)
Just relaxing some minor constraints for FindLast recurrence detection.
[AArch64][SVE2] Allow commuting two-input NBSL/BSL2N idioms. (#184847)
Specifically, EON, NAND and NOR are commutable operations that lack
dedicated SVE2 instructions, but we support them via NBSL/BSL2N.
However, as NBSL/BSL2N have tied operands, sometimes we generate a COPY
even if one of the operands could be clobbered.
This patch defines custom expansion for these operations to allow using
their commuted forms or, if still necessary, using MOVPRFX for the COPY.
Should help with
https://github.com/llvm/llvm-project/pull/176194#discussion_r2889564685.
graphics/drm-515-kmod: add extra patch to unbreak stable/14, and 14.4-R
Conditionally apply the patch from 26b48400ee94 to avoid conflicts with
an updated LinuxKPI. This should make this port both build and work again.
The patch is conditional still as 14.3-R does not, but stable/14 and 14.4-R
do have the LinuxKPI changes.
Sponsored by: The FreeBSD Foundation
PR: 290432
Reported by: gja822 at narod.ru
(cherry picked from commit eecdfa00d49a5f608c34bfdb641e178d9933a66c)
graphics/drm-515-kmod: add extra patch to unbreak stable/14, and 14.4-R
Conditionally apply the patch from 26b48400ee94 to avoid conflicts with
an updated LinuxKPI. This should make this port both build and work again.
The patch is conditional still as 14.3-R does not, but stable/14 and 14.4-R
do have the LinuxKPI changes.
Sponsored by: The FreeBSD Foundation
PR: 290432
Reported by: gja822 at narod.ru
[gn] port b80248a0ea35df more (clang-doc md templates) (#186401)
The previous version misspelled the name of comments-partial.mustache,
and it put the md files in the wrong output directory.
[libc] Add support for chown on platforms that don't define SYS_chown (#186167)
Some platforms don't define SYS_chown (like risc-v), so this PR adds a
fallback to calling SYS_fchownat.
[Offload][L0] clear completed events from a wait list (#186379)
Queue's WaitEvent collection wasn't being cleared after synchronization
and resetting of the events. This led to hangs on subsequent host
synchronizations if not preceeded by any other operation.
[MIR] Support symbolic inline asm operands (#185893)
Support parsing and printing inline assembly operands in MIR using the
symbolic form instead of numeric register class IDs, thus removing the
need to update tests when the numbers change.
The numeric form remains supported.
---------
Co-authored-by: Claude Opus 4.6 <noreply at anthropic.com>
[libc++] Make the associative container query benchmarks more representative (#183036)
Currently the query benchmarks are training the branch predictor
incredibly well, which isn't representative of the real world. This
change causes the branch misses to go from <1% to ~50% with the current
implementation of `__tree::__find_end`.
This patch also removes the `non-existent` benchmarks, since it'd be
non-trivial to write a representative benchmark for that case, and the
benchmark would be relatively low value. We're already searching to leaf
nodes ~50% of the time (since half the nodes are leaves) with the
current benchmark. So we'd only additionally cover a relatively trivial
failure branch that is only taken once per function call. The loop is
already covered through benchmarking with keys existing in the
container.
[mlir][tosa] Allow integer gather/scatter ops in fp profile (#183342)
This commit updates profile compliance to allow integer gather and
scatter operations to be used with the floating point profile. This
update aligns with the specification change:
https://github.com/arm/tosa-specification/pull/35.
dashboard: firewall: add semantic groups coloring option (#9907)
* firewall.js should keep coloring after reload, use sematic groups block = red
* fixes for review, hash simplification, color palette, action matching
* action is string, include interface, add default color
* Use color schema for chart colors, vary by shades
* fix blocks
* make color schema configurable for widet, defaults to contrast uses Classic10
* changed from select_multi to select, contrast mode matches the old behavior
* use options.colorscheme, fix color cycling bug
* Update src/opnsense/www/js/widgets/Firewall.js
[13 lines not shown]
[CIR] Implement zero-init-bases lowering (#186230)
This showed up in a test suite. A zero-initializer for a whole struct
seems completely sensible, as long as the type is zero-initializable.
This patch doesn't change the non-zero-init behavior (I am working on a
patch to do so, but it is a massive scope), so this is limited to JUST
classes with bases.