Skip to content

SPU LLVM: Revert store postponing restrictrictions #15897

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions rpcs3/Emu/Cell/SPULLVMRecompiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2340,7 +2340,6 @@ class spu_llvm_recompiler : public spu_recompiler_base, public cpu_translator
}

bool has_gpr_barriers_in_the_way = false;
bool potential_loop = false;

for (auto [a2, b2] : sucs)
{
Expand All @@ -2352,7 +2351,6 @@ class spu_llvm_recompiler : public spu_recompiler_base, public cpu_translator
break;
}

potential_loop = true;
continue;
}

Expand Down Expand Up @@ -2392,7 +2390,6 @@ class spu_llvm_recompiler : public spu_recompiler_base, public cpu_translator
break;
}

potential_loop = true;
continue;
}

Expand Down Expand Up @@ -2427,12 +2424,6 @@ class spu_llvm_recompiler : public spu_recompiler_base, public cpu_translator
continue;
}

if (!potential_loop)
{
spu_log.trace("Avoided postponing r%u store from block 0x%x (not loop)", i, block_q[bi].first);
continue;
}

for (auto [a2, b2] : sucs)
{
if (b2 != bqbi)
Expand Down