[LLVMdev] [ia64] Assertion failed: (!OpInfo.AssignedRegs.Regs.empty() && "Couldn't allocate input reg!")

Marcel Moolenaar xcllnt at mac.com
Tue May 20 14:34:29 PDT 2008


On May 20, 2008, at 3:45 PM, Chris Lattner wrote:

> On Tue, 20 May 2008, Marcel Moolenaar wrote:
>> On May 20, 2008, at 1:45 PM, Marcel Moolenaar wrote:
>>> The following IR is causing the assert:
>
> The issue here is that the IA64 backend doesn't have inline asm  
> support
> yet.  This should be pretty easy to add.  Take a look at the X86  
> version:
> X86TargetLowering::getRegForInlineAsmConstraint

I see. That is much more fundamental than what I figured...

> Right.  The issue is that the target didn't return info about what  
> it is,
> so the generic code is trying to guess :).  The code at the end of the
> X86/X86ISelLowering.cpp file should be a good place to start, or the  
> ARM
> backend or PPC which are somewhat simpler.

Thanks. I'll see if I can produce a patch.

-- 
Marcel Moolenaar
xcllnt at mac.com






More information about the llvm-dev mailing list