[LLVMdev] "Cannot select" error in 2.9

Frits van Bommel fvbommel at gmail.com
Sat Jul 30 15:46:41 PDT 2011

On 30 July 2011 23:39, Gregory Junker <gjunker at dayark.com> wrote:
>> From: Nick Lewycky [mailto:nicholas at mxc.ca]
>> Gregory Junker wrote:
>> > That doesn't make a lot of sense to me -- LLVM can't add doubles?
>> No, LLVM can't, but it can fadd them. ;) "add" only accepts integers
>> and
>> vectors of integers, "fadd" accepts floats and vectors of floats. See
>> their entries in the language reference:
> Ah interesting -- this was introduced in 2.9 then? Easy enough for me to fix
> this in my code.
> Out of curiosity, was this documented anywhere? I ask because I looked
> through release notes and either missed this or didn't see it, and I'd like
> to find out what else changed so I can make the necessary adjustments in my
> code.

Actually, it was new in *2.6*, which was released almost two years
ago. It's documented here:

More information about the llvm-dev mailing list