Index: src/compiler/machine-operator-reducer.cc |
diff --git a/src/compiler/machine-operator-reducer.cc b/src/compiler/machine-operator-reducer.cc |
index 15a9f9105f09f419d26c5f6d2a8fdc903556c88f..c4d0aec31c042513a3278b6ee9db985f9a047cbf 100644 |
--- a/src/compiler/machine-operator-reducer.cc |
+++ b/src/compiler/machine-operator-reducer.cc |
@@ -388,6 +388,11 @@ Reduction MachineOperatorReducer::Reduce(Node* node) { |
if (m.HasValue()) return ReplaceFloat64(base::ieee754::log(m.Value())); |
break; |
} |
+ case IrOpcode::kFloat64Log1p: { |
+ Float64Matcher m(node->InputAt(0)); |
+ if (m.HasValue()) return ReplaceFloat64(base::ieee754::log1p(m.Value())); |
+ break; |
+ } |
case IrOpcode::kChangeFloat32ToFloat64: { |
Float32Matcher m(node->InputAt(0)); |
if (m.HasValue()) return ReplaceFloat64(m.Value()); |