1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00

[NFC][CostModel] Fixed comment that comparisons work regardless of the state.

Reviewed By: sdesmalen

Differential Revision: https://reviews.llvm.org/D104068
This commit is contained in:
Daniil Fukalov 2021-06-08 19:53:28 +03:00
parent b0b7d897d8
commit 3d8b8a6451

View File

@ -74,8 +74,8 @@ public:
/// For all of the arithmetic operators provided here any invalid state is
/// perpetuated and cannot be removed. Once a cost becomes invalid it stays
/// invalid, and it also inherits any invalid state from the RHS. Regardless
/// of the state, arithmetic and comparisons work on the actual values in the
/// same way as they would on a basic type, such as integer.
/// of the state, arithmetic work on the actual values in the same way as they
/// would on a basic type, such as integer.
InstructionCost &operator+=(const InstructionCost &RHS) {
propagateState(RHS);