mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
SPU LLVM: Minor fixup
This commit is contained in:
parent
feca7412d2
commit
4a8beb8588
1 changed files with 2 additions and 1 deletions
|
@ -4531,7 +4531,8 @@ class spu_llvm_recompiler : public spu_recompiler_base, public cpu_translator
|
|||
bool does_gpr_barrier_preceed_first_store(u32 i) const noexcept
|
||||
{
|
||||
const usz counter = store_context_ctr[i];
|
||||
return counter != 1 && counter < store_context_first_id[i];
|
||||
const usz first_id = store_context_first_id[i];
|
||||
return counter != 1 && first_id != umax && counter < first_id;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue