search for: swaptf

Displaying 1 result from an estimated 1 matches for "swaptf".

2012 Jul 16
3
[LLVMdev] RFC: LLVM incubation, or requirements for committing new backends
...to a SELECT or if it is supported by a native > + // operation. (The code below does this but we don't have the Instruction > + // selection patterns to do this yet. > +#if 0 > + if (isZero(LHS) || isZero(RHS)) { > + SDValue Cond = (isZero(LHS) ? RHS : LHS); > + bool SwapTF = false; > + switch (CCOpcode) { > + case ISD::SETOEQ: > + case ISD::SETUEQ: > + case ISD::SETEQ: > + SwapTF = true; > + // Fall through > + case ISD::SETONE: > + case ISD::SETUNE: > + case ISD::SETNE: > + // We can lower to select &...