[llvm] [RegScavenger] Simplify state tracking for backwards scavenging (PR #71202)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 3 10:07:52 PDT 2023


================
@@ -466,7 +466,7 @@ PPCFrameLowering::findScratchRegister(MachineBasicBlock *MBB,
       RS.enterBasicBlock(*MBB);
----------------
jayfoad wrote:

Same here, the `MBBI == MBB->begin()` case is not required.

https://github.com/llvm/llvm-project/pull/71202


More information about the llvm-commits mailing list