Skip to content

Commit

Permalink
[compiler] Don't elide ChangeTaggedToInt32->ChangeInt31ToTaggedSigned
Browse files Browse the repository at this point in the history
Bug: chromium:1278387
Change-Id: If834ee2f9ba3663822a8066fbd1ece49c24023da
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3329790
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Auto-Submit: Leszek Swirski <leszeks@chromium.org>
Reviewed-by: Nico Hartmann <nicohartmann@chromium.org>
Commit-Queue: Nico Hartmann <nicohartmann@chromium.org>
Cr-Commit-Position: refs/heads/main@{#78337}
  • Loading branch information
LeszekSwirski authored and V8 LUCI CQ committed Dec 10, 2021
1 parent 6d7ed2e commit 4fae8b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/simplified-operator-reducer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Reduction SimplifiedOperatorReducer::Reduce(Node* node) {
case IrOpcode::kChangeInt32ToTagged: {
Int32Matcher m(node->InputAt(0));
if (m.HasResolvedValue()) return ReplaceNumber(m.ResolvedValue());
if (m.IsChangeTaggedToInt32() || m.IsChangeTaggedSignedToInt32()) {
if (m.IsChangeTaggedSignedToInt32()) {
return Replace(m.InputAt(0));
}
break;
Expand Down

0 comments on commit 4fae8b1

Please sign in to comment.