Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Unified Diff: src/compiler/simplified-lowering.cc

Issue 2116533004: [turbofan] Properly lower NumberSinh, NumberCosh and NumberTanh. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-625121.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/simplified-lowering.cc
diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc
index 7261a4f78491ee681f21afa169fa07dbb1808d4a..df482e377bb322e086c9451d57ddf1725dfedc3b 100644
--- a/src/compiler/simplified-lowering.cc
+++ b/src/compiler/simplified-lowering.cc
@@ -1557,6 +1557,7 @@ class RepresentationSelector {
case IrOpcode::kNumberAtan:
case IrOpcode::kNumberAtanh:
case IrOpcode::kNumberCos:
+ case IrOpcode::kNumberCosh:
case IrOpcode::kNumberExp:
case IrOpcode::kNumberExpm1:
case IrOpcode::kNumberLog:
@@ -1565,7 +1566,9 @@ class RepresentationSelector {
case IrOpcode::kNumberLog10:
case IrOpcode::kNumberCbrt:
case IrOpcode::kNumberSin:
- case IrOpcode::kNumberTan: {
+ case IrOpcode::kNumberSinh:
+ case IrOpcode::kNumberTan:
+ case IrOpcode::kNumberTanh: {
VisitUnop(node, UseInfo::TruncatingFloat64(),
MachineRepresentation::kFloat64);
if (lower()) NodeProperties::ChangeOp(node, Float64Op(node));
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-625121.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698