llvm.org GIT mirror llvm / f6c50a2
[TargetLowering] SimplifySetCC - remove repeated variable. NFCI. Also reduce scope of Temp variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359911 91177308-0d34-0410-b5e6-96231b3b80d8 Simon Pilgrim 1 year, 4 months ago
1 changed file(s) with 1 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
33293329 }
33303330
33313331 // Fold away ALL boolean setcc's.
3332 SDValue Temp;
33333332 if (N0.getValueType().getScalarType() == MVT::i1 && foldBooleans) {
3334 EVT OpVT = N0.getValueType();
3333 SDValue Temp;
33353334 switch (Cond) {
33363335 default: llvm_unreachable("Unknown integer setcc!");
33373336 case ISD::SETEQ: // X == Y -> ~(X^Y)