SPU LLVM: Revert store postponing restrictrictions

This commit is contained in:
Elad Ashkenazi 2024-08-05 12:04:20 +03:00 committed by Ani
parent 4084e6f584
commit 9f8d9c5d10

View File

@ -2340,7 +2340,6 @@ public:
} }
bool has_gpr_barriers_in_the_way = false; bool has_gpr_barriers_in_the_way = false;
bool potential_loop = false;
for (auto [a2, b2] : sucs) for (auto [a2, b2] : sucs)
{ {
@ -2352,7 +2351,6 @@ public:
break; break;
} }
potential_loop = true;
continue; continue;
} }
@ -2392,7 +2390,6 @@ public:
break; break;
} }
potential_loop = true;
continue; continue;
} }
@ -2427,12 +2424,6 @@ public:
continue; 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) for (auto [a2, b2] : sucs)
{ {
if (b2 != bqbi) if (b2 != bqbi)