[PATCH] D150557: [Mips] Avoid RegScavenger::forward in Mips16InstrInfo
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 23 03:27:15 PDT 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG48a1db6a1b84: [Mips] Avoid RegScavenger::forward in Mips16InstrInfo (authored by foad).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150557/new/
https://reviews.llvm.org/D150557
Files:
llvm/lib/Target/Mips/Mips16InstrInfo.cpp
Index: llvm/lib/Target/Mips/Mips16InstrInfo.cpp
===================================================================
--- llvm/lib/Target/Mips/Mips16InstrInfo.cpp
+++ llvm/lib/Target/Mips/Mips16InstrInfo.cpp
@@ -340,8 +340,8 @@
int Reg =0;
int SpReg = 0;
- rs.enterBasicBlock(MBB);
- rs.forward(II);
+ rs.enterBasicBlockEnd(MBB);
+ rs.backward(II);
//
// We need to know which registers can be used, in the case where there
// are not enough free registers. We exclude all registers that
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150557.524635.patch
Type: text/x-patch
Size: 507 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230523/df82d23a/attachment.bin>
More information about the llvm-commits
mailing list