IR: Removes implicit sized add

Saw a few locations in here that we operate things at 64-bit
unconditionally around pointer calculation. Will be coming back for
those when running in 32-bit mode.

This is the last of the implicit sized ALU operations! After this I'll
be going through the IR more individually to try and remove any
stragglers.
Then should be able to start cleaning up and actually optimizing GPR
operations.
This commit is contained in:
Ryan Houdek committed 2023-08-29 22:26:51 -07:00
1 parent 351c0eee42
commit f741ebf970
6 files changed
+198 -188

No files matched your search

-7
View File
@@ -91,13 +91,6 @@ friend class FEXCore::IR::PassManager;
return InvalidNode;
}
// Temporary naughty implicit IR operation handlers
///< ALU
IRPair<IROp_Add> _Add(OrderedNode *_Src1, OrderedNode *_Src2) {
return _Add(static_cast<OpSize>(std::max<uint8_t>(4, std::max(GetOpSize(_Src1), GetOpSize(_Src2)))), _Src1, _Src2);
}
// End of Temporary naughty implicit IR operation handlers
void AddPhiValue(IR::IROp_Phi *Phi, OrderedNode *Value) {
// Got to do some bookkeeping first
Value->AddUse();