[llvm] r322855 - [TargetLowering] add punctuation for readability; NFC
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 18 07:25:32 PST 2018
Author: spatel
Date: Thu Jan 18 07:25:32 2018
New Revision: 322855
URL: http://llvm.org/viewvc/llvm-project?rev=322855&view=rev
Log:
[TargetLowering] add punctuation for readability; 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=322855&r1=322854&r2=322855&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp Thu Jan 18 07:25:32 2018
@@ -580,7 +580,7 @@ bool TargetLowering::SimplifyDemandedBit
KnownBits LHSKnown;
// Do not increment Depth here; that can cause an infinite loop.
TLO.DAG.computeKnownBits(Op0, LHSKnown, Depth);
- // If the LHS already has zeros where RHSC does, this and is dead.
+ // If the LHS already has zeros where RHSC does, this 'and' is dead.
if ((LHSKnown.Zero & NewMask) == (~RHSC->getAPIntValue() & NewMask))
return TLO.CombineTo(Op, Op0);
More information about the llvm-commits
mailing list