SuccessChanges

Summary

  1. [CMake][AIX] Set LLVM_ENABLE_PER_TARGET_RUNTIME_DIR appropriately for AIX (details)
  2. [AST] Use data-recursion when building ParentMap, avoid stack overflow. (details)
  3. Remove stale assert. (details)
  4. [mlir][NFC] Promote memory space to BaseMemRefType (details)
Commit 4b8cb665a13b1eef4df3e09080098b5f8f520016 by daltenty
[CMake][AIX] Set LLVM_ENABLE_PER_TARGET_RUNTIME_DIR appropriately for AIX

AIX by default usually folds 32-bit & 64-bit arch libraries into a single
archive, a behaviour we may want for the runtime libraries in the future,
so we don't necessarily want to opt into the multlib layout introduce in
D45604, which is currently the default for runtime builds.

Reviewed By: hubert.reinterpretcast

Differential Revision: https://reviews.llvm.org/D88169
The file was modifiedllvm/runtimes/CMakeLists.txt (diff)
Commit 1ad94624f8a092fbfcb74685e11243c186b04c8f by sam.mccall
[AST] Use data-recursion when building ParentMap, avoid stack overflow.

The following crashes on my system before this patch, but not after:

  void foo(int i) {
    switch (i) {
      case 1:
      case 2:
      ... 100000 cases ...
        ;
    }
  }

  clang-query -c="match stmt(hasAncestor(stmt()))" deep.c

I'm not sure it's actually a sane testcase to run though, it's pretty slow :-)

Differential Revision: https://reviews.llvm.org/D88222
The file was modifiedclang/lib/AST/ParentMapContext.cpp (diff)
Commit 34ca5b3392ced08e2320fb4236cca5c7df4ec6e9 by isanbard
Remove stale assert.

This is triggered during serialization. The test is for modules, but
will occur for any serialization effort using asm goto.

Reviewed By: nickdesaulniers, jyknight

Differential Revision: https://reviews.llvm.org/D88195
The file was addedclang/test/Modules/asm-goto.c
The file was modifiedclang/lib/AST/Stmt.cpp (diff)
The file was addedclang/test/Modules/Inputs/asm-goto/a.h
The file was addedclang/test/Modules/Inputs/asm-goto/module.modulemap
Commit 0a925a813a5003049bf12330111d61cb823b8814 by diego.caballero
[mlir][NFC] Promote memory space to BaseMemRefType

This patch moves the memory space field from MemRefType and UnrankedMemRefType
to their base class BaseMemRefType so that it can be retrieved from it without
downcasting it to the specific memref.

Reviewed By: silvas

Differential Revision: https://reviews.llvm.org/D87649
The file was modifiedmlir/lib/IR/TypeDetail.h (diff)
The file was modifiedmlir/lib/IR/StandardTypes.cpp (diff)
The file was modifiedmlir/include/mlir/IR/StandardTypes.h (diff)