| Index: src/compiler/int64-lowering.cc
|
| diff --git a/src/compiler/int64-lowering.cc b/src/compiler/int64-lowering.cc
|
| index eed769c2eb3034ea7c466efc195ed113ac49a607..830a0de607af27e0d0ee06ab056f2742089d4d39 100644
|
| --- a/src/compiler/int64-lowering.cc
|
| +++ b/src/compiler/int64-lowering.cc
|
| @@ -268,9 +268,6 @@ void Int64Lowering::LowerNode(Node* node) {
|
| node->NullAllInputs();
|
| break;
|
| }
|
| - // todo(ahaas): I added a list of missing instructions here to make merging
|
| - // easier when I do them one by one.
|
| - // kExprI64Add:
|
| case IrOpcode::kInt64Add: {
|
| DCHECK(node->InputCount() == 2);
|
|
|
| @@ -289,8 +286,6 @@ void Int64Lowering::LowerNode(Node* node) {
|
| ReplaceNode(node, low_node, high_node);
|
| break;
|
| }
|
| -
|
| - // kExprI64Sub:
|
| case IrOpcode::kInt64Sub: {
|
| DCHECK(node->InputCount() == 2);
|
|
|
| @@ -309,7 +304,6 @@ void Int64Lowering::LowerNode(Node* node) {
|
| ReplaceNode(node, low_node, high_node);
|
| break;
|
| }
|
| - // kExprI64Mul:
|
| case IrOpcode::kInt64Mul: {
|
| DCHECK(node->InputCount() == 2);
|
|
|
| @@ -328,11 +322,6 @@ void Int64Lowering::LowerNode(Node* node) {
|
| ReplaceNode(node, low_node, high_node);
|
| break;
|
| }
|
| - // kExprI64DivS:
|
| - // kExprI64DivU:
|
| - // kExprI64RemS:
|
| - // kExprI64RemU:
|
| - // kExprI64Ior:
|
| case IrOpcode::kWord64Or: {
|
| DCHECK(node->InputCount() == 2);
|
| Node* left = node->InputAt(0);
|
| @@ -347,8 +336,6 @@ void Int64Lowering::LowerNode(Node* node) {
|
| ReplaceNode(node, low_node, high_node);
|
| break;
|
| }
|
| -
|
| - // kExprI64Xor:
|
| case IrOpcode::kWord64Xor: {
|
| DCHECK(node->InputCount() == 2);
|
| Node* left = node->InputAt(0);
|
| @@ -363,7 +350,6 @@ void Int64Lowering::LowerNode(Node* node) {
|
| ReplaceNode(node, low_node, high_node);
|
| break;
|
| }
|
| - // kExprI64Shl:
|
| case IrOpcode::kWord64Shl: {
|
| // TODO(turbofan): if the shift count >= 32, then we can set the low word
|
| // of the output to 0 and just calculate the high word.
|
| @@ -386,7 +372,6 @@ void Int64Lowering::LowerNode(Node* node) {
|
| ReplaceNode(node, low_node, high_node);
|
| break;
|
| }
|
| - // kExprI64ShrU:
|
| case IrOpcode::kWord64Shr: {
|
| // TODO(turbofan): if the shift count >= 32, then we can set the low word
|
| // of the output to 0 and just calculate the high word.
|
| @@ -409,7 +394,6 @@ void Int64Lowering::LowerNode(Node* node) {
|
| ReplaceNode(node, low_node, high_node);
|
| break;
|
| }
|
| - // kExprI64ShrS:
|
| case IrOpcode::kWord64Sar: {
|
| // TODO(turbofan): if the shift count >= 32, then we can set the low word
|
| // of the output to 0 and just calculate the high word.
|
| @@ -432,7 +416,6 @@ void Int64Lowering::LowerNode(Node* node) {
|
| ReplaceNode(node, low_node, high_node);
|
| break;
|
| }
|
| - // kExprI64Eq:
|
| case IrOpcode::kWord64Equal: {
|
| DCHECK(node->InputCount() == 2);
|
| Node* left = node->InputAt(0);
|
| @@ -452,7 +435,6 @@ void Int64Lowering::LowerNode(Node* node) {
|
| ReplaceNode(node, replacement, nullptr);
|
| break;
|
| }
|
| - // kExprI64LtS:
|
| case IrOpcode::kInt64LessThan: {
|
| LowerComparison(node, machine()->Int32LessThan(),
|
| machine()->Uint32LessThan());
|
| @@ -473,8 +455,6 @@ void Int64Lowering::LowerNode(Node* node) {
|
| machine()->Uint32LessThanOrEqual());
|
| break;
|
| }
|
| -
|
| - // kExprI64SConvertI32:
|
| case IrOpcode::kChangeInt32ToInt64: {
|
| DCHECK(node->InputCount() == 1);
|
| Node* input = node->InputAt(0);
|
| @@ -489,7 +469,6 @@ void Int64Lowering::LowerNode(Node* node) {
|
| node->NullAllInputs();
|
| break;
|
| }
|
| - // kExprI64UConvertI32: {
|
| case IrOpcode::kChangeUint32ToUint64: {
|
| DCHECK(node->InputCount() == 1);
|
| Node* input = node->InputAt(0);
|
| @@ -500,7 +479,6 @@ void Int64Lowering::LowerNode(Node* node) {
|
| node->NullAllInputs();
|
| break;
|
| }
|
| - // kExprF64ReinterpretI64:
|
| case IrOpcode::kBitcastInt64ToFloat64: {
|
| DCHECK(node->InputCount() == 1);
|
| Node* input = node->InputAt(0);
|
| @@ -529,7 +507,6 @@ void Int64Lowering::LowerNode(Node* node) {
|
| ReplaceNode(node, load, nullptr);
|
| break;
|
| }
|
| - // kExprI64ReinterpretF64:
|
| case IrOpcode::kBitcastFloat64ToInt64: {
|
| DCHECK(node->InputCount() == 1);
|
| Node* input = node->InputAt(0);
|
| @@ -665,7 +642,6 @@ void Int64Lowering::LowerNode(Node* node) {
|
| }
|
| break;
|
| }
|
| - // kExprI64Clz:
|
| case IrOpcode::kWord64Clz: {
|
| DCHECK(node->InputCount() == 1);
|
| Node* input = node->InputAt(0);
|
| @@ -684,7 +660,6 @@ void Int64Lowering::LowerNode(Node* node) {
|
| ReplaceNode(node, low_node, graph()->NewNode(common()->Int32Constant(0)));
|
| break;
|
| }
|
| - // kExprI64Ctz:
|
| case IrOpcode::kWord64Ctz: {
|
| DCHECK(node->InputCount() == 1);
|
| DCHECK(machine()->Word32Ctz().IsSupported());
|
| @@ -704,7 +679,6 @@ void Int64Lowering::LowerNode(Node* node) {
|
| ReplaceNode(node, low_node, graph()->NewNode(common()->Int32Constant(0)));
|
| break;
|
| }
|
| - // kExprI64Popcnt:
|
| case IrOpcode::kWord64Popcnt: {
|
| DCHECK(node->InputCount() == 1);
|
| Node* input = node->InputAt(0);
|
|
|