SPU LLVM: Fix branch to self at start of block state check
This commit is contained in:
@@ -3342,7 +3342,7 @@ public:
|
||||
// Emit state check if necessary (TODO: more conditions)
|
||||
for (u32 pred : pfound->second)
|
||||
{
|
||||
if (pred >= baddr && bi > 0)
|
||||
if (pred >= baddr)
|
||||
{
|
||||
// If this block is a target of a backward branch (possibly loop), emit a check
|
||||
check_state(baddr);
|
||||
|
||||
Reference in New Issue
Block a user