llvm.org GIT mirror llvm / d268a49
improve support for fgetsign git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45322 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 12 years ago
1 changed file(s) with 6 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
13221322 KnownZero |= (~InMask) & Mask;
13231323 return;
13241324 }
1325 case ISD::FGETSIGN:
1326 // All bits are zero except the low bit.
1327 KnownZero = MVT::getIntVTBitMask(Op.getValueType()) ^ 1;
1328 return;
1329
13251330 case ISD::ADD: {
13261331 // If either the LHS or the RHS are Zero, the result is zero.
13271332 ComputeMaskedBits(Op.getOperand(1), Mask, KnownZero, KnownOne, Depth+1);
37023707 case ISD::FDIV: return "fdiv";
37033708 case ISD::FREM: return "frem";
37043709 case ISD::FCOPYSIGN: return "fcopysign";
3710 case ISD::FGETSIGN: return "fgetsign";
37053711
37063712 case ISD::SETCC: return "setcc";
37073713 case ISD::SELECT: return "select";