Because unconditional branch relaxation on AArch64 grows the stack to
spill a register, splitting a function would cause the red zone to be
overwritten. Explicitly disable MFS for such functions.
Depends on D157063
Paths
| Differential D157161
[CodeGen][AArch64] Don't split functions with a red zone on AArch64 AbandonedPublic Authored by leonardchan on Aug 4 2023, 4:56 PM.
Details
Diff Detail
Event Timelinedhoekwater removed a parent revision: D157063: [CodeGen] Make the MachineFunctionSplitter pass testable via MIR.Aug 28 2023, 4:57 PM
Revision Contents
Diff 547410 llvm/include/llvm/CodeGen/TargetInstrInfo.h
llvm/lib/CodeGen/MachineFunctionSplitter.cpp
llvm/lib/CodeGen/TargetInstrInfo.cpp
llvm/lib/Target/AArch64/AArch64InstrInfo.h
llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
llvm/test/CodeGen/AArch64/machine-function-splitter.mir
|