[LLVMdev] Original data type after DAG legalization

Borja Ferrer borja.ferav at gmail.com
Thu Dec 30 12:41:27 PST 2010


Hello everybody,

During the past week I've kept looking for a solution to this but i couldn't
find one, is there really a way to get this type of information or some
workaround?

Thanks.

2010/12/22 Borja Ferrer <borja.ferav at gmail.com>

> Hello,
>
> Is there a way to determine before register allocation if a virtual reg is
> mapped to the lo or hi part of a piece of a value? Basically i need to tell
> the register allocator to use a certain set of registers for the lo part and
> others for the hi part, so in order to do this i would have to know if the
> data value was expanded into smaller pieces and which piece is each one.
> Additionally, knowing if the virtual reg assigned to a certain value is not
> expanded because the value had a legal type would be great.
>
> Thanks
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101230/67635abe/attachment.html>


More information about the llvm-dev mailing list