[llvm-dev] virtual registers

John Criswell via llvm-dev llvm-dev at lists.llvm.org
Thu Feb 18 09:45:03 PST 2016

On 2/18/16 12:03 PM, Laura personen via llvm-dev wrote:
> Hi,
> Is there any way to detect which virtual registers are assigned to 
> physical registers and which ones are assigned to memory slots?

At the LLVM IR level, no.  However, it might be possible for a 
MachineFunctionPass to determine this or to modify the register 
allocator to record this information somewhere for query by a 
MachineFunctionPass later.


John Criswell

> BR
> Laura
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

John Criswell
Assistant Professor
Department of Computer Science, University of Rochester

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160218/1fff4431/attachment.html>

More information about the llvm-dev mailing list