Changes

Summary

  1. Fix missing failures in clang-ppc64be* and retry fixing clang-x64-windows-msvc (details)
  2. [TableGen] Replace static_cast with llvm's cast. NFC (details)
  3. [mlir][linalg][bufferize] Relax rules for extract_slice/insert_slice matching (details)
  4. [clang-tidy] Fix false positive in cppcoreguidelines-virtual-class-destructor (details)
Commit 37ca7a795b277c20c02a218bf44052278c03344b by aqjune
Fix missing failures in clang-ppc64be* and retry fixing clang-x64-windows-msvc
The file was modifiedclang/test/CodeGenCXX/mangle-abi-tag.cpp
The file was modifiedclang/test/CodeGen/ppc-mm-malloc.c
Commit 64591f217d984e955c27942437117f9ee5af570c by craig.topper
[TableGen] Replace static_cast with llvm's cast. NFC

These all appear next to an isa<> and cast<> is much more
common in these cases.
The file was modifiedllvm/utils/TableGen/CodeGenDAGPatterns.cpp
Commit e7bb8dd92983a918fbb370b135e664825f387580 by springerm
[mlir][linalg][bufferize] Relax rules for extract_slice/insert_slice matching

The rules were too restrictive, causing out-of-place bufferization when the result of two ExtractSliceOp is fed into an InsertSliceOp.

Differential Revision: https://reviews.llvm.org/D111861
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
The file was modifiedmlir/test/Dialect/Linalg/comprehensive-module-bufferize-analysis.mlir
Commit f0711106dc6c14dcaf06437a0467043e983bf9dc by carlosgalvezp
[clang-tidy] Fix false positive in cppcoreguidelines-virtual-class-destructor

Incorrectly triggers for template classes that inherit
from a base class that has virtual destructor.

Any class inheriting from a base that has a virtual destructor
will have their destructor also virtual, as per the Standard:

https://timsong-cpp.github.io/cppwp/n4140/class.dtor#9

> If a class has a base class with a virtual destructor,
> its destructor (whether user- or implicitly-declared) is virtual.

Added unit tests to prevent regression.

Fixes bug https://bugs.llvm.org/show_bug.cgi?id=51912

Differential Revision: https://reviews.llvm.org/D110614
The file was modifiedclang-tools-extra/clang-tidy/cppcoreguidelines/VirtualClassDestructorCheck.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-virtual-class-destructor.cpp