[LLVMdev] Complicated Remat Question

Evan Cheng evan.cheng at apple.com
Fri May 9 14:08:12 PDT 2008


On May 9, 2008, at 1:15 PM, David Greene wrote:

> On Friday 09 May 2008 14:49, Evan Cheng wrote:
>
>>> So the real problem is that one of the operands of the remat def was
>>> spilled.
>>> Perhaps if that happens we mark registers using that remat def as  
>>> not
>>> rematable?
>>
>>  We only allow instructions without any register operand and / or a
>> single pic base operand to be spilled. The later is a hack. :-) It's
>
> Do you mean "remat" instead of "spill" here?  If so, I think I know  
> what
> the problem is.

Yep remat.

>
>
>> I am not sure how you run into this problem. Can you give an example
>> using pseudo code so I can understand?
>
> The problem is on our end.  We added FsMOVLDP and mistakenly marked
> it as rematable.

That would do it.

Evan

>
>
>                                                     -Dave
> _______________________________________________
> 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