[PATCH] D104068: [NFC][CostModel] Fixed comment that comparisons work regardless of the state.
Daniil Fukalov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 11 13:49:10 PDT 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG79ffbc9c9f5f: [NFC][CostModel] Fixed comment that comparisons work regardless of the state. (authored by dfukalov).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104068/new/
https://reviews.llvm.org/D104068
Files:
llvm/include/llvm/Support/InstructionCost.h
Index: llvm/include/llvm/Support/InstructionCost.h
===================================================================
--- llvm/include/llvm/Support/InstructionCost.h
+++ llvm/include/llvm/Support/InstructionCost.h
@@ -74,8 +74,8 @@
/// 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);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104068.351555.patch
Type: text/x-patch
Size: 833 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210611/6768d4bc/attachment.bin>
More information about the llvm-commits
mailing list