[PATCH] D150584: [M68k] Do not require register scavenging during PEI

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 15 09:10:29 PDT 2023


foad created this revision.
foad added a reviewer: myhsu.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
foad requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Nothing in this target appears to use the scavenger.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D150584

Files:
  llvm/lib/Target/M68k/M68kRegisterInfo.cpp


Index: llvm/lib/Target/M68k/M68kRegisterInfo.cpp
===================================================================
--- llvm/lib/Target/M68k/M68kRegisterInfo.cpp
+++ llvm/lib/Target/M68k/M68kRegisterInfo.cpp
@@ -213,7 +213,7 @@
 
 bool M68kRegisterInfo::requiresRegisterScavenging(
     const MachineFunction &MF) const {
-  return true;
+  return false;
 }
 
 bool M68kRegisterInfo::trackLivenessAfterRegAlloc(


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150584.522224.patch
Type: text/x-patch
Size: 413 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230515/8909ee20/attachment.bin>


More information about the llvm-commits mailing list