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

Unified Diff: test/cctest/compiler/test-representation-change.cc

Issue 2734253002: [turbofan] Propagate minus-zero truncation in representation inference. (Closed)
Patch Set: Address reviewer comments Created 3 years, 9 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 | « src/compiler/simplified-lowering.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/compiler/test-representation-change.cc
diff --git a/test/cctest/compiler/test-representation-change.cc b/test/cctest/compiler/test-representation-change.cc
index 94bd460850dc4e3ec17114cdbb498b7101d39572..e61713f836c4d88343fb0f4bee825d1299bbe752 100644
--- a/test/cctest/compiler/test-representation-change.cc
+++ b/test/cctest/compiler/test-representation-change.cc
@@ -445,20 +445,16 @@ static void TestMinusZeroCheck(IrOpcode::Value expected, Type* from_type) {
RepresentationChangerTester r;
CheckChange(expected, MachineRepresentation::kFloat64, from_type,
- UseInfo::CheckedSignedSmallAsWord32(
- CheckForMinusZeroMode::kCheckForMinusZero));
+ UseInfo::CheckedSignedSmallAsWord32(kDistinguishZeros));
CheckChange(expected, MachineRepresentation::kFloat64, from_type,
- UseInfo::CheckedSignedSmallAsWord32(
- CheckForMinusZeroMode::kDontCheckForMinusZero));
+ UseInfo::CheckedSignedSmallAsWord32(kIdentifyZeros));
CheckChange(expected, MachineRepresentation::kFloat64, from_type,
- UseInfo::CheckedSigned32AsWord32(
- CheckForMinusZeroMode::kCheckForMinusZero));
+ UseInfo::CheckedSigned32AsWord32(kDistinguishZeros));
CheckChange(expected, MachineRepresentation::kFloat64, from_type,
- UseInfo::CheckedSigned32AsWord32(
- CheckForMinusZeroMode::kDontCheckForMinusZero));
+ UseInfo::CheckedSigned32AsWord32(kDistinguishZeros));
}
TEST(MinusZeroCheck) {
« no previous file with comments | « src/compiler/simplified-lowering.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698