Index: src/compiler/simplified-lowering.cc |
diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc |
index a813d136646ac67c78de9018662a6373ddc0b27b..255699f0f25814f8b5fb9db4eb014e195cf29414 100644 |
--- a/src/compiler/simplified-lowering.cc |
+++ b/src/compiler/simplified-lowering.cc |
@@ -962,6 +962,12 @@ class RepresentationSelector { |
} |
break; |
} |
+ case IrOpcode::kNumberClz32: { |
+ VisitUnop(node, UseInfo::TruncatingWord32(), |
+ MachineRepresentation::kWord32); |
+ if (lower()) NodeProperties::ChangeOp(node, Uint32Op(node)); |
+ break; |
+ } |
case IrOpcode::kNumberCeil: { |
VisitUnop(node, UseInfo::Float64(), MachineRepresentation::kFloat64); |
if (lower()) DeferReplacement(node, lowering->Float64Ceil(node)); |