]> granicus.if.org Git - llvm/commitdiff
[SelectionDAG] Fix typo in comment. NFC
authorCraig Topper <craig.topper@intel.com>
Fri, 13 Oct 2017 05:35:34 +0000 (05:35 +0000)
committerCraig Topper <craig.topper@intel.com>
Fri, 13 Oct 2017 05:35:34 +0000 (05:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315670 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/TargetLowering.cpp

index 7570b06a5de4ec92a8a79932085d34e550c160b2..68602c81481f07ebdf95486283bea9f4d5dad886 100644 (file)
@@ -458,7 +458,7 @@ TargetLowering::SimplifyDemandedBits(SDNode *User, unsigned OpIdx,
   // 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;