SuccessChanges

Summary

  1. Revert "[X86][AMX] Fix tile config register spill issue." (details)
  2. [X86] Avoid a std::string copy by replacing auto with const auto&. NFC. (details)
  3. [DAG] CombineToPreIndexedLoadStore - use const APInt& for getAPIntValue(). NFCI. (details)
  4. MC: AArch64: Add support for gotpage_lo15 (details)
  5. [lldb][import-std-module] Do some basic file checks before trying to import a module (details)
  6. [lldb] Make TestBSDArchives a no-debug-info-test (details)
Commit 64132f541edd82bffebbd5521e620219743a42eb by yuanke.luo
Revert "[X86][AMX] Fix tile config register spill issue."

This reverts commit 20013d02f3352a88d0838eed349abc9a2b0e9cc0.
The file was modifiedllvm/test/CodeGen/X86/opt-pipeline.ll
The file was modifiedllvm/lib/Target/X86/X86RegisterInfo.td
The file was modifiedllvm/lib/Target/X86/X86ExpandPseudo.cpp
The file was modifiedllvm/include/llvm/CodeGen/LiveIntervals.h
The file was modifiedllvm/lib/Target/X86/X86InstrAMX.td
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-bf16-intrinsics.ll
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-across-func.ll
The file was modifiedllvm/test/CodeGen/X86/AMX/amx-spill-merge.ll
The file was removedllvm/test/CodeGen/X86/AMX/amx-ldtilecfg-insert.ll
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86PreTileConfig.cpp
The file was modifiedllvm/lib/Target/X86/X86TileConfig.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
The file was modifiedllvm/lib/CodeGen/LiveIntervals.cpp
Commit 86021d98d3f8b27f7956cee04f11505c2e836e81 by llvm-dev
[X86] Avoid a std::string copy by replacing auto with const auto&. NFC.

Fixes msvc analyzer warning.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit bc9ab9a5cd6bafc5e1293f3d5d51638f8f5cd26c by llvm-dev
[DAG] CombineToPreIndexedLoadStore - use const APInt& for getAPIntValue(). NFCI.

Cleanup some code to use auto* properly from cast, and use const APInt& for getAPIntValue() to avoid an unnecessary copy.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit ff41ae8b367769126c5d377eb712c7becfa2126f by adhemerval.zanella
MC: AArch64: Add support for gotpage_lo15

It is not used bt LLVM itself, but it would be used on lld tests
to implement R_AARCH64_LD64_GOTPAGE_LO15 support.
The file was modifiedllvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
The file was modifiedllvm/test/MC/AArch64/arm64-elf-relocs.s
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.h
Commit 99b7b41edf4fbc2d6e52bc4524c956e8f69042d9 by Raphael Isemann
[lldb][import-std-module] Do some basic file checks before trying to import a module

Currently when LLDB has enough data in the debug information to import the `std` module,
it will just try to import it. However when debugging libraries where the sources aren't
available anymore, importing the module will generate a confusing diagnostic that
the module couldn't be built.

For the fallback mode (where we retry failed expressions with the loaded module), this
will cause the second expression to fail with a module built error instead of the
actual parsing issue in the user expression.

This patch adds checks that ensures that we at least have any source files in the found
include paths before we try to import the module. This prevents the module from being
loaded in the situation described above which means we don't emit the bogus 'can't
import module' diagnostic and also don't waste any time retrying the expression in the
fallback mode.

For the unit tests I did some refactoring as they now require a VFS with the files in it
and not just the paths. The Python test just builds a binary with a fake C++ module,
then deletes the module before debugging.

Fixes rdar://73264458

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D95096
The file was addedlldb/test/API/commands/expression/import-std-module/missing-module-sources/root/usr/include/c++/v1/vector
The file was removedlldb/test/API/commands/expression/import-std-module/empty-module/root/usr/include/libc_header.h
The file was modifiedlldb/unittests/Expression/CppModuleConfigurationTest.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.h
The file was addedlldb/test/API/commands/expression/import-std-module/forward_decl_from_module/root/usr/include/stdio.h
The file was addedlldb/test/API/commands/expression/import-std-module/empty-module/root/usr/include/stdio.h
The file was addedlldb/test/API/commands/expression/import-std-module/missing-module-sources/root/usr/include/stdio.h
The file was addedlldb/test/API/commands/expression/import-std-module/missing-module-sources/TestStdModuleSourcesMissing.py
The file was modifiedlldb/test/API/commands/expression/import-std-module/empty-module/root/usr/include/c++/v1/algorithm
The file was addedlldb/test/API/commands/expression/import-std-module/sysroot/root/usr/include/c++/v1/vector
The file was removedlldb/test/API/commands/expression/import-std-module/forward_decl_from_module/root/usr/include/libc_header.h
The file was addedlldb/test/API/commands/expression/import-std-module/missing-module-sources/main.cpp
The file was removedlldb/test/API/commands/expression/import-std-module/sysroot/root/usr/include/libc_header.h
The file was addedlldb/test/API/commands/expression/import-std-module/empty-module/root/usr/include/c++/v1/vector
The file was modifiedlldb/test/API/commands/expression/import-std-module/sysroot/root/usr/include/c++/v1/algorithm
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.cpp
The file was addedlldb/test/API/commands/expression/import-std-module/missing-module-sources/root/usr/include/c++/v1/module.modulemap
The file was addedlldb/test/API/commands/expression/import-std-module/sysroot/root/usr/include/stdio.h
The file was modifiedlldb/test/API/commands/expression/import-std-module/forward_decl_from_module/root/usr/include/c++/v1/vector
The file was addedlldb/test/API/commands/expression/import-std-module/missing-module-sources/Makefile
Commit 060b51e0524aed6b6cc452baa8eb6d663a580eee by Raphael Isemann
[lldb] Make TestBSDArchives a no-debug-info-test

The DSYM variant of this test is failing since D94890. But as we explicitly
try to disable the DSYM generation in the makefile and build the archive on
our own, I don't see why we even need to run the DSYM version of the test.

This patch disables the generated derived versions of this test for the
different debug information containers (which includes the failing DSYM one).
The file was modifiedlldb/test/API/functionalities/archives/TestBSDArchives.py