[llvm] r356069 - [DAGCombiner] Fix Comment. NFC.

Nirav Dave via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 13 10:44:40 PDT 2019


Author: niravd
Date: Wed Mar 13 10:44:40 2019
New Revision: 356069

URL: http://llvm.org/viewvc/llvm-project?rev=356069&view=rev
Log:
[DAGCombiner] Fix Comment. NFC.

Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp?rev=356069&r1=356068&r2=356069&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Wed Mar 13 10:44:40 2019
@@ -1709,7 +1709,7 @@ SDValue DAGCombiner::visitTokenFactor(SD
   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)




More information about the llvm-commits mailing list