[clang-repl] Use more precise search to find the orc runtime. (#175805)
The new mechanism relies on the path in the toolchain which should be
the autoritative answer. This patch tweaks the discovery of the orc
runtime from unittests where the resource directory is hard to deduce.
Should address the issue raised in #175435 and #175322
(cherry picked from commit 84c19e7cf303a0525fd6c7bf5d03053714402c91)
InstCombine: Introduce nsz flag on minimum/maximum in SimplifyDemandedFPClass
Alive isn't particularly happy with this in the case where
one of the inputs could be zero, but I think
it's wrong: https://alive2.llvm.org/ce/z/dF7V6k
nsz shouldn't permit introducing a -0 result where
there wasn't one in the input here.
interfaces: rename two "hostdiscovery" instances
These better reflect that "hostwatch" is used although the
service has been coined "Host discovery" or even "Automatic
Discovery".
(cherry picked from commit 48426a39e6193128fd89da8abc737d2fbe8a0d13)
interfaces: rename two "hostdiscovery" instances
These better reflect that "hostwatch" is used although the
service has been coined "Host discovery" or even "Automatic
Discovery".
[flang][openacc] support array section privatization in lowering (#175184)
Add support array section in private, firstprivate, and reduction.
Key changes:
- Change the related data operation result type to return the same type
as the array base (same type as the acc variable input in the
operation), while it was the type of the section before. This allows
remapping the base the to result value (to use the data operation result
as the base when generating addressing inside the compute region).
- The generatePrivateInit implementation of FIROpenACCTypeInterfaces is
modified to allocate storage only for the section, and to return the
mock base address (that is the address of the allocation minus the
offset/lower bound of the privatized section).
- The code generating the copy and combiner region is moved from
OpenACC.cpp to FIROpenACCTypeInterfaces.cpp via the addition of new
generateCopy and generateCombiner interface in the
MappableTypeInterface. This allows sharing all the addressing helper
with generatePrivateInit, and will allow late generation of all recipes
[7 lines not shown]
[Linalg] Update Conv Decomposition patterns to work with generic convolution ops as well (#174196)
-- This commit updates Conv Decomposition patterns to work with both
named as
well as generic convolution ops.
-- Since now a "generic" LinalgOp is being used as the root op in the
patterns
above the `assert` of the op implementing a ConvolutionOpInterface has
been replaced with an early exit `if`.
Signed-off-by: Abhishek Varma <abhvarma at amd.com>
[RISCV] Add tests for rv32 gather/scatter costs. NFC
There's a divergence with the rv32 costs that I plan on fixing in
another patch, so this precommits the tests for them.
The zve32f RUN lines were split off into another file so the check prefixes
are easier to reason about.
The -riscv-v-vector-bits-max RUN lines were also removed to simplify the
check prefixes since I'm not sure if they were intentionally testing any
specific logic.
[Serialization] Hash inner template arguments
The code is applied from ODRHash::AddDecl with the reasoning given
in the comment, to reduce collisions. This was particularly visible
with STL types templated on std::pair where its template arguments
were not taken into account.
Reviewed as part of https://github.com/llvm/llvm-project/pull/133057
pkg: the script has the benefit of testing at the moment
pluginctl reaches into webgui.inc but the firmware and configd
use rc.restart_webgui which we want to hook into for now.