Skip to content

Commit

Permalink
Merge pull request #417 from Wuerfel21/W21-fix-fcache-inbetween-check
Browse files Browse the repository at this point in the history
Fix FCACHE inbetween section eligibility check
  • Loading branch information
totalspectrum authored Sep 26, 2023
2 parents 9fd7433 + aa45c9b commit 8d96e41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/asm/optimize_ir.c
Original file line number Diff line number Diff line change
Expand Up @@ -5619,7 +5619,7 @@ LoopCanBeFcached(IRList *irl, IR *root, int size_left)
} else {
break;
}
} else if (ir->opc == OPC_CALL && MaybeHubDest(ir->dst) ) {
} else if (IsBranch(ir) && MaybeHubDest(JumpDest(ir)) ) {
break;
} else if (ir->opc == OPC_FCACHE) {
break;
Expand Down

0 comments on commit 8d96e41

Please sign in to comment.