[llvm-dev] Removing metadata from LLVM Instruction

Duncan P. N. Exon Smith via llvm-dev
Sun, 01 Nov 2015 23:45:56 -0000

That should work.  Can you reproduce this ToT?

> On 2015-Sep-29, at 15:43, Simone Atzeni via llvm-dev <llvm-dev at
lists.llvm.org> wrote:
>
> Hi,
>
> an older thread about removing metadata says to use “setMetadata(Kind,
nullptr)” to drop the metadata from the instruction.
> I have using this method without success.
> When I look at inside the IR code the metadata are still there, any idea
why is that?
>
> Thanks.
> Best,
> Simone
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev