[LLVMdev] LLVM:help

Samuel Crow samuraileumas at yahoo.com
Wed Jun 23 11:44:02 PDT 2010


Hello Rajwinder,

When you are using numbered registers there is no name to get.  Names are optional in LLVM.

--Sam


>
>From: RAJWINDER SINGH <rajwindersingh85 at gmail.com>
>To: llvmdev at cs.uiuc.edu
>Sent: Wed, June 23, 2010 1:19:38 PM
>Subject: [LLVMdev] LLVM:help
>
>
>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?
>
>
>>Regards,
>Rajwinder Singh


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100623/736aa4fb/attachment.html>


More information about the llvm-dev mailing list