HomePhabricator

Reland "Ensure that InstructionCost actually implements a total ordering"

Authored by ctetreau on Feb 3 2021, 6:40 AM.

Description

Reland "Ensure that InstructionCost actually implements a total ordering"

The operator< in the previous attempt was incorrect. It is unfortunate
that this was only caught by the expensive checks.

This reverts commit ff1147c3635685ba6aefbdc9394300adb5404595.