On Fri, Jun 26, 2009 at 11:22 AM, Nate Begeman<[email protected]> wrote:
> -  return APValue();
> +  if (Result.isInt() || Result.isFloat()) {
> +    unsigned NumElts = E->getType()->getAsVectorType()->getNumElements();
> +    llvm::SmallVector<APValue, 4> Elts(NumElts, Result);
> +    Result = APValue(&Elts[0], Elts.size());
> +  }
> +  return Result;
>  }

Is there a missing conversion from the scalar type of the result to
the element type of the vector?

-Eli

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to