Commit e1f91dba authored by Georg Schmid's avatar Georg Schmid Committed by Commit Bot

[turbofan] Extend BitcastTaggedToWord(BitcastWordToTaggedSigned(...))...

[turbofan] Extend BitcastTaggedToWord(BitcastWordToTaggedSigned(...)) elimination to BitcastTaggedSignedToWord

R=tebbi@chromium.org

Bug: chromium:973047
Change-Id: I33de86258e04140c6da8099a0d9e4aee3f74abe9
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1655298
Commit-Queue: Georg Schmid <gsps@google.com>
Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#62115}
parent 80f7c4a8
......@@ -710,7 +710,8 @@ Reduction MachineOperatorReducer::Reduce(Node* node) {
return ReduceFloat64Compare(node);
case IrOpcode::kFloat64RoundDown:
return ReduceFloat64RoundDown(node);
case IrOpcode::kBitcastTaggedToWord: {
case IrOpcode::kBitcastTaggedToWord:
case IrOpcode::kBitcastTaggedSignedToWord: {
NodeMatcher m(node->InputAt(0));
if (m.IsBitcastWordToTaggedSigned()) {
RelaxEffectsAndControls(node);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment