[LLVMdev] PowerPC : Assertion `MovePCtoLROffset & & " MovePCtoLR not seen yet?" ' failed.
Dale Johannesen
dalej at apple.com
Wed Oct 27 11:47:54 PDT 2010
I'm not working on it, but I might be able to help find the problem. What this means is that you're generating code in PIC mode, and an object that requires a PIC register to reference is being addressed, and no PIC register was allocated. The allocation was supposed to happen in PPCDAGtoDAGISel::Select when the reference was processed, and a MovePCtoLR instruction inserted at that time. Somebody can probably figure it out by stepping through that.
On Oct 27, 2010, at 10:16 AMPDT, D. Johnson wrote:
> Erik de Castro Lopo <mle+cl <at> mega-nerd.com> writes:
>
>>
>> Hi all,
>>
>> I'm compiling current SVN HEAD on Linux/x86. The tests are failing
>> on PowerPC due to the following assertion failure :
>>
>> JITTests: PPCCodeEmitter.cpp:152: unsigned int<unnamed>::PPCCodeEmitter::
>> getMachineOpValue(const llvm::MachineInstr&, const llvm::MachineOperand&)
>> const: Assertion `MovePCtoLROffset && "MovePCtoLR not seen yet?"' failed.
>>
>> Is anyone working on the PowerPC backend?
>>
>> Erik
>
> I'm seeing these same errors on powerpc-yellowdog-linux-gnu.
> Causes failures on some LLVM :: ExecutionEngine and LLVM-Unit ::
> ExecutionEngine/JIT/Release+Asserts/JITTests tests.
>
>
>
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list