SuccessChanges

Summary

  1. [NFC] Move readAPValue/writeAPValue up the inheritance hierarchy (details)
  2. [Constant] Add tests for ConstantVector::get (NFC) (details)
  3. [InstSimplify] Fold insertelement vec, poison, idx into vec (details)
  4. [lldb] [debugserver] Add stN aliases for stmmN for compatibility (details)
  5. [lldb] Skip scoped enum checks with Dwarf <4 (details)
Commit 37e83bc6db3ad7d9a5d182694ebe71ebbc6120de by varun_gandhi
[NFC] Move readAPValue/writeAPValue up the inheritance hierarchy

The implementation for (de)serialization of APValues can be shared
between Clang and Swift, so we prefer pushing the methods up
the inheritance hierarchy, instead of having the methods live in
ASTReader/ASTWriter. Fixes rdar://72592937.

Reviewed By: rjmccall

Differential Revision: https://reviews.llvm.org/D94196
The file was modifiedclang/include/clang/Serialization/ASTRecordReader.h
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/include/clang/AST/PropertiesBase.td
The file was modifiedclang/include/clang/AST/AbstractBasicWriter.h
The file was modifiedclang/include/clang/AST/AbstractBasicReader.h
The file was modifiedclang/include/clang/Serialization/ASTWriter.h
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/include/clang/AST/APValue.h
The file was modifiedclang/utils/TableGen/ClangASTPropertiesEmitter.cpp
The file was modifiedclang/include/clang/Serialization/ASTRecordWriter.h
The file was modifiedclang/lib/AST/APValue.cpp
Commit c95f39891a282ebf36199c73b705d4a2c78a46ce by aqjune
[Constant] Add tests for ConstantVector::get (NFC)
The file was modifiedllvm/unittests/IR/ConstantsTest.cpp
Commit 3a60a1f165708954ce8d279f9692116844a998fa by aqjune
[InstSimplify] Fold insertelement vec, poison, idx into vec

This is a simple patch that adds folding from `insertelement vec, poison, idx` into `vec`.

Alive2 proof: https://alive2.llvm.org/ce/z/2y2vbC

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D93994
The file was modifiedllvm/test/Transforms/InstCombine/extractelement.ll
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/alternate-int.ll
The file was modifiedllvm/test/Transforms/InstCombine/extractelement-inseltpoison.ll
The file was modifiedllvm/test/Transforms/InstSimplify/insertelement.ll
Commit b9bfe8a75306b211dc53291d28a31c0f37be2a2c by mgorny
[lldb] [debugserver] Add stN aliases for stmmN for compatibility

Add stN aliases for the FPU (stmmN) registers on MacOSX.  This should
improve compatibility between MacOSX and other platforms, and partially
fix x86*-fp-write tests without having to duplicate them.  Note that
the tests are currently still broken due to ftag incompatibility.

Differential Revision: https://reviews.llvm.org/D91847
The file was modifiedlldb/test/Shell/Register/x86-multithread-write.test
The file was modifiedlldb/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp
The file was modifiedlldb/test/Shell/lit.cfg.py
The file was modifiedlldb/test/Shell/lit.site.cfg.py.in
The file was modifiedlldb/test/API/commands/register/register/register_command/TestRegisters.py
The file was modifiedlldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp
The file was modifiedlldb/test/CMakeLists.txt
Commit fbc13e9345c7c9607f0c28e0ccfa9a7baf254f29 by Jonas Devlieghere
[lldb] Skip scoped enum checks with Dwarf <4

The scoped enum tests depend on DW_AT_enum_class which was added in
Dwarf 4.

I made part of the test conditional on the Dwarf version instead of
splitting it into a separate test and using the decorator to avoid the
overhead of setting up the test.
The file was modifiedlldb/test/API/python_api/type/TestTypeList.py