forked from OSchip/llvm-project
[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:
parent
31a64ee76c
commit
ddd88a559f
|
@ -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 =
|
||||
|
|
Loading…
Reference in New Issue