Merge pull request #853 from FEX-Emu/skmp/dont-lse-though-syscalls

RCLSE: Invalidate around OP_SYSCALLs, Syscalls might read the context
This commit is contained in:
Ryan Houdek authored and GitHub committed 2021-03-16 17:54:54 -07:00
commit 0bdddedfe6
1 file changed
+2 -1
@@ -598,7 +598,8 @@ bool RCLSE::RedundantStoreLoadElimination(FEXCore::IR::IREmitter *IREmit) {
}
}
else if (IROp->Op == OP_STORECONTEXTINDEXED ||
IROp->Op == OP_LOADCONTEXTINDEXED) {
IROp->Op == OP_LOADCONTEXTINDEXED ||
IROp->Op == OP_SYSCALL) {
// We can't track through these
ResetClassificationAccesses(&LocalInfo);
}