Hi,
Thanks for notifying "opt". Found the solution.
On 6 January 2016 at 12:38, 慕冬亮 <mudongliangabcd at gmail.com> wrote:
> Hi,
> I think if you write a pass to delete instructions from LLVM IR, you
> can use "opt" to get the modified .bc/.ll file.
>
> 2016-01-06 14:57 GMT+08:00 Ansar K.A. via llvm-dev <
> llvm-dev at lists.llvm.org>:
>
>> Hi,
>>
>> I want to delete instructions from LLVM IR code through programs. Then
I
>> want to write the modified code to another .bc/.ll file. Any idea on
how to
>> do this?
>>
>> Regards,
>>
>> Ansar K.A.
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> llvm-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>>
>>
>
>
> --
> My best regards to you.
>
> No System Is Safe!
> mudongliang
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20160113/5cd5be1b/attachment.html>