[mlir] update memref.cast cast compatible check (#179313)
Updating memref.cast check regarding if input and output are valid for
casting.
Currently in case of casting between dynamic and static dims with
different strides, the return value of the check is not symmetric and
depends if casting for dynamic to static or vice versa. Updating the
check logic to make this symmetric.
workflows/release-binaries: Fix typo (#178732)
This was causing the attestation-name to be null which caused the attestation upload to fail.
(cherry picked from commit 1ade879267e8d4e2314b45fcd63e9fbbc8249226)
[Sema] Fix ICE due to incorrect _Bool handling in format string checking (#174684)
This cherry-picks 15365d31e6b to 22.x release branch, together with its
follow-up 312078b117 which fixes the test on ARM32 targets.
Co-authored-by: Yexuan Xiao <bizwen at nykz.org>
Co-authored-by: Leandro Lupori <leandro.lupori at linaro.org>
[Hexagon] Fix PIC crash when lowering HVX vector constants (#175413)
Fix a PIC-only crash in Hexagon HVX lowering where we ended up treating
a vector-typed constant-pool reference as an address (e.g. when forming
PC-relative addresses), which triggers a type mismatch during lowering.
Build the constant-pool reference with the target pointer type instead,
then load the HVX vector from that address.
(cherry picked from commit dd63117c1a97836d2bd8856457927e3f20149b33)
[VPlan] Create edge mask for single-destination switch (#179107)
When converting phis to blends, the `VPPredicator` expects to have edge
masks to the phi node if the phi node has different incoming blocks.
This was not the case if the predecessor of the phi was a switch where a
conditional destination was the same as the default destination.
This was because when creating edge masks in `createSwitchEdgeMasks`,
edge masks are set in a loop through the *non-default* destinations. But
when there are no non-default destinations (but at least one condition,
otherwise an earlier condition would trigger and just forward the source
mask), this loop is never executed, so the masks are never set.
To resolve this, we explicitly forward the source mask for these cases
as well, which is correct because it is an unconditional branch, just a
very convoluted one.
fixes #179074
[clang][bytecode] Improve `__builtin_object_size` handling (#179271)
This fixes a few more tests from `pass-object-size.c`, but we still
can't enable the entire file.
[lldb][Expression] Make __lldb_expr function qualifiers match source context (#177922)
We stopped marking `__lldb_expr` with the function qualifiers of the
method LLDB is stopped in ever since
`8bdcd522510f923185cdfaec66c4a78d0a0d38c0`. The assumption was that it
wasn't ever required for correctness (i.e., LLDB should just always
pretend it's in a mutable context). But since function qualifiers affect
overloading in C++, this assumption can lead to unexpected expression
evaluator behaviour. E.g., if a function is overloaded on qualifiers
(`const` vs. `non-const`), the expression evaluator would currently
always call the non-CV qualified overload.
This patch adds function qualifiers to `$__lldb_class::$__lldb_expr`
that resemble the qualifiers of the method that we're stopped in.
However, mutating variables or calling arbitrary member functions from
CV-qualified methods can be useful/is something users already may be
used to. To provide users with the ability to ignore the CV-qualifiers
of the current context, we will provide an expression evaluator flag
that switches this off in a follow-up patch.
sysutils/xclipsync: New port: Trivial tool for synchronizing the clipboard between two X11 sessions
xclipsync is a simple and lightweight script for synchronizing the
clipboard between two X servers created, for example, by Xephyr(1) or
Xnest(1), or even for synchronizing the clipboard between the host and
another X server.
WWW: https://github.com/DtxdF/xclipsync
Restore log level for daemon facility
Originally both daemon.none and daemon.info were specified. This recently
changed to only daemon.none with commit: aed1a67a79eeae56ae96368b3380edd1e87829f9
However the change should have been to keep daemon.info since syslogd
uses the last match which was daemon.info.