summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorNirav Dave <niravd@google.com>2019-03-13 17:44:40 +0000
committerNirav Dave <niravd@google.com>2019-03-13 17:44:40 +0000
commitee5183c7961c23516a3a8cecedaae8df0983def8 (patch)
tree817ac4f3eb44ccc70be9b44c418dff54949ea498 /llvm/lib/CodeGen
parentd6351340bb9bf7703fb79629efdba5886d434694 (diff)
downloadbcm5719-llvm-ee5183c7961c23516a3a8cecedaae8df0983def8.tar.gz
bcm5719-llvm-ee5183c7961c23516a3a8cecedaae8df0983def8.zip
[DAGCombiner] Fix Comment. NFC.
llvm-svn: 356069
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 1095b413072..f6363e271a1 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -1709,7 +1709,7 @@ SDValue DAGCombiner::visitTokenFactor(SDNode *N) {
if (OptLevel == CodeGenOpt::None)
return SDValue();
- // If this is used only a single token factor, we should make sure we have a
+ // If the sole user is a token factor, we should make sure we have a
// chance to merge them together. This prevents TF chains from inhibiting
// optimizations.
if (N->hasOneUse() && N->use_begin()->getOpcode() == ISD::TokenFactor)
OpenPOWER on IntegriCloud