[LLVMdev] LLVM:help
John Criswell
criswell at uiuc.edu
Wed Jun 23 11:42:33 PDT 2010
RAJWINDER SINGH wrote:
> Sir ,how can I get the variable %2 in instruction
> %2 = sub nsw i32 1, %y
> If I am using getName() function then it outputs the null string.
> How can I get the original name?
I don't believe the instruction has a name. The LLVM disassembler just
assigns a numeric name when generating the .ll file so that the output
is readable by a human.
What is it that you are trying to do that requires that name of an SSA
value?
-- John T.
>
> Regards,
> Rajwinder Singh
More information about the llvm-dev
mailing list