[llvm] r315670 - [SelectionDAG] Fix typo in comment. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 12 22:35:34 PDT 2017


Author: ctopper
Date: Thu Oct 12 22:35:34 2017
New Revision: 315670

URL: http://llvm.org/viewvc/llvm-project?rev=315670&view=rev
Log:
[SelectionDAG] Fix typo in comment. NFC

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

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp?rev=315670&r1=315669&r2=315670&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp Thu Oct 12 22:35:34 2017
@@ -458,7 +458,7 @@ TargetLowering::SimplifyDemandedBits(SDN
   // If Old has more than one use then it must be Op, because the
   // AssumeSingleUse flag is not propogated to recursive calls of
   // SimplifyDemanded bits, so the only node with multiple use that
-  // it will attempt to combine will be opt.
+  // it will attempt to combine will be Op.
   assert(TLO.Old == Op);
 
   SmallVector <SDValue, 4> NewOps;




More information about the llvm-commits mailing list