[llvm-dev] Removing metadata from LLVM Instruction

Duncan P. N. Exon Smith via llvm-dev llvm-dev at lists.llvm.org
Sun Nov 1 15:45:56 PST 2015


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



More information about the llvm-dev mailing list