[LLVMdev] "Cannot select" error in 2.9

Gregory Junker gjunker at dayark.com
Fri Jul 29 14:33:57 PDT 2011



> -----Original Message-----
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
> On Behalf Of Duncan Sands
> Sent: Friday, July 29, 2011 12:45 PM
> To: llvmdev at cs.uiuc.edu
> Subject: Re: [LLVMdev] "Cannot select" error in 2.9
> 
> Hi Gregory,
> 
> > I didn't find anything relevant in the archives about this so I
> wanted to
> > ask here.
> >
> > I am generating a simple function for JIT using the API. The function
> > structure and code work fine with 2.8 but give me "Cannot select"
> with 2.9.
> 
> did you initialize the target?
> 


Yes, InitializeNativeTarget() is the first thing called.

Greg




More information about the llvm-dev mailing list