| Index: test/unittests/compiler/int64-lowering-unittest.cc
|
| diff --git a/test/unittests/compiler/int64-lowering-unittest.cc b/test/unittests/compiler/int64-lowering-unittest.cc
|
| index 67917d8984900d42a25c176612e81f8441924b0e..e25b38463274a4f4a3c80d6213999f6987e7309f 100644
|
| --- a/test/unittests/compiler/int64-lowering-unittest.cc
|
| +++ b/test/unittests/compiler/int64-lowering-unittest.cc
|
| @@ -494,6 +494,24 @@ TEST_F(Int64LoweringTest, I64UConvertI32_2) {
|
| // kExprI64Clz:
|
| // kExprI64Ctz:
|
| // kExprI64Popcnt:
|
| +
|
| +TEST_F(Int64LoweringTest, Dfs) {
|
| + Node* common = Int64Constant(value(0));
|
| + LowerGraph(graph()->NewNode(machine()->Word64And(), common,
|
| + graph()->NewNode(machine()->Word64And(), common,
|
| + Int64Constant(value(1)))),
|
| + MachineRepresentation::kWord64);
|
| +
|
| + EXPECT_THAT(
|
| + graph()->end()->InputAt(1),
|
| + IsReturn2(IsWord32And(IsInt32Constant(low_word_value(0)),
|
| + IsWord32And(IsInt32Constant(low_word_value(0)),
|
| + IsInt32Constant(low_word_value(1)))),
|
| + IsWord32And(IsInt32Constant(high_word_value(0)),
|
| + IsWord32And(IsInt32Constant(high_word_value(0)),
|
| + IsInt32Constant(high_word_value(1)))),
|
| + start(), start()));
|
| +}
|
| } // namespace compiler
|
| } // namespace internal
|
| } // namespace v8
|
|
|