RCLSE: Don't optimize through a BREAK irop

The end of this optimization pass is getting to a bit long.
It might be worth adding a new flag to IR ops soon for ops we can't
optimize context loadstores through.
This commit is contained in:
Ryan Houdek committed 2021-11-19 12:19:37 -08:00
1 parent 3dc938b8c5
commit b10ee67525
1 file changed
+2 -1
@@ -662,7 +662,8 @@ bool RCLSE::RedundantStoreLoadElimination(FEXCore::IR::IREmitter *IREmit) {
else if (IROp->Op == OP_STORECONTEXTINDEXED ||
IROp->Op == OP_LOADCONTEXTINDEXED ||
IROp->Op == OP_SYSCALL ||
IROp->Op == OP_INLINESYSCALL) {
IROp->Op == OP_INLINESYSCALL ||
IROp->Op == OP_BREAK) {
// We can't track through these
ResetClassificationAccesses(&LocalInfo);
}