[turbofan] Simplified LowerCheckedInt(32|64)ToTaggedSigned
Merge duplicate LowerCheckedInt32ToTaggedSigned code. Skip ChangeInt32ToInt64: * In 32 bit archs, ChangeInt32ToInt64 is a no-op. * In 64 bit archs with 31 bit smis and smi corrupting enabled, ChangeInt32ToIntPtr can be skipped. This is because it would only change the upper bits, and those upper bits are not significant since we are smi-corrupting. Change-Id: Ia217773fc7fccdd6227f66fbd600326ebbe9b86d Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1893193 Commit-Queue: Santiago Aboy Solanes <solanes@chromium.org> Reviewed-by: Tobias Tebbi <tebbi@chromium.org> Reviewed-by: Jakob Gruber <jgruber@chromium.org> Cr-Commit-Position: refs/heads/master@{#64906}
Showing
Please
register
or
sign in
to comment