Index: test/cctest/compiler/test-simplified-lowering.cc |
diff --git a/test/cctest/compiler/test-simplified-lowering.cc b/test/cctest/compiler/test-simplified-lowering.cc |
index 1700e330f8e36a9366118f935ae79d31b536da20..0d16b3097b9527c5e64132f790d58159e12d4dda 100644 |
--- a/test/cctest/compiler/test-simplified-lowering.cc |
+++ b/test/cctest/compiler/test-simplified-lowering.cc |
@@ -1045,28 +1045,6 @@ static void CheckChangeOf(IrOpcode::Value change, Node* of, Node* node) { |
} |
-TEST(LowerNumberToInt32_to_nop) { |
- // NumberToInt32(x: kRepTagged | kTypeInt32) used as kRepTagged |
- TestingGraph t(Type::Signed32()); |
- Node* trunc = t.graph()->NewNode(t.simplified()->NumberToInt32(), t.p0); |
- Node* use = t.Use(trunc, kRepTagged); |
- t.Return(use); |
- t.Lower(); |
- CHECK_EQ(t.p0, use->InputAt(0)); |
-} |
- |
- |
-TEST(LowerNumberToInt32_to_ChangeTaggedToFloat64) { |
- // NumberToInt32(x: kRepTagged | kTypeInt32) used as kRepFloat64 |
- TestingGraph t(Type::Signed32()); |
- Node* trunc = t.graph()->NewNode(t.simplified()->NumberToInt32(), t.p0); |
- Node* use = t.Use(trunc, kRepFloat64); |
- t.Return(use); |
- t.Lower(); |
- CheckChangeOf(IrOpcode::kChangeTaggedToFloat64, t.p0, use->InputAt(0)); |
-} |
- |
- |
TEST(LowerNumberToInt32_to_ChangeTaggedToInt32) { |
// NumberToInt32(x: kRepTagged | kTypeInt32) used as kRepWord32 |
TestingGraph t(Type::Signed32()); |
@@ -1105,28 +1083,6 @@ TEST(LowerNumberToInt32_to_TruncateFloat64ToInt32_with_change) { |
} |
-TEST(LowerNumberToUint32_to_nop) { |
- // NumberToUint32(x: kRepTagged | kTypeUint32) used as kRepTagged |
- TestingGraph t(Type::Unsigned32()); |
- Node* trunc = t.graph()->NewNode(t.simplified()->NumberToUint32(), t.p0); |
- Node* use = t.Use(trunc, kRepTagged); |
- t.Return(use); |
- t.Lower(); |
- CHECK_EQ(t.p0, use->InputAt(0)); |
-} |
- |
- |
-TEST(LowerNumberToUint32_to_ChangeTaggedToFloat64) { |
- // NumberToUint32(x: kRepTagged | kTypeUint32) used as kRepWord32 |
- TestingGraph t(Type::Unsigned32()); |
- Node* trunc = t.graph()->NewNode(t.simplified()->NumberToUint32(), t.p0); |
- Node* use = t.Use(trunc, kRepFloat64); |
- t.Return(use); |
- t.Lower(); |
- CheckChangeOf(IrOpcode::kChangeTaggedToFloat64, t.p0, use->InputAt(0)); |
-} |
- |
- |
TEST(LowerNumberToUint32_to_ChangeTaggedToUint32) { |
// NumberToUint32(x: kRepTagged | kTypeUint32) used as kRepWord32 |
TestingGraph t(Type::Unsigned32()); |