From a975109a32be172323b98cc616d66baaa58b70b4 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Wed, 20 Jun 2018 04:32:07 +0000 Subject: [PATCH] [DAGCombiner] Add some comments to some true/false arguments to make it obvious what they are. NFC llvm-svn: 335095 --- lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index b3f5531e987..3d835266b90 100644 --- a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -6725,9 +6725,9 @@ SDValue DAGCombiner::foldSelectOfConstants(SDNode *N) { // in another basic block or it could require searching a complicated // expression. if (CondVT.isInteger() && - TLI.getBooleanContents(false, true) == + TLI.getBooleanContents(/*isVec*/false, /*isFloat*/true) == TargetLowering::ZeroOrOneBooleanContent && - TLI.getBooleanContents(false, false) == + TLI.getBooleanContents(/*isVec*/false, /*isFloat*/false) == TargetLowering::ZeroOrOneBooleanContent && C1->isNullValue() && C2->isOne()) { SDValue NotCond =