[lldb][Expression] Emit hint to use --c++-ignore-context-qualifiers (#177927)
Depends on:
* https://github.com/llvm/llvm-project/pull/177921
* https://github.com/llvm/llvm-project/pull/177926
(only last commit is relevant for this review)
This patch emits a workaround suggestion (in the form of a `note:`
diagnostic) when an expression fails due to trying to mutate state/call
functions with CV-qualifiers that are disallowed by C++ language rules
based on the context the expression is evaluated in. The note looks as
follows:
```
(lldb) expr next.method()
˄
╰─ error: 'this' argument to member function 'method' has type 'const Bar', but function is not marked const
note: Ran expression as 'C++14'.
note: note: 'method' declared here
note: Possibly trying to mutate object in a const context. Try running the expression with: expression --c++-ignore-context-qualifiers -- <your expression>
```
[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)
raqm: updated to 0.10.4
Overview of changes leading to 0.10.4
Add build option to skip tests.
Add dependency override for use as a subproject.
Fix tests when b_ndebug=true.
Build, CI and documentation updates.
cargo-audit: updated to 0.22.1
cargo-audit 0.22.1
Release Apple Silicon cargo-audit binary
cargo-audit: Put a newline character at the end of json reports
cargo-audit: disable colors by default if stdout it not a terminal
[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