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
|
// 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 =
|
||||||
|
|
Loading…
Reference in New Issue