Changes

Summary

  1. X86: fix frame offset calculation with mandatory tail calls (details)
  2. [lldb] Partly revert "Allow range-based for loops over DWARFDIE's children" (details)
  3. [llvm][ExecutionEngine] Don't try to run tests on ARM64/Windows on Arm (details)
  4. [lldb] Fix lookup of .debug_loclists with split-dwarf (details)
  5. [X86] Split Subtarget ISA / Security / Tuning Feature Flags Definitions. NFC (details)
  6. Revert "Introduce intrinsic llvm.isnan" (details)
  7. [mlir] Fix CMake linker rules for ViewOpGraph.cpp (details)
Commit d7b0e5525a4e809cf61a4e1c82f000af781cbab4 by Tim Northover
X86: fix frame offset calculation with mandatory tail calls

If there's a region of the stack reserved for potential tail call arguments
(only the case when we guarantee tail calls will be honoured), this is right
next to the incoming stored return address, not necessarily next to the
callee-saved area, so combining the two into a single figure leads to incorrect
offsets in some edge cases.
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
Commit e4977f9cb58ff7820d0287ba309490af57787749 by Raphael Isemann
[lldb] Partly revert "Allow range-based for loops over DWARFDIE's children"

As pointed out in D107434 by Walter, D103172 also changed two for loops that
were actually not just iterating over some DIEs but also using the iteration
variable later on for some other things. This patch reverts the respective
faulty parts of D103172.
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
Commit b1802d694c1cce753d4e54b5924c68c7621d9dc7 by david.spickett
[llvm][ExecutionEngine] Don't try to run tests on ARM64/Windows on Arm

We use CMAKE_SYSTEM_PROCESSOR to set the host_arch lit feature.
This is going to be the same value as CMAKE_HOST_SYSTEM_PROCESSOR,
which on windows is set to the value of the PROCESSOR_ARCHITECTURE
environment variable.

https://cmake.org/cmake/help/latest/variable/CMAKE_HOST_SYSTEM_PROCESSOR.html#cmake-host-system-processor

On Windows on Arm this is "ARM64", not "AArch64" as we currently
look for.

https://docs.microsoft.com/en-us/windows/win32/winprog64/wow64-implementation-details#environment-variables

Add ARM64 to the unsupported list.

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D107361
The file was modifiedllvm/test/ExecutionEngine/lit.local.cfg
Commit 0092dbcd80f208f7becec002e70bad5b35a081cd by kimanh
[lldb] Fix lookup of .debug_loclists with split-dwarf

This patch fixes the lookup of locations in
.debug_loclists, if they are split in a .dwp file.

Mainly, we need to consider the cu index offsets.

Reviewed By: jankratochvil

Differential Revision: https://reviews.llvm.org/D107161
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
The file was addedlldb/test/Shell/SymbolFile/DWARF/x86/debug_loclists-dwp.s
Commit fc8dee1ebb9e3a660b18330888edad95ce893422 by llvm-dev
[X86] Split Subtarget ISA / Security / Tuning Feature Flags Definitions. NFC

Our list of slow/fast tuning feature flags has become pretty extensive and is randomly interleaved with ISA and Security (Retpoline etc.) flags, not even based on when the ISAs/flags were introduced, making it tricky to locate them. Plus we started treating tuning flags separately some time ago, so this patch tries to group the flags to match.

I've left them mostly in the same order within each group - I'm happy to rearrange them further if there are specific ISA or Tuning flags that you think should be kept closer together.

Differential Revision: https://reviews.llvm.org/D107370
The file was modifiedllvm/lib/Target/X86/X86.td
Commit 0c28a7c990c5218d6aec47c5052a51cba686ec5e by sepavloff
Revert "Introduce intrinsic llvm.isnan"

This reverts commit 16ff91ebccda1128c43ff3cee104e2c603569fb2.
Several errors were reported mainly test-suite execution time. Reverted
for investigation.
The file was removedllvm/test/CodeGen/PowerPC/ppc-fpclass.ll
The file was modifiedllvm/include/llvm/CodeGen/ISDOpcodes.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was removedllvm/test/CodeGen/AArch64/aarch64-fpclass.ll
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
The file was removedllvm/test/CodeGen/X86/x86-fpclass.ll
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was removedllvm/test/Transforms/InstCombine/fpclass.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was removedllvm/test/Transforms/InstSimplify/ConstProp/fpclassify.ll
The file was modifiedclang/test/CodeGen/aarch64-strictfp-builtins.c
The file was modifiedllvm/include/llvm/IR/Intrinsics.td
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/lib/Analysis/ConstantFolding.cpp
The file was modifiedclang/test/CodeGen/X86/strictfp_builtins.c
The file was modifiedclang/test/CodeGen/strictfp_builtins.c
Commit 7f163931b9421c61fe1859fd8b2d97e7f5a39c73 by springerm
[mlir] Fix CMake linker rules for ViewOpGraph.cpp

Differential Revision: https://reviews.llvm.org/D107439
The file was modifiedmlir/lib/Transforms/CMakeLists.txt
The file was modifiedmlir/lib/Support/CMakeLists.txt