[llvm] [Mips] Add the missing judgment when processing function handleMFLOSlot (PR #121463)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 22 23:34:25 PST 2025


================
@@ -751,9 +751,8 @@ bool MipsBranchExpansion::handleMFLOSlot(Pred Predicate, Safe SafeInSlot) {
   for (MachineFunction::iterator FI = MFp->begin(); FI != MFp->end(); ++FI) {
     for (Iter I = FI->begin(); I != FI->end(); ++I) {
 
-      if (!Predicate(*I) && !hasPendingMFLO) {
+      if (!Predicate(*I) && !hasPendingMFLO)
----------------
yingopq wrote:

OK, applied.

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


More information about the llvm-commits mailing list