Skip to content

Commit f4f11c2

Browse files
LeszekSwirskiajklein
authored andcommitted
Merged: [compiler] Don't elide ChangeTaggedToInt32->ChangeInt31ToTaggedSigned
(cherry picked from commit 4fae8b1) Bug: chromium:1278387 No-Try: true No-Presubmit: true No-Tree-Checks: true Change-Id: I9b89834c094510e064988aa534ec230309996034 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3329665 Reviewed-by: Toon Verwaest <[email protected]> Cr-Commit-Position: refs/branch-heads/9.6@{#40} Cr-Branched-From: 0b7bda0-refs/heads/9.6.180@{#1} Cr-Branched-From: 41a5a24-refs/heads/main@{#77244}
1 parent 2fa3b13 commit f4f11c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/compiler/simplified-operator-reducer.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Reduction SimplifiedOperatorReducer::Reduce(Node* node) {
7777
case IrOpcode::kChangeInt32ToTagged: {
7878
Int32Matcher m(node->InputAt(0));
7979
if (m.HasResolvedValue()) return ReplaceNumber(m.ResolvedValue());
80-
if (m.IsChangeTaggedToInt32() || m.IsChangeTaggedSignedToInt32()) {
80+
if (m.IsChangeTaggedSignedToInt32()) {
8181
return Replace(m.InputAt(0));
8282
}
8383
break;

0 commit comments

Comments
 (0)