In some (likely invalid edge cases anyway), it's not correct to
directly copy the stack pointer register.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D156667
GlobalISel: Don't expand stacksave/stackrestore in IRTranslator ClosedPublic Authored by arsenm on Jul 31 2023, 4:20 AM.
Details Summary In some (likely invalid edge cases anyway), it's not correct to
Diff Detail Event Timelinearsenm added a parent revision: D156666: Intrinsics: Add type overload to stacksave and stackstore.Jul 31 2023, 4:20 AM arsenm added a child revision: D156668: AMDGPU/GlobalISel: Use SGPR results for G_AMDGPU_WAVE_ADDRESS.Jul 31 2023, 4:21 AM arsenm added a child revision: D156670: AMDGPU/GlobalISel: Handle stacksave/stackrestore.Jul 31 2023, 4:26 AM This revision is now accepted and ready to land.Jul 31 2023, 11:25 AM
Revision Contents
Diff 545586 llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
llvm/include/llvm/Support/TargetOpcodes.def
llvm/include/llvm/Target/GenericOpcodes.td
llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
llvm/lib/Target/X86/X86LegalizerInfo.cpp
llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
llvm/test/CodeGen/AArch64/GlobalISel/stacksave-stackrestore.ll
llvm/test/CodeGen/X86/GlobalISel/stacksave-stackrestore.ll
|