[llvm-commits] [llvm] r135261 - /llvm/trunk/lib/Support/APFloat.cpp

Eli Friedman eli.friedman at gmail.com
Fri Jul 15 00:39:16 PDT 2011


On Fri, Jul 15, 2011 at 12:31 AM, Chandler Carruth <chandlerc at gmail.com> wrote:
> Author: chandlerc
> Date: Fri Jul 15 02:31:10 2011
> New Revision: 135261
>
> URL: http://llvm.org/viewvc/llvm-project?rev=135261&view=rev
> Log:
> Explicitly cast the second argument to unsigned in order to select the
> desired overload.
>
> This is a bit of a hackish workaround to fix the compile after r135259.
> Let me know if there is a better approach.

Convert the APInt constructor in question to use ArrayRef?

-Eli



More information about the llvm-commits mailing list