[DAGCombiner] Add some comments to some true/false arguments to make it obvious what they are. NFC

llvm-svn: 335095
This commit is contained in:
Craig Topper 2018-06-20 04:32:07 +00:00
parent 31a64ee76c
commit ddd88a559f
1 changed files with 2 additions and 2 deletions

View File

@ -6725,9 +6725,9 @@ SDValue DAGCombiner::foldSelectOfConstants(SDNode *N) {
// in another basic block or it could require searching a complicated // in another basic block or it could require searching a complicated
// expression. // expression.
if (CondVT.isInteger() && if (CondVT.isInteger() &&
TLI.getBooleanContents(false, true) == TLI.getBooleanContents(/*isVec*/false, /*isFloat*/true) ==
TargetLowering::ZeroOrOneBooleanContent && TargetLowering::ZeroOrOneBooleanContent &&
TLI.getBooleanContents(false, false) == TLI.getBooleanContents(/*isVec*/false, /*isFloat*/false) ==
TargetLowering::ZeroOrOneBooleanContent && TargetLowering::ZeroOrOneBooleanContent &&
C1->isNullValue() && C2->isOne()) { C1->isNullValue() && C2->isOne()) {
SDValue NotCond = SDValue NotCond =