Skip to content

Commit

Permalink
Merge pull request #3634 from alyssarosenzweig/constprop/leftover
Browse files Browse the repository at this point in the history
ConstProp: remove x86 jit leftover
  • Loading branch information
Sonicadvance1 authored May 16, 2024
2 parents 5bedf32 + bf3a09e commit 58614ff
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions FEXCore/Source/Interface/IR/Passes/ConstProp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ static std::optional<MemExtendedAddrResult> MemExtendedAddressing(IREmitter* IRE
}
}
}
#if defined(_M_ARM_64) // x86 can't sext or zext on mem ops
// Try to optimize: Base + (u32)Offset
else if (Src0Header->Op == OP_BFE) {
auto Bfe = Src0Header->C<IROp_Bfe>();
Expand All @@ -171,7 +170,6 @@ static std::optional<MemExtendedAddrResult> MemExtendedAddressing(IREmitter* IRE
std::make_tuple(MEM_OFFSET_SXTW, 1, IREmit->UnwrapNode(AddressHeader->Args[1]), IREmit->UnwrapNode(Src0Header->Args[0])));
}
}
#endif
}

// no match anywhere, just add
Expand Down

0 comments on commit 58614ff

Please sign in to comment.