Skip to content

Commit

Permalink
[M68k] Do not require register scavenging during PEI
Browse files Browse the repository at this point in the history
Nothing in this target appears to use the scavenger.

Differential Revision: https://reviews.llvm.org/D150584
  • Loading branch information
jayfoad committed May 19, 2023
1 parent cde9d41 commit 7ca1bcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Target/M68k/M68kRegisterInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ bool M68kRegisterInfo::eliminateFrameIndex(MachineBasicBlock::iterator II,

bool M68kRegisterInfo::requiresRegisterScavenging(
const MachineFunction &MF) const {
return true;
return false;
}

bool M68kRegisterInfo::trackLivenessAfterRegAlloc(
Expand Down

0 comments on commit 7ca1bcb

Please sign in to comment.