forked from OSchip/llvm-project
parent
8bfac2c553
commit
841cce1ae9
|
@ -196,7 +196,7 @@ bool PEI::runOnMachineFunction(MachineFunction &Fn) {
|
|||
// place all spills in the entry block, all restores in return blocks.
|
||||
calculateSets(Fn);
|
||||
|
||||
// Add the code to save and restore the callee saved registers
|
||||
// Add the code to save and restore the callee saved registers.
|
||||
if (!F->hasFnAttribute(Attribute::Naked))
|
||||
insertCSRSpillsAndRestores(Fn);
|
||||
|
||||
|
|
Loading…
Reference in New Issue