summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-06-20 04:32:07 +0000
committerCraig Topper <craig.topper@intel.com>2018-06-20 04:32:07 +0000
commitddd88a559f0f872ed9302dd3247dc231e2a44a07 (patch)
tree850cfdd406c2efcdd2bfbfbc1c4330c645cad0d5
parent31a64ee76c1da60fa8e85c88b434e46ae062df33 (diff)
downloadbcm5719-llvm-ddd88a559f0f872ed9302dd3247dc231e2a44a07.tar.gz
bcm5719-llvm-ddd88a559f0f872ed9302dd3247dc231e2a44a07.zip
[DAGCombiner] Add some comments to some true/false arguments to make it obvious what they are. NFC
llvm-svn: 335095
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index b3f5531e987..3d835266b90 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/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 =
OpenPOWER on IntegriCloud