[LLVMdev] Complicated Remat Question
David Greene
dag at cray.com
Fri May 9 13:15:58 PDT 2008
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.
> 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.
-Dave
More information about the llvm-dev
mailing list