[LLVMdev] "Cannot select" error in 2.9

Gregory Junker gjunker at dayark.com
Sat Jul 30 19:26:22 PDT 2011


> -----Original Message-----
> From: Nick Lewycky [mailto:nicholas at mxc.ca]
> Sent: Saturday, July 30, 2011 6:13 PM
> To: Gregory Junker
> Cc: 'Frits van Bommel'; llvmdev at cs.uiuc.edu
> Subject: Re: [LLVMdev] "Cannot select" error in 2.9
> 
> Gregory Junker wrote:
> >
> >> Actually, it was new in *2.6*, which was released almost two years
> >> ago. It's documented here:
> >>
> <http://llvm.org/releases/2.6/docs/ReleaseNotes.html#coreimprovements>.
> >
> > Interesting -- then I guess my question is why 2.8 (which is the
> first version of LLVM I've used) didn't flag this?
> >
> > Either way, it makes sense and changing my API usage to call
> CreateFAdd instead of CreateAdd fixes this.
> 
> For a while, we kept some API backwards compatibility magic in place
> which would forward creations of adds into creations of fadds.
> 
> Nick

Figured it might be something like that. ;)

Thanks again!
Greg




More information about the llvm-dev mailing list