aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/StringExtras.cpp
diff options
context:
space:
mode:
authorQingShan Zhang <qshanz@cn.ibm.com>2020-04-15 02:17:36 +0000
committerQingShan Zhang <qshanz@cn.ibm.com>2020-04-15 02:20:58 +0000
commitc9f9c79c5a4868f8bb7526c104aa18fd1dc42002 (patch)
tree00083b86be1f6c0c2e4f506e3c3a4433677d6d7d /llvm/lib/Support/StringExtras.cpp
parentcc149172dab22e404e74b3dba9abee1e9416af8e (diff)
downloadllvm-c9f9c79c5a4868f8bb7526c104aa18fd1dc42002.zip
llvm-c9f9c79c5a4868f8bb7526c104aa18fd1dc42002.tar.gz
llvm-c9f9c79c5a4868f8bb7526c104aa18fd1dc42002.tar.bz2
[NFC][DAGCombine] Change the value of NegatibleCost to make it align with the semantics
This is a minor NFC change to make the code more clear. We have the NegatibleCost that has cheaper, neutral, and expensive. Typically, the smaller one means the less cost. It is inverse for current implementation, which makes following code not easy to read. If (CostX > CostY) negate(X) Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D77993
Diffstat (limited to 'llvm/lib/Support/StringExtras.cpp')
0 files changed, 0 insertions, 0 deletions