[LLVMdev] What does this error mean: psuedo instructions should be removed before code emission?

Dale Johannesen dalej at apple.com
Thu Aug 26 13:17:07 PDT 2010

On Aug 26, 2010, at 12:59 PMPDT, Eric Christopher wrote:
> On Aug 26, 2010, at 12:25 PM, Yuri wrote:
>> On 08/26/2010 11:53, Eric Christopher wrote:
>>> Could you get it to print out the instruction when it happens?  
>>> (just change the line above the error message to print it out to  
>>> errs()).
>>> It basically means that a pseudo wasn't lowered to something that  
>>> the jit can output before the jit was run.  Is this on ToT?
>> Insn before the error: TCRETURNri64 %RAX<kill>, 0, %RDI<kill>,  
>> %RAX<imp-def,dead>, %RDI<imp-def,dead>, %RSP<imp-use>, ...
> Odd.  I thought TCReturn was being lowered.  At any rate can you  
> file a bug with the .ll file that causes this?

It should be getting lowered in emitEpilogue.  Must be a bug somewhere.

More information about the llvm-dev mailing list