SuccessChanges

Summary

  1. Revert "[mlir:JitRunner] Use custom shared library init/destroy functions if available" (details)
  2. [clangd] Fix type printing in the presence of qualifiers (details)
  3. [ConstProp] Constant propagation for get.active.lane.mask instrinsics (details)
  4. [clangd] Add missing "override" to fix the build. (details)
Commit 740950cf1cda4e5ccecf3781b7b64c9a9a72b168 by ezhulenev
Revert "[mlir:JitRunner] Use custom shared library init/destroy functions if available"

This reverts commit 84dc9b451bfd62474f44dd1af0e4955a0110d523.

Fix Windows breakage: http://lab.llvm.org:8011/#/builders/13/builds/3658/steps/6/logs/stdio

Differential Revision: https://reviews.llvm.org/D94309
The file was modifiedmlir/lib/ExecutionEngine/AsyncRuntime.cpp
The file was modifiedmlir/lib/ExecutionEngine/CMakeLists.txt
The file was modifiedmlir/lib/ExecutionEngine/JitRunner.cpp
Commit d4af86581e80ef0f7a6f4a4fff1c97260a726e71 by adamcz
[clangd] Fix type printing in the presence of qualifiers

When printing QualType with qualifiers like "const", or pointing to an
elaborated type, we would print garbage like:
  std::const std::vector<int>&
with the initial std:: being calculated correctly, but inserted in the
wrong place and the second std:: not removed (due to elaborated type).

This affected, among others, ExtractFunction and ExpandAuto tweaks.

This change introduces a new callback to PrintingPolicy, which allows us
to influence the printing of namespace qualifiers. In the future, the
same callback can be used to improve handling of "using namespace"
directives as well.

Fixes:
  https://github.com/clangd/clangd/issues/640 (ExtractFunction)
  https://github.com/clangd/clangd/issues/264 (ExpandAuto)
  First point of https://github.com/clangd/clangd/issues/524

Differential Revision: https://reviews.llvm.org/D94259
The file was modifiedclang-tools-extra/clangd/unittests/tweaks/ExpandAutoTypeTests.cpp
The file was modifiedclang/include/clang/AST/PrettyPrinter.h
The file was modifiedclang-tools-extra/clangd/unittests/tweaks/ExtractFunctionTests.cpp
The file was modifiedclang-tools-extra/clangd/AST.cpp
The file was modifiedclang/lib/AST/TypePrinter.cpp
Commit e185b1dd7b34c352167823295281f1bf1df09976 by david.green
[ConstProp] Constant propagation for get.active.lane.mask instrinsics

Similar to the Arm VCTP intrinsics, if the operands of an
active.lane.mask are both known, the constant lane mask can be
calculated. This can come up after unrolling the loops.

Differential Revision: https://reviews.llvm.org/D94103
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/active-lane-mask.ll
The file was modifiedllvm/lib/Analysis/ConstantFolding.cpp
Commit 2e1bb7940a4ddc847cebd25092d10f40866a7fad by adamcz
[clangd] Add missing "override" to fix the build.

Follow-up to d4af86581e80ef0f7a6f4a4fff1c97260a726e71

Differential Revision: https://reviews.llvm.org/D94314
The file was modifiedclang-tools-extra/clangd/AST.cpp