[LLVMdev] Original data type after DAG legalization

Borja Ferrer borja.ferav at gmail.com
Wed Dec 22 10:22:10 PST 2010


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/20101222/10ffa4a3/attachment.html>


More information about the llvm-dev mailing list