mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +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:
parent
b0b7d897d8
commit
3d8b8a6451
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user