llvm-project/llvm/test
Bradley Smith 8f623f4ab0 [AArch64][SVE] Restore SP from FP when SVE CSRs and variable sized objects are present
Without SVE, after a dynamic stack allocation has modified the SP, it is
presumed that a frame pointer restoration will revert the SP back to
it's correct value prior to any caller stack being restored. However the
SVE frame is restored using the stack pointer directly, as it is located
after the frame pointer. This means that in the presence of a dynamic
stack allocation, any SVE callee state gets corrupted as SP has the
incorrect value when the SVE state is restored.

To address this issue, when variable sized objects and SVE CSRs are
present, treat the stack as having been realigned, hence restoring the
stack pointer from the frame pointerr prior to restoring the SVE state.

Differential Revision: https://reviews.llvm.org/D124615
2022-05-04 12:57:03 +00:00
..
Analysis [SCEV] Add poison implication tests for umin_seq (NFC) 2022-05-04 14:47:46 +02:00
Assembler [DebugInfo] Add a TargetFuncName field in DISubprogram for 2022-04-15 16:38:23 -04:00
Bindings [OCaml] Remove add_loop_unswitch use in test. 2022-04-29 11:09:51 +01:00
Bitcode Attributes: add a new `allocptr` attribute 2022-04-26 13:57:11 -04:00
BugPoint
CodeGen [AArch64][SVE] Restore SP from FP when SVE CSRs and variable sized objects are present 2022-05-04 12:57:03 +00:00
DebugInfo [DebugInfo][InstrRef] Don't generate redundant DBG_PHIs 2022-05-03 09:56:12 +01:00
Demangle
Examples
ExecutionEngine [JITLink] Suppress "symbols not found" errors for testcase. 2022-04-17 08:34:22 -07:00
Feature [Passes] Remove legacy LoopUnswitch pass. 2022-04-29 10:30:49 +01:00
FileCheck
Instrumentation [memprof] Only insert dynamic shadow load when needed 2022-05-02 13:36:00 -07:00
Integer
JitListener
LTO Support the min of module flags when linking, use for AArch64 BTI/PAC-RET 2022-04-13 09:31:51 +02:00
Linker [Bitcode] materialize Functions early when BlockAddress taken 2022-04-12 11:38:35 -07:00
MC [AArch64] Support for Ampere1 core 2022-05-03 15:54:02 +01:00
MachineVerifier GlobalISel: Relax handling of G_ASSERT_* with source register classes 2022-04-22 10:49:50 -04:00
Object [AMDGPU] Add gfx11 subtarget ELF definition 2022-04-29 12:27:17 -04:00
ObjectYAML
Other Add a regression test to guard the 0 hot-caller threshold in SamplePGO + ThinLTO. - Add a comment near where the threshold is set. 2022-04-25 18:29:56 +00:00
SafepointIRVerifier
Support
SymbolRewriter
TableGen [TableGen] Add support for variable length instruction in decoder generator 2022-05-03 03:37:13 +08:00
ThinLTO/X86 [llvm-lto] Remove support for legacy pass manager 2022-04-11 09:40:17 +02:00
Transforms [InstCombine] Fix commuted tests (NFC) 2022-05-04 14:52:31 +02:00
Unit
Verifier Revert "[asan] Emit .size directive for global object size before redzone" 2022-04-21 16:21:17 -07:00
YAMLParser
tools [llvm-ar] Modify usage printouts to use the correct toolname 2022-05-03 17:45:11 +01:00
.clang-format
CMakeLists.txt Add DXIL Bitcode Writer and DXIL testing 2022-04-15 18:50:26 -05:00
TestRunner.sh
lit.cfg.py [NVPTX] Integrate ptxas to LIT tests 2022-04-28 14:59:45 +03:00
lit.site.cfg.py.in [NVPTX] Integrate ptxas to LIT tests 2022-04-28 14:59:45 +03:00