[PATCH] D156667: GlobalISel: Don't expand stacksave/stackrestore in IRTranslator
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 31 04:20:06 PDT 2023
arsenm created this revision.
arsenm added reviewers: aemerson, Pierre-vh, paquette, dsanders, nitinjohnraj.
Herald added subscribers: pengfei, hiraditya.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.
In some (likely invalid edge cases anyway), it's not correct to
directly copy the stack pointer register.
https://reviews.llvm.org/D156667
Files:
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156667.545586.patch
Type: text/x-patch
Size: 11397 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230731/bff5e028/attachment.bin>
More information about the llvm-commits
mailing list