Skip to content

Commit

Permalink
Merged: [compiler] Don't elide ChangeTaggedToInt32->ChangeInt31ToTagg…
Browse files Browse the repository at this point in the history
…edSigned

(cherry picked from commit 4fae8b16802a416fe3aab0e7792fabe96cf1ecd8)

Bug: chromium:1278387
No-Try: true
No-Presubmit: true
No-Tree-Checks: true
Change-Id: Ia6b361f702261464e02785659a2a90cd2488a101
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3329666
Reviewed-by: Toon Verwaest <[email protected]>
Cr-Commit-Position: refs/branch-heads/9.7@{#34}
Cr-Branched-From: 49162da-refs/heads/9.7.106@{#1}
Cr-Branched-From: a7e9b8f-refs/heads/main@{#77674}
  • Loading branch information
LeszekSwirski authored and ajklein committed Dec 10, 2021
1 parent 99bdf2f commit bc50756
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 bc50756

Please sign in to comment.