Skip to content

Commit 4fae8b1

Browse files
LeszekSwirskiV8 LUCI CQ
authored andcommitted
[compiler] Don't elide ChangeTaggedToInt32->ChangeInt31ToTaggedSigned
Bug: chromium:1278387 Change-Id: If834ee2f9ba3663822a8066fbd1ece49c24023da Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3329790 Commit-Queue: Leszek Swirski <[email protected]> Auto-Submit: Leszek Swirski <[email protected]> Reviewed-by: Nico Hartmann <[email protected]> Commit-Queue: Nico Hartmann <[email protected]> Cr-Commit-Position: refs/heads/main@{#78337}
1 parent 6d7ed2e commit 4fae8b1

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)