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

Issue 1128133003: [turbofan] Make an OptionalOperator for MachineOperatorBuilder. (Closed)

Created:
5 years, 7 months ago by titzer
Modified:
5 years, 6 months ago
Reviewers:
Benedikt Meurer
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Make an OptionalOperator for MachineOperatorBuilder. This makes usage of the MachineOperatorBuilder more robust, as it will be an error to request an unsupported operator. Along the way, I noticed that all 7 platforms support Float32Abs and Float64Abs. Should make them non-optional in another CL? R=bmeurer@chromium.org Committed: https://crrev.com/deb5dcea5c6a23f5b1463fc02cb722a62a285c9b Cr-Commit-Position: refs/heads/master@{#29223}

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : OPTIONAL macro #

Unified diffs Side-by-side diffs Delta from patch set Stats (+232 lines, -139 lines) Patch
M src/compiler/common-operator-reducer.cc View 1 2 4 chunks +16 lines, -16 lines 0 comments Download
M src/compiler/js-intrinsic-lowering.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M src/compiler/machine-operator.h View 1 2 4 chunks +25 lines, -15 lines 0 comments Download
M src/compiler/machine-operator.cc View 1 2 4 chunks +19 lines, -9 lines 0 comments Download
M test/cctest/compiler/test-run-machops.cc View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M test/unittests/compiler/instruction-selector-unittest.h View 1 2 3 4 2 chunks +10 lines, -6 lines 0 comments Download
M test/unittests/compiler/machine-operator-unittest.cc View 1 2 3 4 1 chunk +153 lines, -84 lines 0 comments Download
M test/unittests/compiler/raw-machine-assembler.h View 1 2 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
titzer
5 years, 7 months ago (2015-05-06 14:09:48 UTC) #1
Benedikt Meurer
https://codereview.chromium.org/1128133003/diff/1/src/compiler/machine-operator.h File src/compiler/machine-operator.h (right): https://codereview.chromium.org/1128133003/diff/1/src/compiler/machine-operator.h#newcode24 src/compiler/machine-operator.h:24: bool supported() const { return op_ != nullptr; } ...
5 years, 7 months ago (2015-05-07 04:48:38 UTC) #2
titzer
https://codereview.chromium.org/1128133003/diff/1/src/compiler/machine-operator.h File src/compiler/machine-operator.h (right): https://codereview.chromium.org/1128133003/diff/1/src/compiler/machine-operator.h#newcode24 src/compiler/machine-operator.h:24: bool supported() const { return op_ != nullptr; } ...
5 years, 7 months ago (2015-05-11 11:55:30 UTC) #3
Benedikt Meurer
https://codereview.chromium.org/1128133003/diff/1/test/unittests/compiler/machine-operator-unittest.cc File test/unittests/compiler/machine-operator-unittest.cc (right): https://codereview.chromium.org/1128133003/diff/1/test/unittests/compiler/machine-operator-unittest.cc#newcode208 test/unittests/compiler/machine-operator-unittest.cc:208: PURE(Word32And, 2, 0, 1); On 2015/05/11 11:55:29, titzer wrote: ...
5 years, 7 months ago (2015-05-12 05:15:41 UTC) #4
titzer
On 2015/05/12 05:15:41, Benedikt Meurer wrote: > https://codereview.chromium.org/1128133003/diff/1/test/unittests/compiler/machine-operator-unittest.cc > File test/unittests/compiler/machine-operator-unittest.cc (right): > > https://codereview.chromium.org/1128133003/diff/1/test/unittests/compiler/machine-operator-unittest.cc#newcode208 ...
5 years, 6 months ago (2015-06-22 14:22:10 UTC) #5
Benedikt Meurer
Nice, thanks. LGTM
5 years, 6 months ago (2015-06-23 02:34:25 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1128133003/60001
5 years, 6 months ago (2015-06-23 08:17:56 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: v8_win_nosnap_shared_compile_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_nosnap_shared_compile_rel/builds/2210)
5 years, 6 months ago (2015-06-23 08:24:57 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1128133003/80001
5 years, 6 months ago (2015-06-23 10:34:02 UTC) #13
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 6 months ago (2015-06-23 10:35:38 UTC) #14
commit-bot: I haz the power
5 years, 6 months ago (2015-06-23 10:35:54 UTC) #15
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/deb5dcea5c6a23f5b1463fc02cb722a62a285c9b
Cr-Commit-Position: refs/heads/master@{#29223}

Powered by Google App Engine
This is Rietveld 408576698