| 1 | on x86, this fails with a float comparison error even though the floats are the
|
| 2 | same, because it does absolute eq
|
| 3 | --
|
| 4 | |
| 5 | |
| 6 | @@ -172,14 +172,5 @@
|
| 7 | ASSERT_EQ(Freq2, TotalScore.loadStoreCounts());
|
| 8 | ASSERT_EQ(Freq1, TotalScore.cheapRematCounts());
|
| 9 | ASSERT_EQ(Freq2, TotalScore.expensiveRematCounts());
|
| 10 | - ASSERT_EQ(TotalScore.getScore(),
|
| 11 | - TotalScore.copyCounts() * CopyWeight +
|
| 12 | - TotalScore.loadCounts() * LoadWeight +
|
| 13 | - TotalScore.storeCounts() * StoreWeight +
|
| 14 | - TotalScore.loadStoreCounts() * (LoadWeight + StoreWeight) +
|
| 15 | - TotalScore.cheapRematCounts() * CheapRematWeight +
|
| 16 | - TotalScore.expensiveRematCounts() * ExpensiveRematWeight
|
| 17 | -
|
| 18 | - );
|
| 19 | }
|
| 20 | } // end namespace
|