On Sat, Nov 15, 2008 at 11:17 PM, Anders Carlsson <[EMAIL PROTECTED]> wrote: > + case BinaryOperator::NE: > + Result = CR == APFloat::cmpGreaterThan || CR == APFloat::cmpLessThan; > + break; > + } > + > + Result.zextOrTrunc(getIntTypeSizeInBits(E->getType())); > + Result.setIsUnsigned(E->getType()->isUnsignedIntegerType()); > + return true; > + }
It's a bit more intuitive to set the width before the value, although it doesn't matter in this particular case. -Eli _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
