SuccessChanges

Summary

  1. [clangd] Update gRPC dependency for remote index tests (details)
Commit cf3881f300f973e6dcc12d2c25dff626290642aa by kbobyrev
[clangd] Update gRPC dependency for remote index tests

Context https://github.com/clangd/clangd/pull/783
The file was modifiedbuildbot/google/docker/buildbot-clangd-ubuntu-clang/Dockerfile (diff)

Summary

  1. Add option to llvm-gsymutil to read addresses from stdin. (details)
  2. [GlobalISel] Fix div+rem -> divrem combine causing use-def violation. (details)
  3. [clang-tidy] Fix a crash for raw-string-literal check. (details)
  4. [mlir][Python][linalg] Fix to limit size of SmallVector. (details)
  5. [AArch64] Combine vector shift instructions in SelectionDAG (details)
  6. Force visibility of llvm::Any to external (details)
  7. [CostModel][AArch64] Add missing costs for getShuffleCost with scalable vectors (details)
Commit 0ddc75fd08346d0b81f1345f3ca6164880bf9770 by simon.giesecke
Add option to llvm-gsymutil to read addresses from stdin.

Differential Revision: https://reviews.llvm.org/D102224
The file was modifiedllvm/test/tools/llvm-gsymutil/X86/elf-dwarf.yaml
The file was modifiedllvm/test/tools/llvm-gsymutil/cmdline.test
The file was modifiedllvm/tools/llvm-gsymutil/llvm-gsymutil.cpp
Commit 57ea5d4f48754b9b3470fceb197a56ed938ddc02 by Amara Emerson
[GlobalISel] Fix div+rem -> divrem combine causing use-def violation.
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/prelegalizer-combiner-divrem-insertpt-crash.mir
Commit 775ca3a89cba104d7c0dc762a0c5c5624c1d397c by hokein.wu
[clang-tidy] Fix a crash for raw-string-literal check.

getSourceText could return an empty string for error cases (e.g. invalid
source locaiton), this patch makes the code more robust.

The crash did happen in our internal codebase, but unfortunately I
didn't manage to get a reproduce case. One thing I can confirm from
the core dump is that the crash is caused by calling isRawStringLiteral
on an empty Text.

Differential Revision: https://reviews.llvm.org/D102770
The file was modifiedclang-tools-extra/clang-tidy/modernize/RawStringLiteralCheck.cpp
Commit 99a198641cbb196a1bdfd444ae64c0ab8d4d4c55 by gysit
[mlir][Python][linalg] Fix to limit size of SmallVector.

Stack allocate at most two ScalarAssign elements. Using the default number of inlined elements triggered a static assert in some setups (https://reviews.llvm.org/D102075).

Differential Revision: https://reviews.llvm.org/D102827
The file was modifiedmlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-yaml-gen.cpp
Commit a647100b4320923b0e9d156cc3872b3be470ad98 by andrew.savonichev
[AArch64] Combine vector shift instructions in SelectionDAG

bswap.v2i16 + sitofp in LLVM IR generate a sequence of:

  - REV32 + USHR for bswap.v2i16
  - SHL + SSHR + SCVTF for sext to v2i32 and scvt

The shift instructions are excessive as noted in PR24820, and they can
be optimized to just SSHR.

Differential Revision: https://reviews.llvm.org/D102333
The file was addedllvm/test/CodeGen/AArch64/aarch64-bswap-ext.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
Commit 3d3abc22b3ef189813a3b9061c2a90ba86a32f44 by sguelton
Force visibility of llvm::Any to external

llvm::Any::TypeId::Id relies on the uniqueness of the address of a static
variable defined in a template function. hidden visibility implies vague linkage
for that variable, which does not guarantee the uniqueness of the address across
a binary and a shared library. This totally breaks the implementation of
llvm::Any.

Ideally, setting visibility to llvm::Any::TypeId::Id should be enough,
unfortunately this doesn't work as expected and we lack time (before 12.0.1
release) to understand why setting the visibility to llvm::Any does work.

See https://gcc.gnu.org/wiki/Visibility and
https://gcc.gnu.org/onlinedocs/gcc/Vague-Linkage.html
for more information on that topic.

Differential Revision: https://reviews.llvm.org/D101972
The file was modifiedllvm/include/llvm/ADT/Any.h
Commit 9199b6535df17c719c980beb3883c956f9d5f809 by caroline.concatto
[CostModel][AArch64] Add missing costs for getShuffleCost with scalable vectors

Differential Revision: https://reviews.llvm.org/D102490
The file was modifiedllvm/test/Analysis/CostModel/AArch64/sve-shuffle-broadcast.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/sve-intrinsics.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp