FailedChanges

Summary

  1. [ASTImporter] Modifying ImportDeclContext(...) to ensure that we also handle the case when the FieldDecl is an ArrayType whose ElementType is a RecordDecl (details)
  2. [NFC][regalloc] Use reverse iterator ranges for improved readability (details)
  3. Don't build a StringLiteral expression with reference type when (details)
  4. [AArch64][GlobalISel] Make <4 x s16> G_ASHR and G_LSHR legal. (details)
  5. [mlir] Add tutorial index.md pages (details)
Commit 6807f244fa67bb75ef09fb3db54743b5b358a7fa by shafik
[ASTImporter] Modifying ImportDeclContext(...) to ensure that we also handle the case when the FieldDecl is an ArrayType whose ElementType is a RecordDecl

When we fixed ImportDeclContext(...) in D71378 to make sure we complete each
FieldDecl of a RecordDecl when we are importing the definition we missed the
case where a FeildDecl was an ArrayType whose ElementType is a record.

This fix was motivated by a codegen crash during LLDB expression parsing. Since
we were not importing the definition we were crashing during layout which
required all the records be defined.

Differential Revision: https://reviews.llvm.org/D86660
The file was addedlldb/test/API/commands/expression/codegen-crash-import-def-arraytype-element/main.cpp
The file was addedlldb/test/API/commands/expression/codegen-crash-import-def-arraytype-element/Makefile
The file was addedlldb/test/API/commands/expression/codegen-crash-import-def-arraytype-element/TestImportDefinitionArrayType.py
The file was modifiedclang/lib/AST/ASTImporter.cpp
Commit 6a6b06f5262bb96523eceef4a42fe8e60ae2a630 by mtrofin
[NFC][regalloc] Use reverse iterator ranges for improved readability

Differential Revision: https://reviews.llvm.org/D88047
The file was modifiedllvm/lib/CodeGen/RegAllocGreedy.cpp
Commit 0f6facca9701f6df87d13e55d70bd7111a0472aa by richard
Don't build a StringLiteral expression with reference type when
performing list-initialization of a char array reference from a braced
string literal of a smaller size.
The file was modifiedclang/lib/Sema/SemaInit.cpp
The file was modifiedclang/test/CodeGenCXX/cxx0x-initializer-references.cpp
Commit 825203daae7ffea0326757fdbb819682dfbef4f9 by Amara Emerson
[AArch64][GlobalISel] Make <4 x s16> G_ASHR and G_LSHR legal.

Selection support for these is coming up.
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-shift.mir
Commit 3a799deed72963d124cc9ab8141fb32976cfc846 by jpienaar
[mlir] Add tutorial index.md pages

Sets the content for the section entry pages Hugo side.

Differential Revision: https://reviews.llvm.org/D87969
The file was modifiedmlir/docs/Tutorials/Toy/Ch-2.md
The file was modifiedmlir/docs/Tutorials/Toy/Ch-1.md
The file was addedmlir/docs/Tutorials/Toy/_index.md
The file was addedmlir/docs/Tutorials/_index.md