SPU LLVM: Minor cleanup after #8559

This commit is contained in:
Eladash 2020-07-26 18:32:28 +03:00 committed by Ivan
parent 2ce49e3674
commit 21a1072117
1 changed files with 2 additions and 22 deletions

View File

@ -7295,17 +7295,7 @@ public:
{
v128 data = get_const_vector(ci, m_pos, 7000);
bool all_bytes_equiv = true;
for (u32 i = 0; i < 16; i++)
{
if (data._u8[0] != data._u8[i])
{
all_bytes_equiv = false;
break;
}
}
const bool all_bytes_equiv = data == v128::from8p(data._u8[0]);
if (all_bytes_equiv)
{
// See above
@ -7324,17 +7314,7 @@ public:
{
v128 data = get_const_vector(ci, m_pos, 7000);
bool all_bytes_equiv = true;
for (u32 i = 0; i < 16; i++)
{
if (data._u8[0] != data._u8[i])
{
all_bytes_equiv = false;
break;
}
}
const bool all_bytes_equiv = data == v128::from8p(data._u8[0]);
if (all_bytes_equiv)
{
// See above