[LLVMdev] virtual register does not exist

Jakob Stoklund Olesen stoklund at 2pi.dk
Tue Feb 22 16:24:47 PST 2011


On Feb 22, 2011, at 3:37 PM, drizzle drizzle wrote:

> Hi
>  is there a way to know later that an earlier pass inside the codegen
> might have eliminated a virtual register.
> I carry information abt virtual registers which i would like to update
> if any virtual register does not exist since.

You can check if any instructions are using it with MRI->reg_nodbg_empty(Reg).

/jakob





More information about the llvm-dev mailing list